Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 164928 Details for
Bug 308779
When the Content Assist function is triggered in the style label, Null Pontere Exception occurs.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
When the Content Assist function is triggered in the style label, Null Pontere Exception occurs.
patch.txt (text/plain), 984 bytes, created by
zhaojian
on 2010-04-15 00:05:21 EDT
(
hide
)
Description:
When the Content Assist function is triggered in the style label, Null Pontere Exception occurs.
Filename:
MIME Type:
Creator:
zhaojian
Created:
2010-04-15 00:05:21 EDT
Size:
984 bytes
patch
obsolete
>Index: D:/eclipse_develop/eclipse/workspaceIIMV9.1.1/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/htmlcss/StyleElementAdapter.java >=================================================================== >--- D:/eclipse_develop/eclipse/workspaceIIMV9.1.1/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/htmlcss/StyleElementAdapter.java (revision 40813) >+++ D:/eclipse_develop/eclipse/workspaceIIMV9.1.1/org.eclipse.wst.html.core/src/org/eclipse/wst/html/core/internal/htmlcss/StyleElementAdapter.java (working copy) >@@ -166,7 +166,10 @@ > modelProvideAdapter.modelProvided(model); > > // from createModel() >- IStructuredDocument structuredDocument = model.getStructuredDocument(); >+ IStructuredDocument structuredDocument = null; >+ if(model != null) { >+ structuredDocument = model.getStructuredDocument(); >+ } > if (structuredDocument == null) > return null; > structuredDocument.addDocumentChangedListener(this);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 308779
: 164928