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 200252 - NullPointerException at org.netbeans.modules.bugzilla.issue.AttachmentsPanel.setAttachments
Summary: NullPointerException at org.netbeans.modules.bugzilla.issue.AttachmentsPanel....
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-20 08:22 UTC by Ondrej Vrabec
Modified: 2011-07-27 14:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180016


Attachments
stacktrace (1.92 KB, text/plain)
2011-07-20 08:23 UTC, Ondrej Vrabec
Details
stacktrace (1.92 KB, text/plain)
2011-07-25 09:44 UTC, Tomas Stupka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2011-07-20 08:22:59 UTC
Build: NetBeans IDE Dev (Build 20110720-1124e8222041)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Linux

User Comments:
ovrabec: Trying to open NB Issue #197579




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.bugzilla.issue.AttachmentsPanel.setAttachments(AttachmentsPanel.java:195)
   at org.netbeans.modules.bugzilla.issue.IssuePanel.reloadForm(IssuePanel.java:583)
   at org.netbeans.modules.bugzilla.issue.IssuePanel.setIssue(IssuePanel.java:347)
   at org.netbeans.modules.bugzilla.issue.IssueController.<init>(IssueController.java:63)
   at org.netbeans.modules.bugzilla.issue.BugzillaIssue.getController(BugzillaIssue.java:335)
   at org.netbeans.modules.bugtracking.ui.issue.IssueTopComponent.setIssue(IssueTopComponent.java:209)
Comment 1 Ondrej Vrabec 2011-07-20 08:23:03 UTC
Created attachment 109526 [details]
stacktrace
Comment 2 Ondrej Vrabec 2011-07-20 08:48:47 UTC
I am not sure why, but it seems that mylyn TaskData the first attachment in the issue #197579 is not complete (date, author and possibly other data are missing). My guess is that it's either a bug or intentional behavior for attachments that are parts of an initial issue description. In that case this could be WAed by getting the missing data from the issue itself.
Comment 3 Tomas Stupka 2011-07-25 09:44:04 UTC
Created attachment 109594 [details]
stacktrace
Comment 4 Tomas Stupka 2011-07-26 07:20:25 UTC
fixed
http://hg.netbeans.org/core-main/rev/9f088d906a63
Comment 5 Quality Engineering 2011-07-27 14:10:59 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/9f088d906a63
User: Tomas Stupka <tstupka@netbeans.org>
Log: undoredo
Issue #200252 - NullPointerException at org.netbeans.modules.bugzilla.issue.AttachmentsPanel.setAttachments