breaker27 / smarthomatic

smarthomatic
http://www.smarthomatic.org
34 stars 12 forks source link

E2P Editor crashes with null pointer exception #20

Closed breaker27 closed 10 years ago

breaker27 commented 11 years ago

Exception in thread "main" java.lang.NullPointerException at shcee.editors.Block.(Block.java:64)

see thread https://www.smarthomatic.org/forums/showthread.php?tid=44&page=2

GoHaHa (here it doesn't work):

java -version java version "1.7.0_05" Java(TM) SE Runtime Environment (build 1.7.0_05-b05) Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

Breaker27 (here it works):

java version "1.6.0_41" Java(TM) SE Runtime Environment (build 1.6.0_41-b02) Java HotSpot(TM) Client VM (build 20.14-b01, mixed mode, sharing)

Maybe someone can run the program in debug mode in Eclipse with Java 1.7?

breaker27 commented 10 years ago

Fixed as suggested here: http://bugs.sun.com/view_bug.do?bug_id=7022041 It seems to be a misbehavior of Java 7 (compared to Java 6).