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 195606 - NullPointerException at org.netbeans.modules.tomcat5.util.LogViewer.run
Summary: NullPointerException at org.netbeans.modules.tomcat5.util.LogViewer.run
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-17 10:39 UTC by trss
Modified: 2011-02-18 10:34 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 176738


Attachments
stacktrace (105 bytes, text/plain)
2011-02-17 10:39 UTC, trss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description trss 2011-02-17 10:39:31 UTC
This bug was originally marked as duplicate of bug 177817, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 6.9 (Build 201007282301)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows Vista

User Comments:
GUEST: After initial installation and configuration. Not able to lauch servlet to display in browser.

GUEST: Just started netbeans. Went to Services tab, then right clicked apache tomcat and clicked open/show log.

GUEST: Trying to view Tomcat log.  Huge problems with Netbeans/Tomcat since Java 6_20 update  -- JVM crashes on any operation pertaining to the Tomcat server. (Startup, and even sometimes just switching to the services tab and expanding the servers dropdown list.)

geoffw: deploy application to tomcat, while its still deploying: choose services->servers->tomcat->right click->view server logs.  Then get npe

GUEST: Trying to run Tomcat 6 in Netbeans 6.9.1 on openSuse 11.3

trss: This exception occured when I stopped running Tomcat server from within Netbeans. Tomcat was running with errors saying it couldn't access log file and stuff.

arthurbuliva: Tried to view Tomcat server logs

GUEST: impossible to watch apache tomcat log

GUEST: try to redeploy app at working tomcat

GUEST: I right-clicked the "Apache Tomcat 6.0.20" server entry from the server-list and selected "View Server Output"

GUEST: instalando netbeans e tomcat

GUEST: Opening tomcat log...

giorgio42: Right-clicked on Apache Tomcat node in Services tab and selected View Server Log.

geoffw: view server log for tomcat on running, deployed application

GUEST: I tried to view a tomcat6 server's log.

giorgio42: View tomcat log.

GUEST: Try open Tomcat view server log




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.tomcat5.util.LogViewer.run(LogViewer.java:343)
Comment 1 trss 2011-02-17 10:39:37 UTC
Created attachment 106106 [details]
stacktrace
Comment 2 Petr Hejl 2011-02-17 12:03:23 UTC
Fixed in web-main f717d41eef98.
Please verify.
Comment 3 Quality Engineering 2011-02-18 10:34:49 UTC
Integrated into 'main-golden', will be available in build *201102180501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f717d41eef98
User: Petr Hejl <phejl@netbeans.org>
Log: #195606 NullPointerException at org.netbeans.modules.tomcat5.util.LogViewer.run