weblogic - java.lang.ArrayIndexOutOfBoundsException while Deploying app in WLS 12 -
i getting error while deploying app in weblogic.
<oct 3, 2013 12:18:00 pm ist> <error> <deployer> <bea-149205> <failed initialize application "myapp" due error java.lang.arrayindexoutofboundsexception: 4818 8 java.lang.arrayindexoutofboundsexception: 48188 @ com.bea.objectweb.asm.classreader.readclass(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ weblogic.application.utils.annotation.classinfoimpl.<init>(classinfoimpl.java:45) @ weblogic.application.utils.annotation.classfinderclassinfos.polulateoneclassinfo(classfinderclassinfos.java:145) truncated. see log file complete stacktrace caused by: java.lang.arrayindexoutofboundsexception: 48188 @ com.bea.objectweb.asm.classreader.readclass(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ weblogic.application.utils.annotation.classinfoimpl.<init>(classinfoimpl.java:45) @ weblogic.application.utils.annotation.classfinderclassinfos.polulateoneclassinfo(classfinderclassinfos.java:145) truncated. see log file complete stacktrace >
i understand because of class not getting loaded correctly, how find it? using hotspot 1.7, , on using -verbose:class not able figure out incorrectly loaded class.
here listing having verbose class loading enabled.
[loaded com.bea.objectweb.asm.fieldvisitor file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.methodvisitor file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.annotationvisitor file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.commons.emptyvisitor file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm.commons_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.classreader file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.attribute file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded com.bea.objectweb.asm.methodwriter file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded weblogic.servlet.internal.webappinternalmoduleextension$persistenceextension file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded weblogic.servlet.internal.webappinternalmoduleextension$springinstrumentationextension file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded weblogic.cacheprovider.coherence.coherenceclustercontainer file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded weblogic.servlet.internal.webappinternalmoduleextension$coherencecacheextension file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded weblogic.utils.enumerations.fileenumeration file:/c:/oracle/middleware/modules/com.bea.core.utils_2.0.0.0.jar] [loaded weblogic.utils.classloaders.directoryclassfinder$1 file:/c:/oracle/middleware/modules/com.bea.core.utils.classloaders_3.0.0.0.jar] [loaded weblogic.utils.enumerations.emptyfilecontainerexception file:/c:/oracle/middleware/modules/com.bea.core.utils_2.0.0.0.jar] [loaded weblogic.utils.enumerations.fileenumeration$nulldirectorylistexception file:/c:/oracle/middleware/modules/com.bea.core.utils_2.0.0.0.jar] [loaded weblogic.utils.enumerations.filecontainer file:/c:/oracle/middleware/modules/com.bea.core.utils_2.0.0.0.jar] [loaded weblogic.utils.enumerations.lifo_filecontainer file:/c:/oracle/middleware/modules/com.bea.core.utils_2.0.0.0.jar] [loaded com.bea.objectweb.asm.type file:/c:/oracle/middleware/modules/com.bea.core.repackaged.asm_1.2.0.0_3-2-0.jar] [loaded weblogic.application.internal.flow.modulestatedriver$destroystatechange file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded weblogic.application.utils.exceptionutils file:/c:/oracle/middleware/wlserver_12.1/server/lib/weblogic.jar] [loaded javax.management.runtimeerrorexception c:\java\jdk\jdk17~1.0_1\jre\lib\rt.jar] [loaded com.bea.logging.throwablewrapper file:/c:/oracle/middleware/modules/com.bea.core.logging_2.0.0.0.jar] <oct 3, 2013 11:51:20 ist> <error> <deployer> <bea-149205> <failed initialize application "myapp" due error java.lang.arrayindexoutofboundsexception: 48188 java.lang.arrayindexoutofboundsexception: 48188 @ com.bea.objectweb.asm.classreader.readclass(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ weblogic.application.utils.annotation.classinfoimpl.<init>(classinfoimpl.java:45) @ weblogic.application.utils.annotation.classfinderclassinfos.polulateoneclassinfo(classfinderclassinfos.java:145) truncated. see log file complete stacktrace caused by: java.lang.arrayindexoutofboundsexception: 48188 @ com.bea.objectweb.asm.classreader.readclass(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ com.bea.objectweb.asm.classreader.accept(unknown source) @ weblogic.application.utils.annotation.classinfoimpl.<init>(classinfoimpl.java:45) @ weblogic.application.utils.annotation.classfinderclassinfos.polulateoneclassinfo(classfinderclassinfos.java:145) truncated. see log file complete stacktrace
any hints how proceed furthur?
thanks!
basically, it's bad class file inside deployment. libs have those.
what's wrong there weblogic 12c not catching exception , logging culprit 1 find out 1 is. raise issue oracle that.
see similar issue in geronimo changed message warn , not preventing deployment.
a hint file might problematic in 12c loading resource classes did not in previous versions, if app works in previous version, might due that.
as how find out class is, hook debugging weblogic instance , add exception breakpoint on java.lang.arrayindexoutofboundsexception, try examine context find out parameters.
Weblogic - Java.Lang.Arrayindexoutofboundsexception While Deploying App
ReplyDeleteIn Wls 12 - >>>>> Download Now
>>>>> Download Full
Weblogic - Java.Lang.Arrayindexoutofboundsexception While Deploying App
In Wls 12 - >>>>> Download LINK
>>>>> Download Now
Weblogic - Java.Lang.Arrayindexoutofboundsexception While Deploying App
In Wls 12 - >>>>> Download Full
>>>>> Download LINK US