PDA

View Full Version : Importing error


room14
03-26-2011, 08:41 PM
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.IllegalNameValueExcep tion: We're sorry, but names in Alice may not be empty.
at edu.cmu.cs.stage3.alice.core.Element.checkForInval idName(Element.java:184)
at edu.cmu.cs.stage3.alice.core.Element.nameValueChan ging(Element.java:232)
at edu.cmu.cs.stage3.alice.core.Element.propertyChang ing(Element.java:247)
at edu.cmu.cs.stage3.alice.core.Transformable.propert yChanging(Transformable.java:191)
at edu.cmu.cs.stage3.alice.core.Model.propertyChangin g(Model.java:187)
at edu.cmu.cs.stage3.alice.core.Element.propertyChang ing(Element.java:259)
at edu.cmu.cs.stage3.alice.core.Property.onChanging(P roperty.java:409)
at edu.cmu.cs.stage3.alice.core.Property.onSet(Proper ty.java:435)
at edu.cmu.cs.stage3.alice.core.Property.set(Property .java:454)
at edu.cmu.cs.stage3.alice.authoringtool.importers.AS EImporter.parseGeomObject(ASEImporter.java:787)
at edu.cmu.cs.stage3.alice.authoringtool.importers.AS EImporter.load(ASEImporter.java:112)
at edu.cmu.cs.stage3.alice.authoringtool.AbstractImpo rter.load(AbstractImporter.java:58)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2329)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2273)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2269)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2265)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2261)
at edu.cmu.cs.stage3.alice.authoringtool.Actions$8.ac tionPerformed(Actions.java:127)
at javax.swing.AbstractButton.fireActionPerformed(Unk nown 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(Unk nown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mou seReleased(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(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn 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.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(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.IllegalNameValueExcep tion: We're sorry, but names in Alice may not be empty.
at edu.cmu.cs.stage3.alice.core.Element.checkForInval idName(Element.java:184)
at edu.cmu.cs.stage3.alice.core.Element.nameValueChan ging(Element.java:232)
at edu.cmu.cs.stage3.alice.core.Element.propertyChang ing(Element.java:247)
at edu.cmu.cs.stage3.alice.core.Transformable.propert yChanging(Transformable.java:191)
at edu.cmu.cs.stage3.alice.core.Model.propertyChangin g(Model.java:187)
at edu.cmu.cs.stage3.alice.core.Element.propertyChang ing(Element.java:259)
at edu.cmu.cs.stage3.alice.core.Property.onChanging(P roperty.java:409)
at edu.cmu.cs.stage3.alice.core.Property.onSet(Proper ty.java:435)
at edu.cmu.cs.stage3.alice.core.Property.set(Property .java:454)
at edu.cmu.cs.stage3.alice.authoringtool.importers.AS EImporter.parseGeomObject(ASEImporter.java:787)
at edu.cmu.cs.stage3.alice.authoringtool.importers.AS EImporter.load(ASEImporter.java:112)
at edu.cmu.cs.stage3.alice.authoringtool.AbstractImpo rter.load(AbstractImporter.java:58)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2329)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2273)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2269)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2265)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.importElement(AuthoringTool.java:2261)
at edu.cmu.cs.stage3.alice.authoringtool.Actions$8.ac tionPerformed(Actions.java:127)
at javax.swing.AbstractButton.fireActionPerformed(Unk nown 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(Unk nown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mou seReleased(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(U nknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unkno wn 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.pumpOneEventForHierar chy(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(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.