1 Reply Latest reply on Apr 27, 2007 2:39 AM by Vasudha Venkatesha Murthy

    suspious error when starting JBoss

    achim stamm Newbie

      When starting JBoss-Server inside Eclipse (Debug-mode) the following exception occurs:


      Thread [main] (Suspended (exception NullPointerException))
      Properties$LineReader.readLine() line: not available
      PropertyMap(Properties).load(InputStream) line: not available
      Main.(String) line: 120
      NamingService.() line: 75
      NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native

      method]
      NativeConstructorAccessorImpl.newInstance(Object[]) line: not available
      DelegatingConstructorAccessorImpl.newInstance(Object[]) line: not available
      Constructor.newInstance(Object...) line: not available
      MBeanServerImpl.instantiate(String, ClassLoader, Object[], String[]) line: 1233
      MBeanServerImpl.instantiate(String, ObjectName, Object[], String[]) line: 286
      ServiceCreator.install(ObjectName, ObjectName, Element) line: 193
      ServiceConfigurator.internalInstall(Element, List, ObjectName, boolean) line: 449
      ServiceConfigurator.install(Element, ObjectName) line: 171
      ServiceController.install(Element, ObjectName) line: 226
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      Invocation.invoke() line: 86
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy4.install(Element, ObjectName) line: not available
      SARDeployer.create(DeploymentInfo) line: 249
      MainDeployer.create(DeploymentInfo) line: 969
      MainDeployer.deploy(DeploymentInfo) line: 818
      MainDeployer.deploy(URL) line: 782
      MainDeployer.deploy(String) line: 766
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy5.deploy(String) line: not available
      ServerImpl.doStart() line: 482
      ServerImpl.start() line: 362
      Main.boot(String[]) line: 200
      Main$1.run() line: 490
      Thread.run() line: not available


      After clicking Resume the next exception follows:

      Thread [main] (Suspended (exception NullPointerException))
      SARDeployer.parseDocument(DeploymentInfo) line: 634
      SARDeployer.init(DeploymentInfo) line: 181
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy41.init(DeploymentInfo) line: not available
      XSLSubDeployer.init(DeploymentInfo) line: 187
      MainDeployer.init(DeploymentInfo) line: 872
      MainDeployer.deploy(DeploymentInfo) line: 809
      MainDeployer.deploy(URL) line: 782
      GeneratedMethodAccessor17.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy8.deploy(URL) line: not available
      URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 421
      URLDeploymentScanner.scan() line: 634
      AbstractDeploymentScanner$ScannerThread.doScan() line: 263
      URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 336
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 289
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 245
      GeneratedMethodAccessor2.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      Invocation.invoke() line: 86
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 978
      $Proxy0.start() line: not available
      ServiceController.start(ObjectName) line: 417
      GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      Invocation.invoke() line: 86
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy4.start(ObjectName) line: not available
      SARDeployer.start(DeploymentInfo) line: 302
      MainDeployer.start(DeploymentInfo) line: 1025
      MainDeployer.deploy(DeploymentInfo) line: 819
      MainDeployer.deploy(URL) line: 782
      MainDeployer.deploy(String) line: 766
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy5.deploy(String) line: not available
      ServerImpl.doStart() line: 482
      ServerImpl.start() line: 362
      Main.boot(String[]) line: 200
      Main$1.run() line: 490
      Thread.run() line: not available




      and another error..




      Thread [main] (Suspended (exception NullPointerException))
      SARDeployer.parseDocument(DeploymentInfo) line: 634
      SARDeployer.init(DeploymentInfo) line: 181
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy41.init(DeploymentInfo) line: not available
      XSLSubDeployer.init(DeploymentInfo) line: 187
      MainDeployer.init(DeploymentInfo) line: 872
      MainDeployer.deploy(DeploymentInfo) line: 809
      MainDeployer.deploy(URL) line: 782
      GeneratedMethodAccessor17.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy8.deploy(URL) line: not available
      URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 421
      URLDeploymentScanner.scan() line: 634
      AbstractDeploymentScanner$ScannerThread.doScan() line: 263
      URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 336
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 289
      URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 245
      GeneratedMethodAccessor2.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      Invocation.invoke() line: 86
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 978
      $Proxy0.start() line: not available
      ServiceController.start(ObjectName) line: 417
      GeneratedMethodAccessor9.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      Invocation.invoke() line: 86
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy4.start(ObjectName) line: not available
      SARDeployer.start(DeploymentInfo) line: 302
      MainDeployer.start(DeploymentInfo) line: 1025
      MainDeployer.deploy(DeploymentInfo) line: 819
      MainDeployer.deploy(URL) line: 782
      MainDeployer.deploy(String) line: 766
      NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]
      NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available
      DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available
      Method.invoke(Object, Object...) line: not available
      ReflectedDispatcher.invoke(Invocation) line: 155
      Invocation.dispatch() line: 94
      NullInterceptor(AbstractInterceptor).invoke(Invocation) line: 133
      Invocation.invoke() line: 88
      ModelMBeanOperationInterceptor.invoke(Invocation) line: 142
      Invocation.invoke() line: 88
      XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 264
      MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 659
      MBeanProxyExt.invoke(Object, Method, Object[]) line: 210
      $Proxy5.deploy(String) line: not available
      ServerImpl.doStart() line: 482
      ServerImpl.start() line: 362
      Main.boot(String[]) line: 200
      Main$1.run() line: 490
      Thread.run() line: not available



      The server is starting anyway and seems to work. But I dont know whats wrong. Can anybody tell me what I

      can do to avoid this?

      My console only shows INFO output. How can I change settings for more detailed debug output?