2 Replies Latest reply on Mar 10, 2011 10:23 AM by Randall Hauch

    Exception raised in JBoss Admin Console

    Alessandro Novarini Newbie

      Hello,

       

      I searched for any issue in Jira that looked like this one, I found something but they weren't of much help to me in this case.

       

      I tried to install ModeShape into a clean installation of JBossAS 5.1.0.GA, following the steps in the ModeShape documentation.

      Everything looked correct until I tried to access the Administration Console.

       

      After a few seconds of waiting I have this exception on the console:

       

      11:21:44,749 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null

      11:21:44,758 WARN  [AbstractManagedObjectPopulator] Cannot create String name from non-Simple property: ManagedProperty{JNDIName,JNDIName,metaType=SimpleMetaType:java.lang.String}, value=null

      11:21:48,407 ERROR [modeshape] Exception invoking getRepositoryVersion

      java.lang.reflect.UndeclaredThrowableException: Failed to invoke method 'getRepositoryVersion' on component 'ModeShapeEngine' with parameters [SimpleMetaType:java.lang.String:repository].

                at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:201)

                at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:69)

                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.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:97)

                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)

                at org.jboss.remoting.Client.invoke(Client.java:1724)

                at org.jboss.remoting.Client.invoke(Client.java:629)

                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.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:64)

                at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)

                at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)

                at sun.reflect.GeneratedMethodAccessor286.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:244)

                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:680)

      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:2911)

                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:286)

                at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$3.dispatch(BasicKernelBus.java:96)

                at org.jboss.kernel.plugins.registry.basic.BasicKernelBus$3.dispatch(BasicKernelBus.java:99)

                at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.execute(BasicKernelBus.java:54)

                at org.jboss.kernel.plugins.registry.basic.BasicKernelBus.invoke(BasicKernelBus.java:92)

                at org.jboss.profileservice.management.KernelBusRuntimeComponentDispatcher.invoke(KernelBusRuntimeComponentDispatcher.java:186)

                at org.jboss.profileservice.management.DelegatingComponentDispatcherImpl.invoke(DelegatingComponentDispatcherImpl.java:69)

                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.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:97)

                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)

                at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)

                at org.jboss.remoting.Client.invoke(Client.java:1724)

                at org.jboss.remoting.Client.invoke(Client.java:629)

                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.ManagedOperationDelegate.invoke(ManagedOperationDelegate.java:64)

                at org.modeshape.rhq.plugin.util.ModeShapeManagementView.executeManagedOperation(ModeShapeManagementView.java:211)

                at org.modeshape.rhq.plugin.RepositoryDiscoveryComponent.discoverResources(RepositoryDiscoveryComponent.java:94)

                at sun.reflect.GeneratedMethodAccessor286.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:244)

                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:680)

                at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)

                ... 18 more

       

       

      I thought the installation of ModeShape was everything I needed to have a base working configuration, wasn't it?

      Do I need to configure anything else?

       

      What this problem is related to?

       

      Thanks in advance,

      Ale