Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 14235 - Internal error: StorageDocumentProvider.setDocumentContent() creating status
Summary: Internal error: StorageDocumentProvider.setDocumentContent() creating status
Status: RESOLVED DUPLICATE of bug 14009
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-19 11:41 EDT by Kevin McGuire CLA
Modified: 2002-04-23 15:01 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin McGuire CLA 2002-04-19 11:41:21 EDT
If you examine the following snippet from a stack trace 
(http://bugs.eclipse.org/bugs/show_bug.cgi?id=13774)

java.lang.IllegalArgumentException: 
	at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:50)
	at org.eclipse.core.internal.runtime.Assert.isLegal(Assert.java:35)
	at org.eclipse.core.runtime.Status.setPlugin(Status.java:151)
	at org.eclipse.core.runtime.Status.<init>(Status.java:59)
	at
org.eclipse.ui.editors.text.StorageDocumentProvider.setDocumentContent
(StorageDocumentProvider.java:83)

You will see that the StorageDocumentProvider.setDocumentContent is creating a 
status with a null argument where there should instead be a plugin ID.

I've marked this as major because it is obscuring the real error from the bug 
report cited.
Comment 1 Nick Edgar CLA 2002-04-19 12:13:43 EDT

*** This bug has been marked as a duplicate of 14009 ***
Comment 2 Kevin McGuire CLA 2002-04-23 15:01:17 EDT
*** Bug 13774 has been marked as a duplicate of this bug. ***