Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-6620 JON/Open Console Issues
  3. JBAS-6796

"java.lang.IllegalArgumentException: Null type." error in DelegatingPersistencePlugin.getPlugin() when updating a Datasource or Connection Factory's properties with 'security-domain' prop with null security deployment type

XMLWordPrintable

      It occurs while processing the following property:

      ManagedProperty

      {security-domain,securityMetaData,metaType=GenericMetaType:security-domain}

      and the Security Deployment Type sub-metaValue has a null value.

      The metaValue looks like:

      GenericMetaType:security-domain:ManagedObject

      {security-domain}

      and the persistedProperty looks like:

      PersistedProperty@1b0d4cb

      {name = security-domain, value = null}

      Here's the stack trace:

      11:55:13,454 ERROR [ManagedComponentComponent] Failed to update configuration for ResourceType[id=0, category=Service, name=No Tx ConnectionFactory, plugin=JBos
      sAS5] Resource with key [ConnectionFactory:NoTx:MyNoTxCF].
      java.lang.IllegalArgumentException: Null type.
      at org.jboss.system.server.profileservice.persistence.DelegatingPersistencePlugin.getPlugin(DelegatingPersistencePlugin.java:105)
      at org.jboss.system.server.profileservice.persistence.DelegatingPersistencePlugin.createPersistedManagedObject(DelegatingPersistencePlugin.java:74)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createGenericValue(AbstractValuePersistence.java:259)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createGenericValue(AbstractValuePersistence.java:238)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createPersistedValue(AbstractValuePersistence.java:152)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperty(AbstractManagedObjectPersistencePlugin.java
      :227)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperties(AbstractManagedObjectPersistencePlugin.ja
      va:162)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperties(AbstractManagedObjectPersistencePlugin.ja
      va:131)
      at org.jboss.system.server.profileservice.persistence.DefaultManagedObjectPlugin.createPersistedManagedObject(DefaultManagedObjectPlugin.java:56)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.createPersistedManagedObject(AbstractManagedObjectPersisten
      cePlugin.java:82)
      at org.jboss.system.server.profileservice.persistence.DelegatingPersistencePlugin.createPersistedManagedObject(DelegatingPersistencePlugin.java:75)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createGenericValue(AbstractValuePersistence.java:259)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createGenericValue(AbstractValuePersistence.java:238)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createPersistedValue(AbstractValuePersistence.java:152)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createPersistedValue(AbstractValuePersistence.java:111)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createCollectionValue(AbstractValuePersistence.java:222)
      at org.jboss.system.server.profileservice.persistence.AbstractValuePersistence.createPersistedValue(AbstractValuePersistence.java:147)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperty(AbstractManagedObjectPersistencePlugin.java
      :227)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperties(AbstractManagedObjectPersistencePlugin.ja
      va:162)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.processProperties(AbstractManagedObjectPersistencePlugin.ja
      va:131)
      at org.jboss.system.server.profileservice.persistence.DefaultManagedObjectPlugin.createPersistedManagedObject(DefaultManagedObjectPlugin.java:56)
      at org.jboss.system.server.profileservice.persistence.AbstractManagedObjectPersistencePlugin.createPersistedManagedObject(AbstractManagedObjectPersisten
      cePlugin.java:82)
      at org.jboss.system.server.profileservice.persistence.DelegatingPersistencePlugin.createPersistedManagedObject(DelegatingPersistencePlugin.java:75)
      at org.jboss.system.server.profileservice.persistence.ManagedObjectPeristenceHandler.createPersistenceMetaData(ManagedObjectPeristenceHandler.java:55)
      at org.jboss.system.server.profileservice.repository.AbstractAttachmentStore.createPersistedMetaData(AbstractAttachmentStore.java:560)
      at org.jboss.system.server.profileservice.repository.AbstractAttachmentStore.updateDeployment(AbstractAttachmentStore.java:438)
      at org.jboss.system.server.profileservice.repository.AbstractAttachmentStore.updateDeployment(AbstractAttachmentStore.java:333)
      at org.jboss.profileservice.management.ManagementViewImpl.updateComponent(ManagementViewImpl.java:1218)
      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:908)
      at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
      at org.jboss.remoting.Client.invoke(Client.java:1708)
      at org.jboss.remoting.Client.invoke(Client.java:612)
      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$2.updateComponent(AOPProxy$2.java)
      at org.rhq.plugins.jbossas5.ManagedComponentComponent.updateComponent(ManagedComponentComponent.java:171)
      at org.rhq.plugins.jbossas5.AbstractManagedComponent.updateResourceConfiguration(AbstractManagedComponent.java:90)
      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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
      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:619)
      at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:72)
      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$2.updateComponent(AOPProxy$2.java)
      at org.rhq.plugins.jbossas5.ManagedComponentComponent.updateComponent(ManagedComponentComponent.java:171)
      at org.rhq.plugins.jbossas5.AbstractManagedComponent.updateResourceConfiguration(AbstractManagedComponent.java:90)
      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.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:449)
      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:619)

              emuckenhuber_jira Emanuel Muckenhuber (Inactive)
              ips_jira Ian Springer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: