Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Alice Coursework Assignment Bug - In for Tomorrow - , something else named Index
Old
joeyv134
Junior Member
 
Status: Offline
Posts: 1
Join Date: Nov 2011
Default Alice Coursework Assignment Bug - In for Tomorrow - , something else named Index - 11-16-2011, 06:03 PM

I have some coursework to submit tomorrow using Alice, it was working fine until today when it refused to open and kept giving me this error message:

Throwable that caused the error:
edu.cmu.cs.stage3.alice.core.IllegalNameValueExcep tion: Unfortunately, something else in this world is already named "index," so you can't use that name here.
at edu.cmu.cs.stage3.alice.core.Element.checkForNameC ollision(Element.java:218)
at edu.cmu.cs.stage3.alice.core.Element.internalSetPa rent(Element.java:677)
at edu.cmu.cs.stage3.alice.core.Element.insertChildAt (Element.java:1047)
at edu.cmu.cs.stage3.alice.core.Element.addChild(Elem ent.java:1055)
at edu.cmu.cs.stage3.alice.core.Element.setParent(Ele ment.java:638)
at edu.cmu.cs.stage3.alice.core.response.LoopNInOrder .loadCompleted(LoopNInOrder.java:59)
at edu.cmu.cs.stage3.alice.core.Element.loadCompleted (Element.java:1426)
at edu.cmu.cs.stage3.alice.core.Element.loadCompleted (Element.java:1426)
at edu.cmu.cs.stage3.alice.core.Element.load(Element. java:1551)
at edu.cmu.cs.stage3.alice.authoringtool.dialog.LoadE lementProgressPane.construct(LoadElementProgressPa ne.java:37)
at edu.cmu.cs.stage3.progress.ProgressPane$2.run(Prog ressPane.java:84)
at java.lang.Thread.run(Thread.java:662)



All the backups for the file created by Alice for the file also come up with the same error message and my own backups appear not to work as well. I searched online and could not find a solution and was wondering if there is one to my problem at all or whether I have to start from scratch? This would be extremely bad as the assignment was nearly completed when it was corrupted and as you know there is only two days left to submit the file and I also have other assignments due for other classes.

So what can I do about this? Is this solvable or shall I just start again from scratch - I've attached the file if anybody has any interest.

Thanks you for your time
Attached Files
File Type: a2w AliceGymCourseworkOrginal.a2w (7.14 MB, 3 views)
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 11-16-2011, 11:29 PM

I removed a method with parameters called "PressUps", which was causing an error. When a popup tells you to "Set all values to none", go ahead and press Yes. It won't do any harm. It's simply setting dropdown boxes to their default values.
Go ahead and do that PressUps method over.
Attached Files
File Type: a2w AliceGymCourseworkOrginal.a2w (5.46 MB, 1 views)
   
Reply With Quote
Index bug
Old
danu
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jun 2012
Exclamation Index bug - 07-15-2012, 11:30 AM

Hi everyone

Could you please help me with this bug. I cant seem to do anything from this point onwards. This is my assignment and im so depressed as this is my only saved file..!


This is the original error message..!


Unable to load world




Alice version: 2.0 04/05/2005

os.name: Windows NT (unknown)

os.version: 6.1

os.arch: x86

java.vm.name: Java HotSpot(TM) Client VM

java.vm.version: 1.3.1_10-b03

user.dir: C:\Users\Danu\Downloads\Alice\Alice\Required



Throwable that caused the error:

edu.cmu.cs.stage3.alice.core.IllegalNameValueExcep tion: Unfortunately, something else in this world is already named "index," so you can't use that name here.

at edu.cmu.cs.stage3.alice.core.Element.checkForNameC ollision(Element.java:221)

at edu.cmu.cs.stage3.alice.core.Element.internalSetPa rent(Element.java:683)

at edu.cmu.cs.stage3.alice.core.Element.insertChildAt (Element.java:1053)

at edu.cmu.cs.stage3.alice.core.Element.addChild(Elem ent.java:1061)

at edu.cmu.cs.stage3.alice.core.Element.setParent(Ele ment.java:644)

at edu.cmu.cs.stage3.alice.core.response.LoopNInOrder .loadCompleted(LoopNInOrder.java:57)

at edu.cmu.cs.stage3.alice.core.Element.loadCompleted (Element.java:1432)

at edu.cmu.cs.stage3.alice.core.Element.loadCompleted (Element.java:1432)

at edu.cmu.cs.stage3.alice.core.Element.loadCompleted (Element.java:1432)

at edu.cmu.cs.stage3.alice.core.Element.load(Element. java:1557)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.LoadE lementProgressPane.construct(LoadElementProgressPa ne.java:36)

at edu.cmu.cs.stage3.progress.ProgressPane$2.run(Prog ressPane.java:82)

at java.lang.Thread.run(Unknown Source)


Thanks in advance!!
Attached Files
File Type: a2w FPS game 2.a2w (6.85 MB, 1 views)
   
Reply With Quote
Reply


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 ©2024, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.