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 234785 - NullPointerException at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.editorOpened
Summary: NullPointerException at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper...
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Issuetracking Framework (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-22 11:52 UTC by Martin Kanak
Modified: 2013-09-10 12:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 203261


Attachments
stacktrace (2.14 KB, text/plain)
2013-08-22 11:52 UTC, Martin Kanak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kanak 2013-08-22 11:52:20 UTC
Build: NetBeans IDE Dev (Build 201308212300)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b55, Java(TM) SE Runtime Environment, 1.7.0_40-b39
OS: Windows 7

User Comments:
kanakmar: Click on Search task in Repository, search some task and open it => exception appears




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.editorOpened(AbstractNbTaskWrapper.java:203)
   at org.netbeans.modules.bugzilla.issue.BugzillaIssue.access$000(BugzillaIssue.java:112)
   at org.netbeans.modules.bugzilla.issue.BugzillaIssue$1.run(BugzillaIssue.java:227)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1432)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2042)
Comment 1 Martin Kanak 2013-08-22 11:52:21 UTC
Created attachment 139057 [details]
stacktrace
Comment 2 Ondrej Vrabec 2013-08-22 15:18:20 UTC
Happens because task was loaded through the simple search which does not fully synchronize it and does not download full taskdata. Need to hook into opening task and places where the taskdata is needed and fetch it on demand.

fix: http://hg.netbeans.org/core-main/rev/cc7d6f6f9221
Comment 3 Martin Kanak 2013-09-10 12:29:17 UTC
seems to be fixed, mark as verified

Product Version: NetBeans IDE Dev (Build 201309090001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b39
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)