Alice Community  

Go Back   Alice Community > Alice 2 > Bugs and Troubleshooting

Reply
 
Thread Tools Display Modes
Alice 2.2 won't run on my Win 7 home premium laptop
Old
madmerlin
Guest
 
Status:
Posts: n/a
Default Alice 2.2 won't run on my Win 7 home premium laptop - 06-26-2010, 09:20 PM

I installed Alice 2.2 on my laptop and I can not get it to run. I get the following error message:

Alice version: 2.2 05/01/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:642)

at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.<init>(AuthoringTool.java:404)

at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main( JAlice.java:141)

Can anyone help?
   
Reply With Quote
I get same error on windows 7 9/10/2010 alice 2.2
Old
glennire
Guest
 
Status:
Posts: n/a
Default I get same error on windows 7 9/10/2010 alice 2.2 - 09-27-2010, 03:08 PM

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
Same problem on one machine, OK on another
Old
NCARalph
Guest
 
Status:
Posts: n/a
Default Same problem on one machine, OK on another - 10-06-2010, 06:42 PM

With 2.2 I'm getting the same Java error on one Windows 7 64 machine, but on another there's not a problem, it runs fine.

Most of the software is the same on both machines, in particular they have the same Windows and Java versions installed (although presumably Alice uses the one in the Required/jre directory. The one that works didn't require any changes at all to the downloaded Alice version.

I also tried Alice 2.0 and 3Beta on the machine that failed with Alice 2.2 and both seem to work fine with no changes to the download, so there's something different about 2.2.

Differences I know of:

Works: Notebook i5 CPU, ATI graphics card, 4 GB RAM, dual monitors
Doesn't: Desktop i7 CPU, NVidia, 12 GB RAM, single monitor.

This is with the 9/10/2010 Alice 2.2 version. The SlowAndSteady version crashes the same way.

In addition to copying the entire Alice 2.2 directory from the machine that works to the one that didn't, I tried all the FAQ suggestions, replacing the tutorials, replacing java, changing compatibility to XP and running the IfAliceFailsTryThis version which displayed this before crashing the same way:

Code:
Registered succesfully
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\resources.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\rt.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\jsse.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\jce.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\charsets.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\ext\dnsns.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\ext\localedata.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\ext\sunjce_provider.
jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\ext\sunmscapi.jar'
*sys-package-mgr*: processing modified jar, 'G:\Downloads\Alice\Alice2.2\Alice 2.2\Required\jre\lib\ext\sunpkcs11.jar'

The crash message was:

Code:
Alice version: 2.2  09/10/2010



java.lang.IndexOutOfBoundsException: Invalid index

    at javax.swing.DefaultRowSorter.convertRowIndexToModel(Unknown Source)

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

    at javax.swing.plaf.basic.BasicListUI.updateLayoutState(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.getCellBounds(Unknown 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.firePropertyChange(Unknown Source)

    at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)

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

    at javax.swing.JFileChooser.setCurrentDirectory(Unknown Source)

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

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

    at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.<init>(AuthoringTool.java:405)

    at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main(JAlice.java:141)
   
Reply With Quote
Not running on Windows 7
Old
Pursue421
Guest
 
Status:
Posts: n/a
Default Not running on Windows 7 - 11-23-2010, 11:32 AM

I get the following error on my Windows 7 PC as well. Does anyone know a work around?

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
Compatibility Mode?
Old
MrMoke
Senior Member
 
MrMoke's Avatar
 
Status: Offline
Posts: 501
Join Date: Sep 2007
Location: Austin, Texas
Default Compatibility Mode? - 12-01-2010, 05:29 PM

Have you tried to set compatibility mode for the executable to Windows XP SP3?
It works for me on my home machine.
   
Reply With Quote
Old
zonedabone
Senior Member
 
zonedabone's Avatar
 
Status: Offline
Posts: 577
Join Date: Nov 2008
Location: In the interwebs
Default 12-01-2010, 10:27 PM

The alice tracebacks are rather misleading. If 2.0 works for you, you should be able to use that without any MAJOR compatibility problems with 2.2.


'Apple Macintosh' - An anagram of 'Complaints Heap'

M.A.C.I.N.T.O.S.H. - Machine Always Crashes, If Not, The Operating System Hangs.

You're *such* a mac person.
   
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 ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.