snotlingorc / wfrp-chargen

Automatically exported from code.google.com/p/wfrp-chargen
0 stars 0 forks source link

Failed to start up on Linux #14

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
Program should start, but instead I get:
java-sun -jar wfrp-chargen.jar 
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException:
setSelectedIndex: 0 out of bounds
 at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:601)
 at wfrpv2.gui.frontend.<init>(Unknown Source)
 at wfrpv2.gui.frontend$1.run(Unknown Source)
 at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
 at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
 at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269
)
 at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
 at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174
)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
 at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
 at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

What version of the product are you using? On what operating system?
ubuntu 9.04 x86

Please provide any additional information below.
I debugged the Code and found out that 'dataFiles' is sometimes named
'datafiles' within the code. This is no Problem under Windows but it is one
running it on Linux.

ln -s dataFiles datafiles fixed the problem for me

Original issue reported on code.google.com by andre.ru...@gmail.com on 19 Aug 2009 at 6:06

GoogleCodeExporter commented 9 years ago
Found 3 places where the caps on dataFiles was not setup.  Sorry about that and 
thank
you for finding it.

Code has been changed.  I just downloaded virtual box and installed ubuntu.  
I'll
test out the code on that.

Original comment by snotl...@gmail.com on 5 Sep 2009 at 8:51

GoogleCodeExporter commented 9 years ago
It seems to work after testing the changes.

Original comment by snotl...@gmail.com on 7 Sep 2009 at 1:23