1 Attachment(s)
Jboss: ArrayIndexOutOfBoundsException in org.springframework.asm.ClassReader
Hi guys!
I have web-based spring (3.0.5 version) application deployed on Jboss 5.1.0
Some time ago I have made some project refactoring (:mad:) and changed/moved a lot of classes and spring's configs.
Since this time jboss cannot deploy my application with strange error:
PHP Code:
..
22:47:42,121 INFO ( main) [ STDOUT] 22:47:42,121 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/classes/spring/app-config.xml]
22:47:42,810 INFO ( main) [ STDOUT] 22:47:42,768 ERROR [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: FileHandler@13910568[path=ScoreCard.ear/ScoreCard.war/WEB-INF/classes/com/lex/scoreCard/web/config/ControllerToJsPanelMapping.class context=file:/C:/java/views/third-party/jboss/jboss-5.1.0.GA/s
erver/ScoreCard/deploy/ real=file:/C:/java/views/third-party/jboss/jboss-5.1.0.GA/server/ScoreCard/deploy/ScoreCard.ear/ScoreCard.war/WEB-INF/classes/com/lex/scoreCard/web/config/ControllerToJsPanelMapping.class]; nested exception is java.lang.ArrayIndexOutOfBoundsException: 944
....
Caused by: java.lang.ArrayIndexOutOfBoundsException: 944
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.asm.ClassReader.<init>(Unknown Source)
at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:48)
...
I have attached full jboss log and app-config.xml. Please find them in zip-file in attachment.
Unfortunately there are no sources for package org.springframework.asm in spring sources and I cannot debug this issue.
Did somebody face such issue and solve it or know what can raise ArrayIndexOutOfBoundsException in ClassReader?
Thanks,
Alexey