Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359027 - Very long error messages are truncated in the problems view
Summary: Very long error messages are truncated in the problems view
Status: CLOSED DUPLICATE of bug 37990
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 05:24 EDT by Huang Fu Wei CLA
Modified: 2011-09-28 04:12 EDT (History)
2 users (show)

See Also:


Attachments

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