PDA

View Full Version : alice 2.2 dies on startup


acesover
09-30-2010, 11:50 PM
My daughter started using Alice yesterday and created some worlds, but today the application dies on startup with a java error on SHLWAPI.dll+0x206ee. I tried a Java update to version (J2SE Runtime 5.0 Update 17 and Java 6 Update 21), but the same results

I tried running IfAliceFailsTryThis.exe, but it also errors, and the cmd window disappears to quickly to see what it says. Does anyone have any suggestions? Thanks.

Dan

Djur
10-01-2010, 09:56 AM
Hit Print Screen when the cmd window comes up. Then open MS Paint (or any other picture editing program) and hit Ctrl+V to paste the screenshot with the cmd window. you'll be able to read it and then you can get better help once you know what the cmd window reads.

milli
10-22-2010, 09:48 PM
My neice has windows 7 and gets the following error on startup:

Alice version: 2.2 09/10/2010



java.lang.IndexOutOfBoundsException: Invalid index

at javax.swing.DefaultRowSorter.convertRowIndexToMode l(Unknown Source)

at sun.swing.FilePane$SortableListModel.getElementAt( Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.getCellBounds(U nknown Source)

at javax.swing.JList.getCellBounds(Unknown Source)

at javax.swing.JList.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.doDirectoryChanged(Unknown Source)

at sun.swing.FilePane.propertyChange(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.awt.Component.firePropertyChange(Unknown Source)

at javax.swing.JFileChooser.setCurrentDirectory(Unkno wn Source)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Expor tCodeForPrintingContentPane.<init>(ExportCodeForPrintingContentPane.java:155)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:643)

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)

Any help would be appreciated

nsteblay
11-07-2010, 11:17 AM
Windows 7 Home Premium 64-bit

Java 6 Update 22

Alice version: 2.2 09/10/2010



java.lang.IndexOutOfBoundsException: Invalid index

at javax.swing.DefaultRowSorter.convertRowIndexToMode l(Unknown Source)

at sun.swing.FilePane$SortableListModel.getElementAt( Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.getCellBounds(U nknown Source)

at javax.swing.JList.getCellBounds(Unknown Source)

at javax.swing.JList.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.doDirectoryChanged(Unknown Source)

at sun.swing.FilePane.propertyChange(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.awt.Component.firePropertyChange(Unknown Source)

at javax.swing.JFileChooser.setCurrentDirectory(Unkno wn Source)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Expor tCodeForPrintingContentPane.<init>(ExportCodeForPrintingContentPane.java:155)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:643)

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)

nsteblay
11-07-2010, 12:13 PM
I reinstalled Java from the Oracle Java site. This fixed the problem for one execution.

http://www.java.com/en/download/ie_manual.jsp?locale=en&host=www.java.com

Now I am getting the same error again.

Alice version: 2.2 09/10/2010



java.lang.IndexOutOfBoundsException: Invalid index

at javax.swing.DefaultRowSorter.convertRowIndexToMode l(Unknown Source)

at sun.swing.FilePane$SortableListModel.getElementAt( Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.getCellBounds(U nknown Source)

at javax.swing.JList.getCellBounds(Unknown Source)

at javax.swing.JList.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.doDirectoryChanged(Unknown Source)

at sun.swing.FilePane.propertyChange(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.awt.Component.firePropertyChange(Unknown Source)

at javax.swing.JFileChooser.setCurrentDirectory(Unkno wn Source)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Expor tCodeForPrintingContentPane.<init>(ExportCodeForPrintingContentPane.java:155)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:643)

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)

karel1
12-30-2010, 09:01 AM
As as linux user, I met the same IndexOutOfBoundsException error on Alice 2.0,
with exactly the same stack error on different java 1.5/1.6 versions and different Linux-es (Mandriva, Ubuntu).

Correction was very simple:
Total count of files in user's home hirectory must be less then 100, so you have to delete/move some files there. For this critical total folder names in home directory are counted too (but happily not with files in them)!
When files total is greater, Alice can work some time until it "detects" the limit 100, e.g. after some updates.
Because I don't know, what your home directory name in the Windows 7 is, I suggest you to create new user. You can hapilly start Alice by new user logged in (his/her "home" will be surely not large). As you will see Alice running OK, you can reduce old user homedir afterwards.

carolinason
02-02-2011, 04:58 PM
confirmed.

Windows 7 64 Bit
Java Version 6 Update 23 (build 1.6.0_23-b05)

did the create a new user and alice worked once. :mad:
tried deleting .alice2.2 directory didn't work :mad:
tried uninstalling and then reinstalling JRE and JDK and Alice didn't work :mad:
tried IfAliceFailsTryThis.exe didn't work :mad:
tried running in windows x:p sp 3 compatibility mode :mad:

Alice version: 2.2 09/10/2010 java.lang.IndexOutOfBoundsException: Invalid index at
javax.swing.DefaultRowSorter.convertRowIndexToMode l(Unknown Source) at
sun.swing.FilePane$SortableListModel.getElementAt( Unknown Source) at
javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(Unknown Source) at
javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(Unknown Source) at
javax.swing.plaf.basic.BasicListUI.getCellBounds(U nknown Source) at
javax.swing.JList.getCellBounds(Unknown Source) at
javax.swing.JList.ensureIndexIsVisible(Unknown Source) at
sun.swing.FilePane.ensureIndexIsVisible(Unknown Source) at
sun.swing.FilePane.doDirectoryChanged(Unknown Source) at
sun.swing.FilePane.propertyChange(Unknown Source) at
java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source) at
java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source) at
java.awt.Component.firePropertyChange(Unknown Source) at
javax.swing.JFileChooser.setCurrentDirectory(Unkno wn Source) at
edu.cmu.cs.stage3.alice.authoringtool.dialog.Expor tCodeForPrintingContentPane.<init>(ExportCodeForPrintingContentPane.java:155) at
edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:643) 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)

twistedemotions
02-06-2011, 05:22 AM
Same thing. Intermittently doesn't load.

Windows 7 Ultimate x64
Java 6 Update 23


Alice version: 2.2 09/10/2010



java.lang.IndexOutOfBoundsException: Invalid index

at javax.swing.DefaultRowSorter.convertRowIndexToMode l(Unknown Source)

at sun.swing.FilePane$SortableListModel.getElementAt( Unknown Source)

at javax.swing.plaf.basic.BasicListUI.updateLayoutSta te(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayo utState(Unknown Source)

at javax.swing.plaf.basic.BasicListUI.getCellBounds(U nknown Source)

at javax.swing.JList.getCellBounds(Unknown Source)

at javax.swing.JList.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.ensureIndexIsVisible(Unknown Source)

at sun.swing.FilePane.doDirectoryChanged(Unknown Source)

at sun.swing.FilePane.propertyChange(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.beans.PropertyChangeSupport.firePropertyChang e(Unknown Source)

at java.awt.Component.firePropertyChange(Unknown Source)

at javax.swing.JFileChooser.setCurrentDirectory(Unkno wn Source)

at edu.cmu.cs.stage3.alice.authoringtool.dialog.Expor tCodeForPrintingContentPane.<init>(ExportCodeForPrintingContentPane.java:155)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:643)

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)