]
Brian Stansberry reassigned WFLY-14044:
---------------------------------------
Assignee: Brian Stansberry (was: Jason Greene)
It goes away with Jandex 2.2.3 as well.
Indexing org.postgresq.jdbc.PgConnection$1 fails
------------------------------------------------
Key: WFLY-14044
URL:
https://issues.redhat.com/browse/WFLY-14044
Project: WildFly
Issue Type: Bug
Affects Versions: 18.0.0.Final
Reporter: Tobias Stadler
Assignee: Brian Stansberry
Priority: Major
If I package postgresql-42.2.18.jar in a war, jandex fails to index it:
{code:java}
09:15:26,059 WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0003:
Could not index class org/postgresql/jdbc/PgConnection$1.class at
/content/foo.war/WEB-INF/lib/postgresql-42.2.18.jar: java.lang.IllegalStateException:
Required class information is missing09:15:26,059 WARN [org.jboss.as.server.deployment]
(MSC service thread 1-8) WFLYSRV0003: Could not index class
org/postgresql/jdbc/PgConnection$1.class at
/content/foo.war/WEB-INF/lib/postgresql-42.2.18.jar: java.lang.IllegalStateException:
Required class information is missing at
org.jboss.jandex.Indexer.rebuildNestedType(Indexer.java:926) at
org.jboss.jandex.Indexer.resolveTypePath(Indexer.java:786) at
org.jboss.jandex.Indexer.resolveTypeAnnotation(Indexer.java:705) at
org.jboss.jandex.Indexer.resolveTypeAnnotations(Indexer.java:613) at
org.jboss.jandex.Indexer.index(Indexer.java:1602) 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:176)
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:1982) at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
at
org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1363)
at java.lang.Thread.run(Thread.java:748){code}