[ https://issues.apache.org/jira/browse/FELIX-3101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096056#comment-13096056 ]
Karl Pauls commented on FELIX-3101: ----------------------------------- Looks like a bug. I think its using the wrong queue by mistake. In any case, your dirty fix should be fine for now - I'll try to fix the real problem asap. > ClassCastException in Permissions class > --------------------------------------- > > Key: FELIX-3101 > URL: https://issues.apache.org/jira/browse/FELIX-3101 > Project: Felix > Issue Type: Bug > Components: Conditional Permission Admin > Affects Versions: framework.security-1.4.1 > Environment: mika with maximum java heap size of 10M > Reporter: Andie Similon > Assignee: Karl Pauls > > In the cleanUp function of Permission.java we get a ClassCastException. It > tries casting a SoftReference to Entry. > We currently did a dirty fix where we first check if the object from the > ReferenceQueue is a Entry object or not before we cast it. > Any idea what the cause is? -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira