|
|
|
|
|
Re: Notify the Application specific event [message #647216 is a reply to message #646905] |
Wed, 05 January 2011 06:45 |
ash Messages: 142 Registered: July 2010 |
Senior Member |
|
|
Hi,
I am getting this exception if run the code in Eclipse 3.5 (JDK 1.5)
Caused by: java.lang.NullPointerException: A null service reference is not allowed.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.g etService(BundleContextImpl.java:660)
at
DeleteJobUpdater.notifyAppEvent(DeleteSubJobUpdater.j ava:15
DeleteSubJobUpdater$1.run(DeleteSubJobUpdater.java:1 08)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
IF i run the same code in Eclipse helious the code is running fine ... i dont know wht is wrong..... can u please help this is the impl i req....
Nullpointer is comming bcoz ServiceReference ref object is comming nulll....
Thanks
ashok
[Updated on: Wed, 05 January 2011 09:44] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04020 seconds