Spring Framework 3.1 org.springframework.asm.ClassReader ArrayIndexOutOfBoundsException in JBoss EAP 7

Solution Unverified - Updated -

Issue

  • Application failing to deploy in JBoss EAP 7.3 with this exception:
Caused by: java.lang.ArrayIndexOutOfBoundsException: 20485
  at org.springframework.asm.ClassReader.<init>(Unknown Source) [org.springframework.asm-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.asm.ClassReader.<init>(Unknown Source) [org.springframework.asm-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.asm.ClassReader.<init>(Unknown Source) [org.springframework.asm-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:52) [org.springframework.core-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:80) [org.springframework.core-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.core.type.classreading.CachingMetadataReaderFactory.getMetadataReader(CachingMetadataReaderFactory.java:101) [org.springframework.core-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:237) [org.springframework.context-3.1.3.RELEASE.jar:3.1.3.RELEASE]
  ... 44 more

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 7.3
  • Spring Framework 3.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content