Java project was running, but when I'm trying to build it I have NullPointerException at startsWith (NetBeans) -



Java project was running, but when I'm trying to build it I have NullPointerException at startsWith (NetBeans) -

i have next problem. when i'm running project netbeans ide evrything fine. when i'm trying build project have exception:

compiling 2 source files d:\java\projects\streamer\build\classes exception has occurred in compiler (1.7.0-ea). please file bug @ java developer connection (http://java.sun.com/webapps/bugreport) after checking bug parade duplicates. include programme , next diagnostic in report. give thanks you. java.lang.nullpointerexception @ java.lang.string.startswith(string.java:1433) @ java.lang.string.startswith(string.java:1462) @ com.sun.tools.javac.file.symbolarchive.addzipentry(symbolarchive.java:49) @ com.sun.tools.javac.file.ziparchive.<init>(ziparchive.java:63) @ com.sun.tools.javac.file.symbolarchive.<init>(symbolarchive.java:41) ............ d:\java\projects\streamer\nbproject\build-impl.xml:603: next error occurred while executing line: d:\java\projects\streamer\nbproject\build-impl.xml:245: compile failed; see compiler error output details.

i'm not utilize string.startswith method, i'm utilize string.indexof in 1 place:

int lastindex = nodename.indexof("date",0); if (lastindex != -1 || nodename.equals("birthday")) { txt_val = gethash(txt_val,boolean.true); } else { txt_val = gethash(txt_val,boolean.false); }

nodename not null. , couldn't understand error :(

did utilize java 7 intentionally? seek java 6 - should more stable. here change jre in netbeans project

java netbeans nullpointerexception

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -