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.

Bug 207775 - serverlog to console hangs execution
Summary: serverlog to console hangs execution
Status: NEW
Alias: None
Product: contrib
Classification: Unclassified
Component: Portalpack (show other bugs)
Version: 7.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Satyaranjan D
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 15:13 UTC by roti
Modified: 2012-01-26 15:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description roti 2012-01-26 15:13:00 UTC
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.