Alice Community

Alice Community (http://www.alice.org/community/index.php)
-   Bugs and Troubleshooting (http://www.alice.org/community/forumdisplay.php?f=18)
-   -   Alice Coursework Assignment Bug - In for Tomorrow - , something else named Index (http://www.alice.org/community/showthread.php?t=7605)

joeyv134 11-16-2011 07:03 PM

Alice Coursework Assignment Bug - In for Tomorrow - , something else named Index
 
1 Attachment(s)
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.IllegalNameValueException: 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.checkForNameCollision(Element.java:218)
at edu.cmu.cs.stage3.alice.core.Element.internalSetParent(Element.java:677)
at edu.cmu.cs.stage3.alice.core.Element.insertChildAt(Element.java:1047)
at edu.cmu.cs.stage3.alice.core.Element.addChild(Element.java:1055)
at edu.cmu.cs.stage3.alice.core.Element.setParent(Element.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.LoadElementProgressPane.construct(LoadElementProgressPane.java:37)
at edu.cmu.cs.stage3.progress.ProgressPane$2.run(ProgressPane.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

Mr Kidnapper 11-17-2011 12:29 AM

1 Attachment(s)
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.

danu 07-15-2012 12:30 PM

Index bug
 
1 Attachment(s)
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.IllegalNameValueException: 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.checkForNameCollision(Element.java:221)

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

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

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

at edu.cmu.cs.stage3.alice.core.Element.setParent(Element.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.LoadElementProgressPane.construct(LoadElementProgressPane.java:36)

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

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


Thanks in advance!!


All times are GMT -5. The time now is 01:13 AM.

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