Bug 1109 : Processing doesn't start due to color scheme choice
Last modified: 2009-02-19 18:36




Status:
RESOLVED
Resolution:
FIXED -
Priority:
P2
Severity:
normal

 

Reporter:
bryce
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-12-24 08:32
PROCESSING 1.0.1 (REV 0163) - 29 November 2008

Windows XP service pack 3.

When my Color scheme is set to "High Contrast #2", I see the splash screen,
and then nothing. When I run:

C:\lib\java\processing-1.0.1>java\bin\java.exe -verbose -Xms128m
-Xmx128mclasspath
"lib;C:\lib\java\processing-1.0.1\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\antlr.jar"
processing.app.Base

I get the following:

Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
String index out of range: -1
at java.lang.String.substring(Unknown Source)
at java.lang.String.substring(Unknown Source)
at processing.app.Preferences.setColor(Preferences.java:848)
at processing.app.Preferences.init(Preferences.java:181)
at processing.app.Base.main(Base.java:160)

When I flipped my Color scheme back to Windows Standard, the pde launched
normally.
Additional Comment #1 From fry 2009-02-19 18:36
Wow, thanks for finding that. That may have actually been the root of a
wide range of other startup quirks on Windows, but it was never tracked
down to the coloring problems.
Additional Comment #2 From fry 2009-02-19 18:36
Fixed for 1.0.2.