This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Using liferay 6.0.6, logback 1.0.0, if I use the standard ConsoleAppender, whenever an exception occures, liferay will hang. Thread dump shows that a thread block another. In netbeans 7.1, I got an exception: WARNING [org.netbeans.modules.java.source.parsing.JavacParser]: Javac returned startpos: 8 007 > endpos: -1 SEVERE [global] java.lang.StringIndexOutOfBoundsException: String index out of range: -7 at java.lang.String.substring(String.java:1937) at org.netbeans.modules.portalpack.servers.core.common.ServerLogSupport.analyzeLine(ServerLogSupport.java:99) at org.netbeans.modules.portalpack.servers.core.common.ServerLog.processLine(ServerLog.java:85) [catch] at org.netbeans.modules.portalpack.servers.core.common.ServerLog.run(ServerLog.java:118) There is a similar bug: http://netbeans.org/bugzilla/show_bug.cgi?id=191810 There is a workaround at the mentioned JIRA: when adding %throwable to the pattern, it works.