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

Warning java.lang.IllegalStateException: Required class information is missing with the latest PostgreSQL jdbc driver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.0.GA
    • 7.4.0.Beta
    • Classloading
    • None
    • False
    • False
    • Undefined
      1. start server
      2. copy jdbc driver to JBOSS_HOME/standalone/server/deployments

      There is a warning logged when the latest PostgreSQL JDBC driver is deployed.

      11:34:25,750 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0003: Could not index class org/postgresql/jdbc/PgConnection$1.class at /content/postgresql-42.2.18.jar: java.lang.IllegalStateException: Required class information is missing
              at org.jboss.jandex.Indexer.rebuildNestedType(Indexer.java:932)
              at org.jboss.jandex.Indexer.resolveTypePath(Indexer.java:792)
              at org.jboss.jandex.Indexer.resolveTypeAnnotation(Indexer.java:711)
              at org.jboss.jandex.Indexer.resolveTypeAnnotations(Indexer.java:619)
              at org.jboss.jandex.Indexer.index(Indexer.java:1613)
              at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
              at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
              at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
              at java.lang.Thread.run(Thread.java:748)
      
      11:34:25,805 WARN  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0003: Could not index class org/postgresql/util/LruCache.class at /content/postgresql-42.2.18.jar: java.lang.ArrayIndexOutOfBoundsException: 1
              at org.jboss.jandex.Indexer.updateTypeTarget(Indexer.java:847)
              at org.jboss.jandex.Indexer.updateTypeTargets(Indexer.java:630)
              at org.jboss.jandex.Indexer.index(Indexer.java:1614)
              at org.jboss.as.server.deployment.annotation.ResourceRootIndexer.indexResourceRoot(ResourceRootIndexer.java:99)
              at org.jboss.as.server.deployment.annotation.AnnotationIndexProcessor.deploy(AnnotationIndexProcessor.java:51)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
              at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
              at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
              at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1990)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
              at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
              at java.lang.Thread.run(Thread.java:748)
      

              thofman Tomas Hofman
              msimka@redhat.com Martin Simka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: