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 159144 - NullPointerException at org.netbeans.modules.glassfish.common.LogViewMgr.getServerIO
Summary: NullPointerException at org.netbeans.modules.glassfish.common.LogViewMgr.getS...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vince Kraemer
URL: http://statistics.netbeans.org/except...
Keywords: RANDOM
: 159571 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-25 14:03 UTC by pribyl
Modified: 2009-03-06 09:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146728


Attachments
stacktrace (678 bytes, text/plain)
2009-02-25 14:03 UTC, pribyl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pribyl 2009-02-25 14:03:48 UTC
Build: NetBeans IDE Dev (Build 200902250201)
VM: Java HotSpot(TM) Client VM, 11.0-b17, Java(TM) SE Runtime Environment, 1.6.0_12-ea-b01
OS: Windows XP, 5.1, x86

User Comments:
pribyl: I removed both servers (GlassFish v2 and v3) from the Servers list in the IDE => this NPE was thrown



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.glassfish.common.LogViewMgr.getServerIO(LogViewMgr.java:769)
        at org.netbeans.modules.glassfish.common.LogViewMgr.getWriter(LogViewMgr.java:296)
        at org.netbeans.modules.glassfish.common.LogViewMgr.write(LogViewMgr.java:265)
        at org.netbeans.modules.glassfish.common.LogViewMgr$LoggerRunnable.processLine(LogViewMgr.java:470)
        at org.netbeans.modules.glassfish.common.LogViewMgr$LoggerRunnable.run(LogViewMgr.java:417)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
Comment 1 pribyl 2009-02-25 14:03:57 UTC
Created attachment 77357 [details]
stacktrace
Comment 2 Vince Kraemer 2009-02-26 06:12:09 UTC
Question: was the v3 prelude instance running when you removed it from the server list?
Comment 3 pribyl 2009-02-27 07:39:12 UTC
Hello. I am sorry, now I see I did not describe it properly. Actually, it was not v2 and v3 that I removed, but 2
instances of the v3 server - each one in a different domain.

None of them was running.

I selected them both and invoked Remove from the pop-up menu.

However, when I try to reproduce that now, everything seems to be OK. I am lowering the priority (at least until I find
reproducible scenario)
Comment 4 Vince Kraemer 2009-02-27 16:25:03 UTC
Let's keep the issue @ p3 for now.  I added RANDOM to keywords, too.
Comment 5 Vince Kraemer 2009-03-04 01:23:02 UTC
*** Issue 159571 has been marked as a duplicate of this issue. ***
Comment 6 Vince Kraemer 2009-03-04 06:08:34 UTC
http://hg.netbeans.org/main/rev/97d4925b3bf4
Comment 7 Quality Engineering 2009-03-06 09:26:03 UTC
Integrated into 'main-golden', will be available in build *200903060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/97d4925b3bf4
User: vince kraemer <vkraemer@netbeans.org>
Log: #159144 : NPE LogViewMgr