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 31443 - NPE in JspDataObject.checkRefreshServlet
Summary: NPE in JspDataObject.checkRefreshServlet
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-02-25 15:24 UTC by pzajac
Modified: 2006-06-05 00:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception stacktrace (662 bytes, text/plain)
2003-02-25 15:24 UTC, pzajac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pzajac 2003-02-25 15:24:17 UTC
[200302250100]Random exception occured on showing
jsp page in web browser. 
java.lang.NullPointerException
        at
org.netbeans.modules.web.core.jsploader.JspDataObject.checkRefreshServlet(JspDataObject.java:808)
        at
org.netbeans.modules.web.core.jsploader.JspDataObject.getPlugin(JspDataObject.java:605)
        at
org.netbeans.modules.web.core.jsploader.JspDataObject.getServletDataObject(JspDataObject.java:626)
        at
org.netbeans.modules.web.core.jsploader.JspDataObject$2.run(JspDataObject.java:845)
        at org.openide.util.Task.run(Task.java:136)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:328)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:667)
Comment 1 pzajac 2003-02-25 15:24:56 UTC
Created attachment 9138 [details]
exception stacktrace
Comment 2 _ rkubacki 2003-02-25 16:38:28 UTC
Bad sSynchronization between getPlugin and refreshPlugin?
Comment 3 Petr Jiricka 2003-02-26 10:04:17 UTC
Yes, this is caused by bad synchronization. This is also 
related to issue 30974, where a similar exception 
occurred, however the fix for 30974 did not fix this 
completely.

Checking in JspDataObject.java;
/cvs/web/core/src/org/netbeans/modules/web/core/jsploader/J
spDataObject.java,v  <--  JspDataObject.java
new revision: 1.21; previous revision: 1.20
done
Comment 4 pzajac 2003-02-27 16:14:51 UTC
I cannot reproduce it. I believe you:-)