Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312425 - [Xtend Editor] Problem with Error markers
Summary: [Xtend Editor] Problem with Error markers
Status: CLOSED FIXED
Alias: None
Product: M2T
Classification: Modeling
Component: Xpand (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: M3   Edit
Assignee: Karsten Thoms CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 09:46 EDT by Darius Jockel CLA
Modified: 2013-06-04 04:58 EDT (History)
1 user (show)

See Also:
karsten.thoms: juno+


Attachments
Project reproducing the bug (2.39 KB, application/zip)
2010-05-11 09:47 EDT, Darius Jockel CLA
no flags Details
mylyn/context/zip (1.21 KB, application/octet-stream)
2011-01-04 05:24 EST, Karsten Thoms CLA
no flags Details
fix for bug#312425 (2.87 KB, patch)
2011-01-04 05:40 EST, Benedikt Niehues CLA
no flags Details | Diff
this fixes the nullpointer exception in equals method of MarkerObject (1.32 KB, patch)
2011-03-14 12:00 EDT, Benedikt Niehues CLA
sven.efftinge: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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