| [news.eclipse.webtools] Re: Creating an XML Document (and more) from an InputStream? |
Robert Konigsberg wrote:Nitin,
I am stuck once more. Unfortunately, if I start my first test with:
IModelManager mgr = StructuredModelManager.getModelManager()
but this results in a NullPointerException in getModelManager:
"int state = localBundle.getState()";
localBundle is not initialized (comes from Platform.getBundle(SSECorePlugin.ID))
Now I have looked at some of the sample unit tests in the CVS respository, and tried to initialize my project in a similar way, but only resulting in yet more exceptions.
Thoughts?
The most likely reason is that you've added org.eclipse.wst.sse.core to the Java Build Path, but not added it to your list of plug-in dependencies.
-- Nitin Dahyabhai Structured Source Editor