Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1119

Checking ModeShape status in the JBoss AS console results in an exception

    XMLWordPrintable

Details

    Description

      Checking ModeShape status in the JBoss AS embedded console results in (usually several) exceptions in the log. ModeShape doesn't fully start.

      2011-03-17 16:19:30,896 WARN  [org.rhq.core.pc.inventory.InventoryManager] (InventoryManager.discovery-1) Failure during discovery for [Repositories] Resources - failed after 103 ms.
      java.lang.Exception: Discovery component invocation failed.
      	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:283)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'getRepositoryVersion' on component 'ModeShapeEngine' with parameters [SimpleMetaType:java.lang.String:eds].
      	at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:201)
      	at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
      	at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
      	at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      	at org.jboss.remoting.Client.invoke(Client.java:2034)
      	at org.jboss.remoting.Client.invoke(Client.java:877)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
      	at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
      	at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)
      	at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)
      	at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279)
      	... 5 more
      Caused by: java.lang.IllegalArgumentException: The stream argument may not be null
      	at org.modeshape.common.util.CheckArg.isNotNull(CheckArg.java:387)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2729)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2945)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2923)
      	at org.modeshape.graph.connector.xmlfile.XmlFileRepositorySource.getConnection(XmlFileRepositorySource.java:263)
      	at org.modeshape.graph.Graph$3.createConnection(Graph.java:181)
      	at org.modeshape.graph.Graph.execute(Graph.java:278)
      	at org.modeshape.graph.Graph$5.process(Graph.java:226)
      	at org.modeshape.graph.request.RequestBuilder.verifyWorkspace(RequestBuilder.java:72)
      	at org.modeshape.graph.Graph.useWorkspace(Graph.java:377)
      	at org.modeshape.graph.Graph.getCurrentWorkspace(Graph.java:352)
      	at org.modeshape.graph.Graph.getCurrentWorkspaceName(Graph.java:337)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2493)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2497)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2491)
      	at org.modeshape.graph.GraphMerger.merge(GraphMerger.java:73)
      	at org.modeshape.graph.Graph.merge(Graph.java:2985)
      	at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:421)
      	at org.modeshape.jcr.JcrEngine.getRepository(JcrEngine.java:271)
      	at org.modeshape.jboss.managed.ManagedEngine.getRepository(ManagedEngine.java:375)
      	at org.modeshape.jboss.managed.ManagedEngine.getRepositoryVersion(ManagedEngine.java:395)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      	at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
      	at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:291)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
      	at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
      	at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:186)
      	at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
      	at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
      	at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      	at org.jboss.remoting.Client.invoke(Client.java:2034)
      	at org.jboss.remoting.Client.invoke(Client.java:877)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
      	at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
      	at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)
      	at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)
      	at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
      	... 18 more
      2011-03-17 16:20:43,519 ERROR [org.modeshape] (ResourceDiscoveryComponent.invoker.daemon-3) Exception invoking getRepositoryVersion
      java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'getRepositoryVersion' on component 'ModeShapeEngine' with parameters [SimpleMetaType:java.lang.String:eds].
      	at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:201)
      	at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
      	at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
      	at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      	at org.jboss.remoting.Client.invoke(Client.java:2034)
      	at org.jboss.remoting.Client.invoke(Client.java:877)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
      	at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
      	at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)
      	at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)
      	at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      Caused by: java.lang.IllegalArgumentException: The stream argument may not be null
      	at org.modeshape.common.util.CheckArg.isNotNull(CheckArg.java:387)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2729)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2945)
      	at org.modeshape.graph.Graph.importXmlFrom(Graph.java:2923)
      	at org.modeshape.graph.connector.xmlfile.XmlFileRepositorySource.getConnection(XmlFileRepositorySource.java:263)
      	at org.modeshape.graph.Graph$3.createConnection(Graph.java:181)
      	at org.modeshape.graph.Graph.execute(Graph.java:278)
      	at org.modeshape.graph.Graph$5.process(Graph.java:226)
      	at org.modeshape.graph.request.RequestBuilder.verifyWorkspace(RequestBuilder.java:72)
      	at org.modeshape.graph.Graph.useWorkspace(Graph.java:377)
      	at org.modeshape.graph.Graph.getCurrentWorkspace(Graph.java:352)
      	at org.modeshape.graph.Graph.getCurrentWorkspaceName(Graph.java:337)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2493)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2497)
      	at org.modeshape.graph.Graph$26.at(Graph.java:2491)
      	at org.modeshape.graph.GraphMerger.merge(GraphMerger.java:73)
      	at org.modeshape.graph.Graph.merge(Graph.java:2985)
      	at org.modeshape.jcr.JcrEngine.doCreateJcrRepository(JcrEngine.java:421)
      	at org.modeshape.jcr.JcrEngine.getRepository(JcrEngine.java:271)
      	at org.modeshape.jboss.managed.ManagedEngine.getRepository(ManagedEngine.java:375)
      	at org.modeshape.jboss.managed.ManagedEngine.getRepositoryVersion(ManagedEngine.java:395)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
      	at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
      	at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
      	at org.jboss.beans.info.plugins.AbstractBeanInfo.invoke(AbstractBeanInfo.java:300)
      	at org.jboss.kernel.plugins.dependency.AbstractKernelControllerContext.invoke(AbstractKernelControllerContext.java:291)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:61)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus$1.dispatch(LifecycleAwareKernelBus.java:58)
      	at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:71)
      	at org.jboss.kernel.plugins.registry.basic.LifecycleAwareKernelBus.invoke(LifecycleAwareKernelBus.java:57)
      	at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:186)
      	at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:103)
      	at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:121)
      	at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82)
      	at org.jboss.profileservice.remoting.ProfileServiceInvocationHandler.invoke(ProfileServiceInvocationHandler.java:99)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:930)
      	at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      	at org.jboss.remoting.Client.invoke(Client.java:2034)
      	at org.jboss.remoting.Client.invoke(Client.java:877)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:60)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.remoting.MergeMetaDataInterceptor.invoke(MergeMetaDataInterceptor.java:74)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)
      	at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
      	at org.jboss.aop.generatedproxies.AOPProxy$1.invoke(AOPProxy$1.java)
      	at org.jboss.profileservice.management.client.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:63)
      	at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)
      	at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)
      	at sun.reflect.GeneratedMethodAccessor469.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.rhq.core.pc.util.DiscoveryComponentProxyFactory$ComponentInvocationThread.call(DiscoveryComponentProxyFactory.java:279)
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      	at java.lang.Thread.run(Thread.java:662)
      	at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
      	... 18 more
      

      Attachments

        Activity

          People

            rhauch Randall Hauch (Inactive)
            rhauch Randall Hauch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: