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 25920 - NPE during deploing JSP
Summary: NPE during deploing JSP
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Damian Frach
URL:
Keywords:
: 26366 26402 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-23 14:39 UTC by Michal Zlamal
Modified: 2002-08-09 12:30 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 Michal Zlamal 2002-07-23 14:39:17 UTC
It occurs in 200207222340 release34 build.

First deploy of servlet is OK. When I want to redeploy it 
ones more I'm getting NPE:
java.lang.NullPointerException
[catch] at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager.createCopyMaker(DefaultServerInstanceManager.java:290)
        at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$CopyMakerServerInstanceListener.go(DefaultServerInstanceManager.java:479)
        at 
org.netbeans.modules.j2ee.impl.DefaultServerInstanceManager$CopyMakerServerInstanceListener.serverStatusChanged(DefaultServerInstanceManager.java:458)
        at 
org.netbeans.modules.j2ee.impl.ServerChangeSupport.fireStatus(ServerChangeSupport.java:82)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Instance.fireStatus(Tomcat40Instance.java:199)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.fireStatus(Tomcat40Installation.java:1132)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation.access$300(Tomcat40Installation.java:78)
        at 
org.netbeans.modules.tomcat.tomcat40.Tomcat40Installation$WaitingThread.run(Tomcat40Installation.java:1292)
Comment 1 Damian Frach 2002-07-23 14:58:29 UTC
timing issue on the Linux

problem of the data member of the ServerChangeSupport in 
the j2ee server module; data member is shared by all 
threads and this is bad

data member was replaced by local method variable

already fixed in trunk
Comment 2 Jesse Glick 2002-07-25 17:44:45 UTC
If it is fixed in the trunk, it should be marked FIXED/4.0 please.
Comment 3 Damian Frach 2002-08-08 13:06:51 UTC
*** Issue 26366 has been marked as a duplicate of this issue. ***
Comment 4 Damian Frach 2002-08-08 16:39:32 UTC
-
Comment 5 Damian Frach 2002-08-08 18:18:05 UTC
integrated in release34 branch on 29th July 2002
Comment 6 Damian Frach 2002-08-09 12:30:23 UTC
*** Issue 26402 has been marked as a duplicate of this issue. ***