[
https://jira.jboss.org/jira/browse/JBAS-6796?page=com.atlassian.jira.plug...
]
Ian Springer reopened JBAS-6796:
--------------------------------
Emanuel,
Did you mark this as resolved, because you thought we could update the Jopr jbas5
plugin's GenericValue adapter code to set the missing field(s) on the wrapped
ManagedObject? If so, I'll need a little direction. Is attachmentName the only field I
need to set, or are there others? What should I set the attachment name to for the
security-domain property?
You mentioned that you thought it was a good idea to represent the security-domain prop as
a CompositeValue, rather than a GenericValue wrapping an MO. Is that something you plan on
doing in the CR1 timeframe?
Thanks.
"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
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBAS-6796
URL:
https://jira.jboss.org/jira/browse/JBAS-6796
Project: JBoss Application Server
Issue Type: Sub-task
Security Level: Public(Everyone can see)
Components: ProfileService
Reporter: Ian Springer
Assignee: Emanuel Muckenhuber
Fix For: JBossAS-5.1.0.CR1
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira