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 236841 - Not reliable exceptions report from RequestProcessor.
Summary: Not reliable exceptions report from RequestProcessor.
Status: RESOLVED INCOMPLETE
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-07 14:53 UTC by Martin Entlicher
Modified: 2014-05-09 12:01 UTC (History)
1 user (show)

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 Martin Entlicher 2013-10-07 14:53:16 UTC
Please have a look at message.logs from http://statistics.netbeans.org/exceptions/detail.do?id=202464
There are many exceptions. Initially, they are reported correctly, like:

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.web.webkit.tooling.networkmonitor.DependentFileQueryImpl$DependencyInfo$1
java.lang.NullPointerException
	at java.lang.String.startsWith(String.java:1385)
        ...
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
	at org.netbeans.modules.web.webkit.tooling.networkmonitor.DependentFileQueryImpl$DependencyInfo.networkRequest(DependentFileQueryImpl.java:98)
        ...

There are two exception stack traces, one from the faulty code and the second from the code, which has called the RP.

But suddenly, this is reduced to:

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.web.webkit.tooling.networkmonitor.DependentFileQueryImpl$DependencyInfo$1
java.lang.NullPointerException
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
        ...

The first, the most important part is missing.

Therefore it's not apparent, what is the cause of the last set of exceptions:

SEVERE [org.openide.util.RequestProcessor]: Error in RequestProcessor org.netbeans.modules.web.webkit.debugging.api.console.Console$Callback$1
java.lang.NullPointerException
Caused: org.openide.util.RequestProcessor$SlowItem: task failed due to
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:424)
        ...
Comment 1 Jaroslav Tulach 2013-10-08 10:24:18 UTC
Do you think this is done somewhere in module system? I am not aware of any such code and certainly I have not touched the logging subsystem for months.
Comment 2 Jaroslav Tulach 2013-12-10 15:08:24 UTC
I don't think this is happening inside of module system. Let's RequestProcessor guys investigate it.
Comment 3 Jaroslav Tulach 2014-05-09 12:01:44 UTC
The report http://statistics.netbeans.org/exceptions/detail.do?id=202464 does not seem to be accessible anymore. What file should I look at?

Anyway, Martine, could you please stop by and explain me what the problem is in person? I have hard time to grasp what is the problem.