Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-6475

Exclude drools-mvel from drools-alphanetwork-compiler

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 7.57.0.Final
    • 7.56.0.Final
    • core engine
    • None
    • 2021 Week 25-27 (from Jun 21)
    • 1
    • Undefined
    • NEW
    • NEW

      drools-alphanetwork-compiler depends on drools-mvel but it doesn't seem to be necessary. Rather, it causes native compilation issues in kogito.

      Error: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
      Detailed message:
      Trace: Object was reached by
          reading field java.util.concurrent.ConcurrentHashMap$Node.val of
              constant java.util.concurrent.ConcurrentHashMap$Node@1d12c61 reached by
          indexing into array
              constant java.util.concurrent.ConcurrentHashMap$Node[]@446a5a4 reached by
          reading field java.util.concurrent.ConcurrentHashMap.table of
              constant java.util.concurrent.ConcurrentHashMap@28bda969 reached by
          reading field java.io.FilePermissionCollection.perms of
              constant java.io.FilePermissionCollection@2c367026 reached by
          reading field java.util.concurrent.ConcurrentHashMap$Node.val of
              constant java.util.concurrent.ConcurrentHashMap$Node@1f652cf4 reached by
          indexing into array
              constant java.util.concurrent.ConcurrentHashMap$Node[]@33a976b1 reached by
          reading field java.util.concurrent.ConcurrentHashMap.table of
              constant java.util.concurrent.ConcurrentHashMap@28c45f16 reached by
          reading field java.security.Permissions.permsMap of
              constant java.security.Permissions@37cbd558 reached by
          reading field java.security.ProtectionDomain.permissions of
              constant java.security.ProtectionDomain@32c11036 reached by
          scanning method org.drools.mvel.asm.ClassFieldAccessorFactory.getClassFieldReader(ClassFieldAccessorFactory.java:120)
      Call path from entry point to org.drools.mvel.asm.ClassFieldAccessorFactory.getClassFieldReader(Class, String, ClassFieldAccessorCache$CacheEntry):
          at org.drools.mvel.asm.ClassFieldAccessorFactory.getClassFieldReader(ClassFieldAccessorFactory.java:90)
          at org.drools.core.base.ClassFieldAccessorCache$CacheEntry.getReadAccessor(ClassFieldAccessorCache.java:179)
          at org.drools.core.base.ClassFieldAccessorCache.getReadAcessor(ClassFieldAccessorCache.java:96)
          at org.drools.core.base.ClassFieldAccessorStore.wire(ClassFieldAccessorStore.java:271)
          at org.drools.core.base.ClassFieldAccessorStore.merge(ClassFieldAccessorStore.java:214)
          at org.drools.core.impl.KnowledgeBaseImpl.internalAddPackages(KnowledgeBaseImpl.java:904)
          at org.drools.core.impl.KnowledgeBaseImpl.lambda$addPackages$2(KnowledgeBaseImpl.java:731)
          at org.drools.core.impl.KnowledgeBaseImpl$$Lambda$1331/0x00000007c2401040.run(Unknown Source)
          at java.lang.Thread.run(Thread.java:829)
          at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:553)
          at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
          at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
      
      com.oracle.svm.core.util.UserError$UserException: No instances of java.io.FilePermission are allowed in the image heap as this class should be initialized at image runtime. To see how this object got instantiated use --trace-object-instantiation=java.io.FilePermission.
      Detailed message:
      

              rhn-support-tkobayas Toshiya Kobayashi
              rhn-support-tkobayas Toshiya Kobayashi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: