[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.webtools] Re: Creating an XML Document (and more) from an InputStream?

Unfortunately, it was already in my list of plug-in dependencies. My Java build path is pretty clean, actually. No required projects, no additional source, and my libraries are limited to the JRE (1.5.0_06, incidentally), JUnit 3.8.1 and Plug-in dependencies. Hmm...

Nitin Dahyabhai wrote:
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