09-23-2011, 07:25 PM
I have Alice 2.2 and I can not change my preferences either. I try to change it and then I restart and nothing saved. It keeps resetting everything to default
I tried putting Alice in many different folders from the desktop to C drive, to program files, etc
I tried putting the "AlicePreferences-COPY" in the Alice2 folder in my documents and settings and it did not do anything. I got the error
Alice version: 2.2 08/05/2011
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException
at javax.swing.LayoutComparator.compare(LayoutCompara tor.java:72)
at java.util.Arrays.mergeSort(Arrays.java:1270)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1281)
at java.util.Arrays.mergeSort(Arrays.java:1282)
at java.util.Arrays.mergeSort(Arrays.java:1282)
at java.util.Arrays.sort(Arrays.java:1210)
at java.util.Collections.sort(Collections.java:159)
at javax.swing.SortingFocusTraversalPolicy.enumerateA ndSortCycle(SortingFocusTraversalPolicy.java:119)
at javax.swing.SortingFocusTraversalPolicy.getFirstCo mponent(SortingFocusTraversalPolicy.java:434)
at javax.swing.LayoutFocusTraversalPolicy.getFirstCom ponent(LayoutFocusTraversalPolicy.java:148)
at javax.swing.SortingFocusTraversalPolicy.getDefault Component(SortingFocusTraversalPolicy.java:511)
at java.awt.FocusTraversalPolicy.getInitialComponent( FocusTraversalPolicy.java:152)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent (DefaultKeyboardFocusManager.java:340)
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.SequencedEvent.dispatch(SequencedEvent.ja va:101)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:641)
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)
-------------------------------------------------------------------------------------------
So I removed the -COPY from the file name so it was "AlicePreferences" and it gave me an error when i loaded Alice.
Alice version: 2.2 08/05/2011
java.lang.IndexOutOfBoundsException: Invalid index
at javax.swing.DefaultRowSorter.convertRowIndexToMode l(DefaultRowSorter.java:497)
at sun.swing.FilePane$SortableListModel.getElementAt( FilePane.java:528)
at javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(BasicListUI.java:1343)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(BasicListUI.java:1294)
at javax.swing.plaf.basic.BasicListUI.getCellBounds(B asicListUI.java:935)
at javax.swing.JList.getCellBounds(JList.java:1600)
at javax.swing.JList.ensureIndexIsVisible(JList.java: 1116)
at sun.swing.FilePane.ensureIndexIsVisible(FilePane.j ava:1543)
at sun.swing.FilePane.doDirectoryChanged(FilePane.jav a:1466)
at sun.swing.FilePane.propertyChange(FilePane.java:15 16)
at java.beans.PropertyChangeSupport.firePropertyChang e(PropertyChangeSupport.java:339)
at java.beans.PropertyChangeSupport.firePropertyChang e(PropertyChangeSupport.java:276)
at java.awt.Component.firePropertyChange(Component.ja va:8154)
at javax.swing.JFileChooser.setCurrentDirectory(JFile Chooser.java:568)
at edu.cmu.cs.stage3.alice.authoringtool.dialog.SaveF orWebContentPane.guiInit(SaveForWebContentPane.jav a:239)
at edu.cmu.cs.stage3.alice.authoringtool.dialog.SaveF orWebContentPane.<init>(SaveForWebContentPane.java :45)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:645)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.<init>(AuthoringTool.java:405)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main( JAlice.java:141)
I need to use Alice in Java mode for Computer Sci 120
everything in class is explained in Java and to work on the assignments in Alice format is confusing because a lot of the stuff is worded differently in Alice mode.
Please Help
Last edited by Armaggeddon; 09-23-2011 at 07:28 PM.
|