Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Bugs and Troubleshooting (http://www.alice.org/community/forumdisplay.php?f=18)
-   -   Importing error (http://www.alice.org/community/showthread.php?t=6195)

room14 03-26-2011 08:41 PM

Importing error
 
hey guys, I was converting some object but when I imported it, It gave me an error.


Alice version: 2.2 8/1/2009

Exception in thread "AWT-EventQueue-0" edu.cmu.cs.stage3.alice.core.IllegalNameValueException: We're sorry, but names in Alice may not be empty.
at edu.cmu.cs.stage3.alice.core.Element.checkForInvalidName(Element.java:184)
at edu.cmu.cs.stage3.alice.core.Element.nameValueChanging(Element.java:232)
at edu.cmu.cs.stage3.alice.core.Element.propertyChanging(Element.java:247)
at edu.cmu.cs.stage3.alice.core.Transformable.propertyChanging(Transformable.java:191)
at edu.cmu.cs.stage3.alice.core.Model.propertyChanging(Model.java:187)
at edu.cmu.cs.stage3.alice.core.Element.propertyChanging(Element.java:259)
at edu.cmu.cs.stage3.alice.core.Property.onChanging(Property.java:409)
at edu.cmu.cs.stage3.alice.core.Property.onSet(Property.java:435)
at edu.cmu.cs.stage3.alice.core.Property.set(Property.java:454)
at edu.cmu.cs.stage3.alice.authoringtool.importers.ASEImporter.parseGeomObject(ASEImporter.java:787)
at edu.cmu.cs.stage3.alice.authoringtool.importers.ASEImporter.load(ASEImporter.java:112)
at edu.cmu.cs.stage3.alice.authoringtool.AbstractImporter.load(AbstractImporter.java:58)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2329)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2273)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2269)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2265)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2261)
at edu.cmu.cs.stage3.alice.authoringtool.Actions$8.actionPerformed(Actions.java:127)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" edu.cmu.cs.stage3.alice.core.IllegalNameValueException: We're sorry, but names in Alice may not be empty.
at edu.cmu.cs.stage3.alice.core.Element.checkForInvalidName(Element.java:184)
at edu.cmu.cs.stage3.alice.core.Element.nameValueChanging(Element.java:232)
at edu.cmu.cs.stage3.alice.core.Element.propertyChanging(Element.java:247)
at edu.cmu.cs.stage3.alice.core.Transformable.propertyChanging(Transformable.java:191)
at edu.cmu.cs.stage3.alice.core.Model.propertyChanging(Model.java:187)
at edu.cmu.cs.stage3.alice.core.Element.propertyChanging(Element.java:259)
at edu.cmu.cs.stage3.alice.core.Property.onChanging(Property.java:409)
at edu.cmu.cs.stage3.alice.core.Property.onSet(Property.java:435)
at edu.cmu.cs.stage3.alice.core.Property.set(Property.java:454)
at edu.cmu.cs.stage3.alice.authoringtool.importers.ASEImporter.parseGeomObject(ASEImporter.java:787)
at edu.cmu.cs.stage3.alice.authoringtool.importers.ASEImporter.load(ASEImporter.java:112)
at edu.cmu.cs.stage3.alice.authoringtool.AbstractImporter.load(AbstractImporter.java:58)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2329)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2273)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2269)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2265)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.importElement(AuthoringTool.java:2261)
at edu.cmu.cs.stage3.alice.authoringtool.Actions$8.actionPerformed(Actions.java:127)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

please help me.

aikmin 03-29-2011 05:13 AM

How are you converting your objects?? Looks like you have an object (or part of an object) without a name; but that should not be possible since you cannot create one in the first place. Did you get an error in an earlier file and you are trying to save your work by copying and pasting stuff over to a new file.

There is an alternate to saving your object, but requires lots of work.


All times are GMT -5. The time now is 03:38 PM.

Copyright ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.