Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Importing error
Old
room14
Senior Member
 
room14's Avatar
 
Status: Offline
Posts: 549
Join Date: Nov 2009
Location: Auckland New Zealand
Default Importing error - 03-26-2011, 09: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.


:D
   
Reply With Quote
Old
aikmin
Senior Member
 
aikmin's Avatar
 
Status: Offline
Posts: 85
Join Date: Mar 2008
Default 03-29-2011, 06: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.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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