Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 312425

Summary: [Xtend Editor] Problem with Error markers
Product: [Modeling] M2T Reporter: Darius Jockel <darius.jockel>
Component: XpandAssignee: Karsten Thoms <karsten.thoms>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: benedikt.niehues
Version: unspecifiedFlags: karsten.thoms: juno+
Target Milestone: M3   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Project reproducing the bug
none
mylyn/context/zip
none
fix for bug#312425
none
this fixes the nullpointer exception in equals method of MarkerObject sven.efftinge: iplog+

Description Darius Jockel CLA 2010-05-11 09:46:51 EDT
Problem with error markers in xtend editor.

Steps to reproduce:
1. Import the attached project
2. Open test.ext and see the two error markers shown in the problems view
3. Change second extension to: String myextension2(Object o) : let a = newdfdf adas : a; -> all markers disappear
4. After clean only an error marker at myextension2 appear
Comment 1 Darius Jockel CLA 2010-05-11 09:47:41 EDT
Created attachment 167921 [details]
Project reproducing the bug
Comment 2 Karsten Thoms CLA 2011-01-04 05:24:57 EST
Created attachment 185991 [details]
mylyn/context/zip
Comment 3 Benedikt Niehues CLA 2011-01-04 05:40:12 EST
Created attachment 185992 [details]
fix for bug#312425
Comment 4 Benedikt Niehues CLA 2011-03-14 12:00:47 EDT
Created attachment 191131 [details]
this fixes the nullpointer exception in equals method of MarkerObject

the markerObject caused a nullPointerException if no issueType was set. This patch fixes the problem
Comment 5 Karsten Thoms CLA 2011-10-07 02:05:59 EDT
Patch in attachment#191131 [details] is obsolete with commit
80f82b16cd086b0a387fa168d43c9b61084e3933
Comment 6 Karsten Thoms CLA 2011-10-07 02:10:53 EDT
Patch attachment#185992 [details] looks OK!

NPE does not occur anymore.
Comment 7 Karsten Thoms CLA 2013-02-21 08:12:26 EST
Bug resolved before Xpand 1.2 release date => Closing
Comment 8 Karsten Thoms CLA 2013-06-04 04:58:30 EDT
Cleared IP Log flag, since it is already set on attachment