ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Offermans (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACE-467) Stack trace on client in workspace with unregistered targets
Date Thu, 17 Apr 2014 08:54:30 GMT

     [ https://issues.apache.org/jira/browse/ACE-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcel Offermans updated ACE-467:
---------------------------------

    Fix Version/s: next

> Stack trace on client in workspace with unregistered targets
> ------------------------------------------------------------
>
>                 Key: ACE-467
>                 URL: https://issues.apache.org/jira/browse/ACE-467
>             Project: ACE
>          Issue Type: Bug
>          Components: Client Repository
>            Reporter: Marcel Offermans
>            Assignee: Marcel Offermans
>             Fix For: next
>
>
> I am getting the following messages in my log (with a repository containing unregistered
targets):
> {code}
> [Warn ] [023]org.apache.ace.client.repository.stateful.StatefulTargetRepository;org.osgi.service.event.EventHandler:
EventAdmin: Exception during event dispatch [org.osgi.service.event.Event [topic=org/apache/ace/client/repository/private/Artifact2FeatureAssociation/REMOVED]
| [org.apache.ace.client.repository.stateful.StatefulTargetRepository, org.osgi.service.event.EventHandler]
| Bundle(org.apache.ace.client.repository.impl [23])]
> java.lang.IllegalStateException: This StatefulTargetObject is not backed by a TargetObject.
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.ensureTargetPresent(StatefulTargetObjectImpl.java:486)
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetObjectImpl.getDistributions(StatefulTargetObjectImpl.java:524)
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.isReachableFrom(StatefulTargetRepositoryImpl.java:891)
> 	at org.apache.ace.client.repository.stateful.impl.StatefulTargetRepositoryImpl.handleEvent(StatefulTargetRepositoryImpl.java:818)
> 	at org.apache.felix.eventadmin.impl.tasks.HandlerTaskImpl.execute(HandlerTaskImpl.java:88)
> 	at org.apache.felix.eventadmin.impl.tasks.SyncDeliverTasks.execute(SyncDeliverTasks.java:221)
> 	at org.apache.felix.eventadmin.impl.EventAdminImpl.handleEvent(EventAdminImpl.java:165)
> 	at org.apache.felix.eventadmin.impl.EventAdminImpl.sendEvent(EventAdminImpl.java:108)
> 	at org.apache.felix.eventadmin.impl.security.EventAdminSecurityDecorator.sendEvent(EventAdminSecurityDecorator.java:94)
> 	at org.apache.ace.client.repository.impl.ChangeNotifierManager.sendEvent(ChangeNotifierManager.java:67)
> 	at org.apache.ace.client.repository.impl.ChangeNotifierImpl.notifyChanged(ChangeNotifierImpl.java:80)
> 	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.notifyChanged(ObjectRepositoryImpl.java:185)
> 	at org.apache.ace.client.repository.impl.AssociationRepositoryImpl.notifyChanged(AssociationRepositoryImpl.java:44)
> 	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.notifyEntityChanged(ObjectRepositoryImpl.java:354)
> 	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.internalRemove(ObjectRepositoryImpl.java:311)
> 	at org.apache.ace.client.repository.impl.ObjectRepositoryImpl.remove(ObjectRepositoryImpl.java:192)
> 	at org.apache.ace.client.repository.impl.AssociationRepositoryImpl.remove(AssociationRepositoryImpl.java:114)
> 	at org.apache.ace.client.repository.impl.AssociationRepositoryImpl.remove(AssociationRepositoryImpl.java:44)
> 	at org.apache.ace.client.workspace.impl.WorkspaceImpl.deleteRepositoryObject(WorkspaceImpl.java:415)
> 	at org.apache.ace.client.workspace.impl.WorkspaceImpl.da2f(WorkspaceImpl.java:544)
> 	at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
> 	at org.apache.felix.gogo.runtime.Closure.executeMethod(Closure.java:527)
> 	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
> 	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
> 	at org.apache.felix.gogo.shell.Procedural.each(Procedural.java:43)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137){code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message