1 Reply Latest reply on Apr 3, 2008 3:34 PM by Elias Ross

    Failed to boot JBoss:java.lang.NullPointerException

    Vikas Khengare Newbie

      Hi,
      I am getting this error while starting JBOSS from Eclipse.
      I am passing following args,

      -Dprogram.name=run.bat -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=${DCM4CHEE_LAUNCHPAD}/lib/endorsed -Xms128m -Xmx512m
      -Djava.library.path=${DCM4CHEE_LAUNCHPAD}/bin/native -Ddcm4che.archive.nodename=DCM4CHEE
      -Dapp.name=dcm4chee -Dapp.pid=9999

      Failed to boot JBoss:
      java.lang.NullPointerException
      at java.util.Properties$LineReader.readLine(Unknown Source)
      at java.util.Properties.load(Unknown Source)
      at org.jboss.Version.loadProperties(Version.java:291)
      at org.jboss.Version.(Version.java:72)
      at org.jboss.Version.getInstance(Version.java:84)
      at org.jboss.system.server.ServerImpl.(ServerImpl.java:89)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at org.jboss.system.server.ServerLoader.createServer(ServerLoader.java:289)
      at org.jboss.system.server.ServerLoader.load(ServerLoader.java:268)
      at org.jboss.Main.boot(Main.java:194)
      at org.jboss.Main$1.run(Main.java:508)
      at java.lang.Thread.run(Unknown Source)

      I am not figuringout the problem. Can you suggest something?

      Thanks