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 112087 - NPE due to missing synchronization
Summary: NPE due to missing synchronization
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 16:37 UTC by Sherold Dev
Modified: 2007-08-10 13:54 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 Sherold Dev 2007-08-06 16:37:58 UTC
NPE randomly occurs due to missing synchronization, I have not steps to reproduce but it should be fairly simple to fix

java.lang.NullPointerException 
    at org.netbeans.modules.j2ee.deployment.impl.ui.ProgressUI.setProgressObject(ProgressUI.java:179) 
    at org.netbeans.modules.j2ee.deployment.impl.ProgressObjectUtil.trackProgressObject(ProgressObjectUtil.java:61) 
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance._stop(ServerInstance.java:1371) 
    at org.netbeans.modules.j2ee.deployment.impl.ServerInstance.stop(ServerInstance.java:965) 
    at org.netbeans.modules.j2ee.deployment.impl.ui.actions.StopAction$1.run(StopAction.java:77) 
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) 
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Comment 1 Sherold Dev 2007-08-06 16:38:30 UTC
TM -> 6.0
Comment 2 Sherold Dev 2007-08-10 13:54:14 UTC
F.

Checking in src/org/netbeans/modules/j2ee/deployment/impl/ui/ProgressUI.java;
/cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/impl/ui/ProgressUI.java,v  <--  ProgressUI.java
new revision: 1.22; previous revision: 1.21
done