Startup crash under eclipse
nfg May 2, 2005 3:18 PMHi,
I've recently started to experience debug traps when starting JBoss-3.2.7 under Eclipse 3 (all on windows xp, j2sdk-1.4.2_06). Here's a stacktrace of the first exception encountered:
Thread [main] (Suspended (exception NullPointerException)) InputStreamReader(Reader).<init>(Object) line: 61 InputStreamReader.<init>(InputStream, String) line: 80 PropertyMap(Properties).load(InputStream) line: 266 Main.<init>(String) line: 103 NamingService.<init>() line: 57 NativeConstructorAccessorImpl.newInstance0(Constructor, Object[]) line: not available [native method] NativeConstructorAccessorImpl.newInstance(Object[]) line: 39 DelegatingConstructorAccessorImpl.newInstance(Object[]) line: 27 Constructor.newInstance(Object[]) line: 274 MBeanServerImpl.instantiate(String, ClassLoader, Object[], String[]) line: 871 MBeanServerImpl.instantiate(String, ObjectName, Object[], String[]) line: 290 ServiceCreator.install(ObjectName, ObjectName, Element) line: 160 ServiceConfigurator.internalInstall(Element, List, ObjectName, boolean) line: 152 ServiceConfigurator.install(Element, ObjectName) line: 117 ServiceController.install(Element, ObjectName) line: 199 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60a Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 $Proxy4.install(Element, ObjectName) line: not available SARDeployer.create(DeploymentInfo) line: 204 MainDeployer.create(DeploymentInfo) line: 783 MainDeployer.deploy(DeploymentInfo) line: 640 MainDeployer.deploy(URL) line: 604 MainDeployer.deploy(String) line: 588 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 $Proxy5.deploy(String) line: not available ServerImpl.doStart() line: 407 ServerImpl.start() line: 311 Main.boot(String[]) line: 191 Main$1.run() line: 480 Thread.run() line: 534
Clicking continue in the eclipse debugger lets it continue until the following message is displayed:
21:07:38,343 INFO [RARMetaData] Required license terms present. See deployment descriptor.
and then the following exception is trapped by the debugger multiple times:
Thread [main] (Suspended (exception NullPointerException)) SARDeployer.parseDocument(DeploymentInfo) line: 540 SARDeployer.init(DeploymentInfo) line: 137 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 JMXInvocationHandler.invoke(Object, Method, Object[]) line: 274 $Proxy26.init(DeploymentInfo) line: not available XSLSubDeployer.init(DeploymentInfo) line: 210 MainDeployer.init(DeploymentInfo) line: 696 MainDeployer.deploy(DeploymentInfo) line: 631 MainDeployer.deploy(URL) line: 604 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 $Proxy8.deploy(URL) line: not available URLDeploymentScanner.deploy(URLDeploymentScanner$DeployedURL) line: 304 URLDeploymentScanner.scan() line: 478 AbstractDeploymentScanner$ScannerThread.doScan() line: 201 URLDeploymentScanner(AbstractDeploymentScanner).startService() line: 274 URLDeploymentScanner(ServiceMBeanSupport).jbossInternalStart() line: 271 URLDeploymentScanner(ServiceMBeanSupport).jbossInternalLifecycle(String) line: 221 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 ServiceController$ServiceProxy.invoke(Object, Method, Object[]) line: 899 $Proxy0.start() line: not available ServiceController.start(ObjectName) line: 415 GeneratedMethodAccessor5.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 $Proxy4.start(ObjectName) line: not available SARDeployer.start(DeploymentInfo) line: 251 MainDeployer.start(DeploymentInfo) line: 829 MainDeployer.deploy(DeploymentInfo) line: 641 MainDeployer.deploy(URL) line: 604 MainDeployer.deploy(String) line: 588 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 ReflectedDispatcher.dispatch(Object[]) line: 60 Invocation.dispatch(Object[]) line: 62 Invocation.dispatch() line: 54 Invocation.invoke() line: 82 XMBean(AbstractMBeanInvoker).invoke(String, Object[], String[]) line: 198 MBeanServerImpl.invoke(ObjectName, String, Object[], String[]) line: 473 MBeanProxyExt.invoke(Object, Method, Object[]) line: 176 $Proxy5.deploy(String) line: not available ServerImpl.doStart() line: 407 ServerImpl.start() line: 311 Main.boot(String[]) line: 191 Main$1.run() line: 480 Thread.run() line: 534
I am still in the process of downloading the source for 3.2.7 to see if I could maybe figure out what is going on.
I am running the "default" server with the iiop-service activated on postgreSQL 8.0.0-rc1 (and it's accompanying jdbc driver).
If anyone has seen this before and can offer some help it would be appreciated.
Regards.