Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-4019

'Invalid logger' ExceptionInInitializerError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.3.3.Final
    • 7.3.1.Final, 7.3.2.Final
    • Build System
    • None

      After merging https://issues.redhat.com/browse/JBTM-4017 we encountered the following error in projects consuming narayana:

      java.lang.ExceptionInInitializerError
      	at com.arjuna.common.internal.util.ClassloadingUtility.loadClass(ClassloadingUtility.java:61)
      	at com.arjuna.common.internal.util.ClassloadingUtility.loadAndInstantiateClass(ClassloadingUtility.java:106)
      	at com.arjuna.common.internal.util.ClassloadingUtility.loadAndInstantiateClass(ClassloadingUtility.java:98)
      	at com.arjuna.ats.jta.common.JTAEnvironmentBean.getTransactionManager(JTAEnvironmentBean.java:175)
      	at com.arjuna.ats.jta.TransactionManager.transactionManager(TransactionManager.java:47)
      	at com.arjuna.ats.internal.jdbc.ConnectionImple.close(ConnectionImple.java:264)
      .....
      Caused by: java.lang.IllegalArgumentException: Invalid logger interface com.arjuna.common.logging.commonI18NLogger (implementation not found)
      	at org.jboss.logging.Logger.doGetMessageLogger(Logger.java:2630)
      	at org.jboss.logging.Logger.getMessageLogger(Logger.java:2536)
      	at org.jboss.logging.Logger.getMessageLogger(Logger.java:2521)
      	at com.arjuna.common.logging.commonLogger.<clinit>(commonLogger.java:16)
      	... 10 more
      

      That is because there is a misuse of tag for annotationProcessorPaths list of processors. It is `path` instead of `annotationProcessorPath`.

              rh-ee-msappegr Marco Sappe Griot
              rh-ee-msappegr Marco Sappe Griot
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: