Hi !
I am currently developing code to upload and download documents from Nuxeo
using nuxeo java api methodology.
In the basic helloserver Example,
when creating an instance for NuxeoClient " NuxeoClient.getInstance(); " null
pointer exception occured,
I followed to track the point, when getInstance() method is called, it inturn
trys to create an object of AutoConfigurationService() .
in the constructor of AutoConfiguration(){} a code line
"remoting = Framework.getLocalService(RemotingService.class);"
null pointer is thrown here....
futher deeper, this method end up in calling getLocalService() of Framework
class,
here a static obj variable "runtime" is used which is null .
-----
private static RuntimeService runtime;
public static <T> T getLocalService(Class<T> serviceClass)
{
ServiceProvider provider = DefaultServiceProvider.getProvider();
if (provider != null) {
return provider.getService(serviceClass);
}
return *runtime*.getService(serviceClass);
}
-----
--
Posted by "karthikeyan_M" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3522#10781>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm