Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351256 - NPE when viewing bug details for Bugzilla, results in blank screen
Summary: NPE when viewing bug details for Bugzilla, results in blank screen
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 major (vote)
Target Milestone: 3.6.1   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-06 00:39 EDT by Chandra Sukiman CLA
Modified: 2011-07-20 07:55 EDT (History)
2 users (show)

See Also:


Attachments
Screenshot of the error (90.29 KB, image/png)
2011-07-06 00:46 EDT, Chandra Sukiman CLA
no flags Details
First exception log (3.19 KB, text/plain)
2011-07-06 00:47 EDT, Chandra Sukiman CLA
no flags Details
Second exception log (5.04 KB, text/plain)
2011-07-06 00:47 EDT, Chandra Sukiman CLA
no flags Details
mylyn/context/zip (4.71 KB, application/octet-stream)
2011-07-18 18:26 EDT, Steffen Pingel CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chandra Sukiman CLA 2011-07-06 00:39:35 EDT
Build Identifier: I20110613-1736

When upgrading to Mylyn 3.6 on Eclipse Indigo, I could no longer view my bug details from eclipse. The Task list view is populated, however when clicking a bug item, the screen is displayed as blank. There are some workspace exception thrown which is attached below.

Reproducible: Always

Steps to Reproduce:
1. Install STS 3.7 (based on Indigo)
2. Connect to Bugzilla server and create a query
3. Wait until the bug list is populated 
4. Open any bug and it will display blank screen
Comment 1 Chandra Sukiman CLA 2011-07-06 00:46:49 EDT
Created attachment 199156 [details]
Screenshot of the error
Comment 2 Chandra Sukiman CLA 2011-07-06 00:47:22 EDT
Created attachment 199157 [details]
First exception log
Comment 3 Chandra Sukiman CLA 2011-07-06 00:47:40 EDT
Created attachment 199158 [details]
Second exception log
Comment 4 Chandra Sukiman CLA 2011-07-13 00:10:35 EDT
I realized that this bug only occurs for bug that is not assigned to myself.
I still can open bugs is assigned to me, however I cannot view others
Comment 5 Steffen Pingel CLA 2011-07-14 20:52:47 EDT
Do you have any errors in the error log (Window > Show View > Others > Error Log)?
Comment 6 Chandra Sukiman CLA 2011-07-14 22:09:33 EDT
Yes, please check the two attached files (exception1.txt) and (exception2.txt) for the error. I copied the error from the Error Log view.
Comment 7 Steffen Pingel CLA 2011-07-15 10:38:34 EDT
Sorry, I missed that. Thanks for the logs. We'll take a look.
Comment 8 Steffen Pingel CLA 2011-07-18 18:26:26 EDT
Stack Trace:

java.lang.NullPointerException
	at org.eclipse.mylyn.internal.bugzilla.core.SaxMultiBugReportContentHandler.addComment(SaxMultiBugReportContentHandler.java:676)
	at org.eclipse.mylyn.internal.bugzilla.core.SaxMultiBugReportContentHandler.addDescriptionAndComments(SaxMultiBugReportContentHandler.java:637)
	at org.eclipse.mylyn.internal.bugzilla.core.SaxMultiBugReportContentHandler.endElement(SaxMultiBugReportContentHandler.java:417)
	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)

Fixed in aea786ee295d3dd24b06a88f1ddf8e19c813f7cc.
Comment 9 Steffen Pingel CLA 2011-07-18 18:26:28 EDT
Created attachment 199867 [details]
mylyn/context/zip
Comment 10 Steffen Pingel CLA 2011-07-18 18:32:57 EDT
Fix for e_3_7_m_3_6_x branch: 83e6b9d4680a376d244e1e71e3d39cef48afa889.
Comment 11 Chandra Sukiman CLA 2011-07-19 21:45:55 EDT
I have tested and it works. Should I change the status of this bug?
Comment 12 Steffen Pingel CLA 2011-07-20 07:55:27 EDT
Thanks for verifying. This is fixed in the latest 3.7 weekly build and a 3.6.1 snapshot will soon be available as well.