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 83451 - NPE is thrown when invoke View message Log
Summary: NPE is thrown when invoke View message Log
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: JBoss (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Kotouc
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-25 10:02 UTC by Petr Blaha
Modified: 2006-09-19 08:39 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 Petr Blaha 2006-08-25 10:02:48 UTC
[build 20060824]
I registered Jboss server that was already running and then try to invoke 'View
Server Log' action. Exception was thrown:

*********** Exception occurred ************ at 11:00 AM on Aug 25, 2006
java.lang.NullPointerException
[catch] at
org.netbeans.modules.j2ee.jboss4.ide.JBLogWriter$3.run(JBLogWriter.java:280)
Comment 1 Libor Kotouc 2006-08-25 13:53:07 UTC
Fixed.

Checking in JBLogWriter.java;
/cvs/serverplugins/jboss4/src/org/netbeans/modules/j2ee/jboss4/ide/JBLogWriter.java,v
 <--  JBLogWriter.java
new revision: 1.3.42.12; previous revision: 1.3.42.11
done

Simpler scenario: 
1. run NB
2. run JBoss *externally*
3. call View Server Log action -> NPE

This bug comes from the Profiler fix - it is also in the release55_beta2_jboss
branch but IMHO it is not enough frequent use case to integrate.
Comment 2 Michal Mocnak 2006-09-19 08:39:55 UTC
Verified