PDA

View Full Version : Unable to store world to file


Abanoub
11-06-2012, 05:21 PM
I keep getting this error when I try to save my project , I have to turn in this project tomorrow.

Unable to store world to file: C:\Users\Asus\Desktop\Wonderland Maze.a2w
Alice version: 2.3.1

os.name: Windows NT (unknown)

os.version: 6.2

os.arch: x86

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

java.vm.version: 20.0-b11

user.dir: C:\Users\Asus\Desktop\Alice 2.3\Required



Throwable that caused the error:

java.lang.NullPointerException

at edu.cmu.cs.stage3.alice.scenegraph.Color.valueOf(C olor.java:183)

at edu.cmu.cs.stage3.alice.authoringtool.JAliceFrame. HACK_standDownFromRedAlert(JAliceFrame.java:135)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.saveWorldToFile(AuthoringTool.java:1848)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.saveWorld(AuthoringTool.java:1389)

at edu.cmu.cs.stage3.alice.authoringtool.Actions$4.ac tionPerformed(Actions.java:106)

at javax.swing.JComponent$ActionStandin.actionPerform ed(JComponent.java:3368)

at javax.swing.SwingUtilities.notifyAction(SwingUtili ties.java:1639)

at javax.swing.JComponent.processKeyBinding(JComponen t.java:2851)

at javax.swing.KeyboardManager.fireBinding(KeyboardMa nager.java:267)

at javax.swing.KeyboardManager.fireKeyboardAction(Key boardManager.java:229)

at javax.swing.JComponent.processKeyBindingsForAllCom ponents(JComponent.java:2928)

at javax.swing.JComponent.processKeyBindings(JCompone nt.java:2920)

at javax.swing.JComponent.processKeyEvent(JComponent. java:2814)

at java.awt.Component.processEvent(Component.java:606 5)

at java.awt.Container.processEvent(Container.java:204 1)

at java.awt.Component.dispatchEventImpl(Component.jav a:4651)

at java.awt.Container.dispatchEventImpl(Container.jav a:2099)

at java.awt.Component.dispatchEvent(Component.java:44 81)

at java.awt.KeyboardFocusManager.redispatchEvent(Keyb oardFocusManager.java:1850)

at java.awt.DefaultKeyboardFocusManager.dispatchKeyEv ent(DefaultKeyboardFocusManager.java:712)

at java.awt.DefaultKeyboardFocusManager.preDispatchKe yEvent(DefaultKeyboardFocusManager.java:990)

at java.awt.DefaultKeyboardFocusManager.typeAheadAsse rtions(DefaultKeyboardFocusManager.java:855)

at java.awt.DefaultKeyboardFocusManager.dispatchEvent (DefaultKeyboardFocusManager.java:676)

at java.awt.Component.dispatchEventImpl(Component.jav a:4523)

at java.awt.Container.dispatchEventImpl(Container.jav a:2099)

at java.awt.Window.dispatchEventImpl(Window.java:2478 )

at java.awt.Component.dispatchEvent(Component.java:44 81)

at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:643)

at java.awt.EventQueue.access$000(EventQueue.java:84)

at java.awt.EventQueue$1.run(EventQueue.java:602)

at java.awt.EventQueue$1.run(EventQueue.java:600)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:98)

at java.awt.EventQueue$2.run(EventQueue.java:616)

at java.awt.EventQueue$2.run(EventQueue.java:614)

at java.security.AccessController.doPrivileged(Native Method)

at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:87)

at java.awt.EventQueue.dispatchEvent(EventQueue.java: 613)

at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:269)

at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:184)

at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:174)

at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:169)

at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:161)

at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:122)

Abanoub
11-06-2012, 07:10 PM
Can someone see if this works when they open it?

4o66
03-10-2013, 10:31 PM
I was able to fix this by first making sure "Read-only" was turned off on the install path, and then making sure the NTFS permissions for the install folder (and children) was set to all users: Full Access.