[infinispan-issues] [JBoss JIRA] (ISPN-1520) IllegalAccessError when running Infinispan servers within AS7

Galder Zamarreño (Created) (JIRA) jira-events at lists.jboss.org
Thu Nov 10 12:09:45 EST 2011


IllegalAccessError when running Infinispan servers within AS7
-------------------------------------------------------------

                 Key: ISPN-1520
                 URL: https://issues.jboss.org/browse/ISPN-1520
             Project: Infinispan
          Issue Type: Bug
          Components: Cache Server
    Affects Versions: 5.1.0.BETA2
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
            Priority: Blocker
             Fix For: 5.1.0.BETA5


Apparently package protected access does not work between classloaders, so Infinispan servers are not currently usable in EDG!

17:13:35,468 WARNING [org.jboss.netty.channel.DefaultChannelPipeline] (HotRodServerWorker-2-1) An exception was thrown by a user handler while handling an exception event ([id: 0x02916ab8, /127.0.0.1:58211 => /127.0.0.1:11222] EXCEPTION: java.lang.IllegalAccessError: tried to access class org.jboss.netty.handler.codec.replay.UnsafeDynamicChannelBuffer from class org.jboss.netty.handler.codec.replay.CustomReplayingDecoder): java.lang.NullPointerException
	at org.jboss.netty.handler.codec.replay.CustomReplayingDecoder.slimDownBuffer(CustomReplayingDecoder.java:178) [infinispan-server-core-5.1.0-SNAPSHOT.jar:5.1.0-SNAPSHOT]

Forget about the NPE, the root cause is the IllegalAccessError.

There're different avenues to get around the issue... I'm starting a dev thread on this.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list