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

    Exception raised in JBoss Admin Console

    a.novarini

      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

        • 1. Exception raised in JBoss Admin Console
          van.halbert

          There is a problem in the 2.4 jbossas kit and it relates to the loading of the modeshape-initial-content.xml file defined in the modeshape-config.xml file.    This issue has been found (see MODE-1105) and fixed in the current 2.5.   To fix the issue in 2.4, update the modeshape-config.xml file and provide the full path to the modeshape-initial-content.xml file.    

           

          Example:

           

                      <mode:initialContent mode:workspaces="default" mode:applyToNewWorkspaces="true" mode:content="${fullpath}/modeshape-initial-content.xml"/>

          • 2. Exception raised in JBoss Admin Console
            rhauch

            BTW, we hope to release 2.5.0.Beta1 next week.

            1 of 1 people found this helpful