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

Bug 359027

Summary: Very long error messages are truncated in the problems view
Product: [Eclipse Project] Platform Reporter: Huang Fu Wei <fwhuang>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: minor    
Priority: P3 CC: daniel_megert, remy.suen
Version: 3.6.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Huang Fu Wei CLA 2011-09-27 05:24:20 EDT
Build Identifier: Eclipse 3.6.1 M20100909-0800

I used the below code to create a problem marker: 
IMarker marker = resource.createMarker(IMarker.PROBLEM);
marker.setAttribute(IMarker.MESSAGE, message);
marker.setAttribute(IMarker.SEVERITY, serverity);
marker.setAttribute(IMarker.PRIORITY, IMarker.PRIORITY_HIGH);

when the message is too long, for example, the message length > 259, then the description in the problem view will be truncated, we must right click and view the problem properties to see the whole error message.

Reproducible: Always

Steps to Reproduce:
1.Create a customer IMarker
2.Input the very long message for it (message'length> 258)
3.The description is truncated in the problem view.
Comment 1 Remy Suen CLA 2011-09-27 07:36:04 EDT
This is an OS limit.
Comment 2 Dani Megert CLA 2011-09-28 04:12:14 EDT

*** This bug has been marked as a duplicate of bug 37990 ***