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 237613 - NullPointerException at org.netbeans.modules.odcs.tasks.query.ODCSQuery$1.run
Summary: NullPointerException at org.netbeans.modules.odcs.tasks.query.ODCSQuery$1.run
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS Tasks (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-24 10:39 UTC by Ondrej Vrabec
Modified: 2013-10-24 10:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204877


Attachments
stacktrace (1.74 KB, text/plain)
2013-10-24 10:39 UTC, Ondrej Vrabec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-10-24 10:39:22 UTC
This issue was reported manually by ovrabec.
It already has 1 duplicates 


Build: NetBeans IDE Dev (Build 20131024-6a3c940f2a8f)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Linux

User Comments:
ovrabec: Started IDE and opened super master mega menu for ODCS.
... this happens because the same query is run in parellel twice. First it's started from the MM and then at the same time from the Task Dashboard. Debugging reveals that there are two instances of ODCSQueryController for the single instance of the query.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.odcs.tasks.query.ODCSQuery$1.run(ODCSQuery.java:307)
   at org.netbeans.modules.odcs.tasks.query.ODCSQuery.executeQuery(ODCSQuery.java:342)
   at org.netbeans.modules.odcs.tasks.query.ODCSQuery.refreshIntern(ODCSQuery.java:282)
   at org.netbeans.modules.odcs.tasks.query.ODCSQuery$PredefinedQuery.refresh(ODCSQuery.java:593)
   at org.netbeans.modules.odcs.tasks.query.ODCSQueryController$QueryTask.run(ODCSQueryController.java:1088)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
Comment 1 Ondrej Vrabec 2013-10-24 10:39:24 UTC
Created attachment 141511 [details]
stacktrace
Comment 2 Ondrej Vrabec 2013-10-24 10:52:55 UTC
fix: http://hg.netbeans.org/core-main/rev/34fc35e4cbf8