Community
Participate
Working Groups
When starting g-Eclipse from my home network I get the following exception directly after startup: java.lang.NullPointerException at eu.geclipse.info.Activator$1.run(Activator.java:72) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) This exception says nothing so I can say nothing about the reasons of it. Nevertheless at least the info system seems to be able to do its work since I can see all resources out there.
One for you Nick. I guess igp.getVO() is returning null in Activator.java:72 ... strange, shouldn't all children of GridMoldelRoot necessarily have a VO, Mathias? Uhm, while we are at it Nick, please move Activator to a .internal package :)
> I guess igp.getVO() is returning null in Activator.java:72 ... strange, > shouldn't all children of GridMoldelRoot necessarily have a VO, Mathias? Not necessarily. There are a few cases where this does not hold. For instance the hidden project does not have a VO and therefore all its children don't have one, too. Furthermore it may happen with wrapped elements that in some circumstances they do not have a VO. For instance the Gria services are not VO specific but global. Within the Gria VO they are wrapped into VO specific wrappers. But if for any case you access the wrapped element here it does not have a VO. There may be other cases where there is no VO, don't know if I remebered all from scratch now...
I have created a patch where I check if getVO() returns null. Mathias, tell me if you still have that exception.
Created attachment 89986 [details] Patch for eu.geclipse.info I am still not able to get the option to set the patch root when I create a svn patch. I am using subeclipse.
Created attachment 90035 [details] Patch for eu.geclipse.info This clears some middleware specific code in GlueCE and GlueService as well. I created some new classes under eu.geclipse.glite.info.glue that extend the glue classes and I added there the glite specific code.
Created attachment 90036 [details] Patch for eu.geclipse.glite.info
Created attachment 90053 [details] Patch for eu.geclipse.info Fixed a small bug. An null pointer exception after double clicking in the tree shown in the glue info view.
I applied the last two patches assuming the first two are obsolete. Nevertheless I still get the same exception when starting g-Eclipse.
Created attachment 90187 [details] Patch for eu.geclipse.info The null check I (thought I)had made is not there. I added it and made a new patch. All the other patches are obsolete now.
Created attachment 90191 [details] Patch for eu.geclipse.info Sorry for posting so many patches for this bug. Only this patch needs to be installed now.
*** Bug 219594 has been marked as a duplicate of this bug. ***
Nick, please look at the Bug #219594 which i now marked as duplicate of this one, it reports about the same NPE happening when refreshing the GlueInfoViewer, suggesting that perhaps some code can be merged.
The code is already merged with the new patches
Now we got it. Patch applied and committed, exception gone. At least for me it is fixed now.
I am marking it as fixed then
Closing
Comment on attachment 90191 [details] Patch for eu.geclipse.info Applied by Mathias