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)