Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
alice 2.2 dies on startup
Old
acesover
Guest
 
Status:
Posts: n/a
Default alice 2.2 dies on startup - 09-30-2010, 10: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
   
Reply With Quote
Old
Djur
Guest
 
Status:
Posts: n/a
Default 10-01-2010, 08: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.
   
Reply With Quote
Alice 2.2 errors (downloaded it today)
Old
milli
Guest
 
Status:
Posts: n/a
Unhappy Alice 2.2 errors (downloaded it today) - 10-22-2010, 08: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>(ExportCodeForPr intingContentPane.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
   
Reply With Quote
Having similar issue
Old
nsteblay
Guest
 
Status:
Posts: n/a
Default Having similar issue - 11-07-2010, 10: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>(ExportCodeForPr intingContentPane.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)
   
Reply With Quote
Maybe a fix
Old
nsteblay
Guest
 
Status:
Posts: n/a
Default Maybe a fix - 11-07-2010, 11:13 AM

I reinstalled Java from the Oracle Java site. This fixed the problem for one execution.

http://www.java.com/en/download/ie_m...t=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>(ExportCodeForPr intingContentPane.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)

Last edited by nsteblay; 11-07-2010 at 11:26 AM.
   
Reply With Quote
too much files in home directory
Old
karel1
Guest
 
Status:
Posts: n/a
Default too much files in home directory - 12-30-2010, 08: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.

Last edited by karel1; 12-30-2010 at 08:05 AM.
   
Reply With Quote
Old
carolinason
Guest
 
Status:
Posts: n/a
Default 02-02-2011, 03: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.
tried deleting .alice2.2 directory didn't work
tried uninstalling and then reinstalling JRE and JDK and Alice didn't work
tried IfAliceFailsTryThis.exe didn't work
tried running in windows x sp 3 compatibility mode

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>(ExportCodeForPr intingContentPane.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)

Last edited by carolinason; 02-02-2011 at 04:07 PM.
   
Reply With Quote
Concur
Old
twistedemotions
Guest
 
Status:
Posts: n/a
Default Concur - 02-06-2011, 04: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>(ExportCodeForPr intingContentPane.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)
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



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