PDA

View Full Version : Storytelling Alice Java Error on 7 of 14 machines


MissMary
07-19-2011, 05:01 PM
This inquiry related to Storytelling ALICE, which our local area schools just love to use.

The following JAVA error is appearing on more of our XP SP3 machines as time goes by. We are trying to run Storytelling ALICE for an educator workshop but are down to only 7 of 14 machines. All machines should have same OS / patch level / Java version. Permissions for our (student) guest accounts *should* be the same.

Is this error related to permissions (perhaps some student accounts are not able to write to the C:\Program Files\StorytellingALICE\Required dir?); or, is it something else?

Any suggestions for a fix?

************************************************** *****
Alice version: Storytelling Alice 10/01/2007 os.name: Windows XP os.version: 5.1 os.arch: x86
java.vm.name: Java HotSpot(TM) Client VM
java.vm.version: 1.5.0_05-b05
user.dir: C:\Program Files\StorytellingALICE\Required
java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 7
at java.util.Vector.get(Unknown Source)
at javax.swing.plaf.basic.BasicDirectoryModel.getElem entAt(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.SaveF orWebContentPane.guiInit(SaveForWebContentPane.jav a:222)
at edu.cmu.cs.stage3.alice.authoringtool.dialog.SaveF orWebContentPane.<init>(SaveForWebContentPane.java:42)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.dialogInit(AuthoringTool.java:605)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.<init>(AuthoringTool.java:385)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main( JAlice.java:132)

legolizard
07-19-2011, 06:09 PM
I am not sure about Storytelling Alice, but your version seems kind of "old" compared to the latest version of Alice 2.2. See if you are using the most "up to date" Storytelling Alice, and if not try updating.:)

arty-fishL
07-20-2011, 02:23 PM
My best advice would be to try running Alice from a folder on the local directory ( C:\Documents and Settings\<username> ), not the system one ( C:\Program Files\ ).

zonedabone
07-21-2011, 11:57 PM
Delete the folder in C:/Doocuments and Settings/.alice2 or something like that, and replace all alice files in program files. You may have an invalid config.

gitter
10-04-2011, 12:11 AM
Few of my friends too had the same issue of showing JAVA error while running Storytelling Alice. He searched all over the internet and this forum and got the solution. It was because of two reasons. One is that he was using an older version of Alice. Second was that he was having an invalid configuration. The first has been cleared by installing Alice 2.2 and the later is cleared by deleting folder in C:\Documents and Settings\<username> and replacing all Alice files in program files. Does alice have microsoft crm (http://www.sonomapartners.com/) based support. Then the issue is get fixed and it is now running without any JAVA error.