• java.lang.NullPointerException at com.ibm.dots.internal.logging.LoggingGroups.getLogger(LoggingGroups.java:59)

    By Abhai Raj Singh Khalsa 1 decade ago

     

    After installing osgi-dots I get the following when I start my server or try to run any osgi-dots tasks:

     

    java.lang.NullPointerException
    
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    
            at java.lang.reflect.Method.invoke(Method.java:611)
    
            at com.ibm.dots.launcher.OSGiProfile.frameworkStarted(OSGiProfile.java:974)
    
            at com.ibm.dots.launcher.OSGILauncher.startOSGI(OSGILauncher.java:280)
    
            at com.ibm.dots.launcher.OSGILauncher.launchOSGIFramework(OSGILauncher.java:145)
    
    [13F0:0002-1330] 08/01/2012 05:21:47 PM  Domino OSGi Tasklet Container started ( profile DOTS )
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS] A Java Exception occurred: java.lang.NullPointerException
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS] java.lang.NullPointerException
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS]         at com.ibm.dots.internal.logging.LoggingGroups.getLogger(LoggingGroups.java:59)
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS]         at com.ibm.dots.internal.logging.LoggingGroups.getServerTaskManagerLogger(LoggingGroups.java:4
    
    6)
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS]         at com.ibm.dots.task.ServerTaskManager.performRun(ServerTaskManager.java:843)
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS]         at com.ibm.dots.task.ServerTaskManager.performRunOnStartRuns(ServerTaskManager.java:457)
    
    [13F0:0002-1330] 08/01/2012 05:21:48 PM  [DOTS]         at com.ibm.dots.task.ServerTaskManager.addinDispatch(ServerTaskManager.java:394)
    

     

    <span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: arial, helvetica, sans-serif; vertical-align: baseline; ">The pdf I&#39;m using as a guide to install (v2.0.3) (readme.pdf) shows several Java archives in&nbsp;<span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: 'courier new', courier, monospace; vertical-align: baseline; "><span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline; color: rgb(255, 0, 0); "><strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline; ">osgi-dots</strong></span>/rcp/eclipse/plugins</span>directory but the .zip file in the download (</span>OSGiTaskletService2.0.3.zip)&nbsp;doesn&#39;t include those archives. &nbsp;I tried just copying the archives from&nbsp;<span style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: 'courier new', courier, monospace; vertical-align: baseline; color: rgb(255, 0, 0); "><strong style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; font-family: inherit; vertical-align: baseline; ">osgi</strong></span>/rcp/eclipse/plugins, but that didn&#39;t work.</div>
    

    Any help would be greatly appreciated.

    Thanks.

    • Seems like a bad install

      By Paul Fiore 1 decade ago

      Hello,

      It seems like the issues you're describing are from a bad install.

      You should not be taking the plugins from osgi/rcp/eclipse/plugins as they are back level versions.

      The minimum required set of plug-ins for osgi-dots\rcp\eclipse\plugins is comprised of the following list:
      ─ org.eclipse.core.contenttype
      ─ org.eclipse.core.jobs
      ─ org.eclipse.core.runtime.compatibility.auth
      ─ org.eclipse.core.runtime
      ─ org.eclipse.equinox.app
      ─ org.eclipse.equinox.common
      ─ org.eclipse.equinox.preferences
      ─ org.eclipse.equinox.registry
      ─ org.eclipse.osgi
      ─ org.eclipse.update.configurator

      and should be taken from an Eclipse install of 3.6.2+

      I suggest trying to setup DOTS again cleanly using the plugins as suggested above.  If that does not work then please send along a zipped up copy of you osgi-dots\rcp directory.

      Regards,

      Paul

    • working now

      By Abhai Raj Singh Khalsa 1 decade ago

      Thanks for the help.  I'm up and running.  I used libraries (.jar files) from eclipse Juno (I believe I'd copied them from osgi/rcp/eclipse/plugins in my first - unsuccessful - attempt).