PDA

View Full Version : Need Help - Strange Error


zero00
06-29-2011, 12:17 PM
I was making a new shooter game and it gave me this strange error.
Unable to load world




Alice version: 2.2 02/10/2011



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.loadCompleted (Element.java:1426)

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(Unknown Source)





I have no idea what to do about this. Please help!
("ika_v8" is the broken file. "ika_v7" is an older version.)

ElectricKirby
06-29-2011, 12:35 PM
I was making a new shooter game and it gave me this strange error.

Unable to load world




Alice version: 2.2 02/10/2011



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.loadCompleted (Element.java:1426)

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(Unknown Source)
I have no idea what to do about this. Please help!
("ika_v8" is the broken file. "ika_v7" is an older version.)

Problem located. Solution obvious.

zero00
06-29-2011, 12:44 PM
I saw that already. I just have no idea how to fix this

ElectricKirby
06-29-2011, 12:50 PM
You saved two objects with the same name. Alice didn't see it until you tried to open the world again. That means you need to go to a backup and redo what you did from there, careful not to double-name.

zero00
06-29-2011, 01:02 PM
I can't seem to find where the file is

ElectricKirby
06-29-2011, 03:05 PM
There should be a folder named "Backups of __name of world__" in the same place you saved your game.

zero00
06-29-2011, 08:25 PM
I already tried using the backups. They all have the same problem. :(
Luckily, I saved that earlier version ("ika_v7"), so I've building on that one, instead of trying make this work again. :D

However, the rebuild version suddenly got an "unknown" error (The error report actually said unknown) :confused: Luckily, it didn't destroy my file, but it did mess it up a little. This little project is becoming just too much trouble.

I'd still like to share what progress I've made with this project, though.

zero00
06-29-2011, 08:36 PM
I would like share this "project" with the people of this community though, even if it was a failure (of sorts).

Here is the "game"

Title: Tenkan (working title)
Game Type: Vertical Shooter
Goal: Shoot the core! (You can't kill it, but it can kill you)
Notes: This was unfinished, so it's a bit buggy. If you encounter any errors, its likely a result of this being unfinished.
Also, feel free to alter this "game" as much you want!

====Controls===========
Arrow Keys ----- Move
Hold Space ----- Rapid Fire
Tap Space ----- Single Shot
Use Mouse -----Turn Camera Around
=====================

====Features===========
-Core Force from my previous game Sky Warrior returns in this game!
Press Enter to make it go through its attack sequence!
-This is [would have been] my most complex game yet!
======================