|
|
|
Re: SCADomain.newInstance stops after loading contribution [message #559004 is a reply to message #558605] |
Wed, 15 September 2010 09:48  |
|
Hi,
Le 13/09/2010 18:16, Frieder Jacobi a écrit :
> Thank you for your answer.
> This surely would solve the problem of the NPE... but this has not been
> the point, since it is totally unclear why SCADomain.newInstance returns
> null.
>
> However, I reset the whole project and it worked. I yet don't know what
> has been the problem...
For the NPE, just initialize the domain to null and test it before
closing it (in the finally block).
Why domain.newInstance would return null?
I can't remember what represents the parameter of newInstance.
Is it the composite name, or the relative location of the composite in
the class path?
In this last case,
> SCADomain.newInstance( "TMBrowser.composite" )
would mean that the composite is right under your "bin" directory.
Is your project built automatically? See the manu "Project > Build
automatically...".
Regards,
Vincent.
|
|
|
Powered by
FUDForum. Page generated in 0.05485 seconds