Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14604

(7.1.z) IllegalStateException: Constructor is unexpectedly inaccessible

XMLWordPrintable

    • CR1
    • Hide

      This can be reproduced with most of the integration tests from the org.jboss.as.test.integration.batch package using IBM JDK.
      For example ChunkPartitionTestCase#testSuspend

      Show
      This can be reproduced with most of the integration tests from the org.jboss.as.test.integration.batch package using IBM JDK. For example ChunkPartitionTestCase#testSuspend
    • EAP 7.1.3

      Looks like the upgrade of JBoss Marshalling to 2.0.4.Final-redhat-1 introduced JBMAR-219 .
      This is no longer an issue with new builds of Oracle and OpenJDK, but the issue is still present on IBM JDK. Even on the latest update as of now (8.0.5.11).

      Most of the batch integration tests are failing with

      java.lang.IllegalStateException: Constructor is unexpectedly inaccessible
      	at org.jboss.marshalling.reflect.SerializableClass.invokeConstructorNoException(SerializableClass.java:377)
      	at org.jboss.marshalling.reflect.SerializableClass.callNonInitConstructor(SerializableClass.java:332)
      	at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:248)
      	at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:130)
      	at org.jboss.marshalling.cloner.SerializingCloner.cloneFields(SerializingCloner.java:391)
      	at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:311)
      	at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:279)
      	at org.jboss.marshalling.cloner.SerializingCloner.initSerializableClone(SerializingCloner.java:279)
      	at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:254)
      	at org.jboss.marshalling.cloner.SerializingCloner.clone(SerializingCloner.java:130)
      	at org.jberet.util.BatchUtil.clone(BatchUtil.java:132)
      

      This is a regression against EAP 7.1.1

            rhn-cservice-bbaranow Bartosz Baranowski
            pmackay@redhat.com Peter Mackay
            Peter Mackay Peter Mackay
            Peter Mackay Peter Mackay
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: