struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Hintenaus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (WW-4866) ASM 5.2 and Java 9 leads to IllegalArgumentException
Date Tue, 03 Oct 2017 13:12:00 GMT
Michael Hintenaus created WW-4866:
-------------------------------------

             Summary: ASM 5.2 and Java 9 leads to IllegalArgumentException
                 Key: WW-4866
                 URL: https://issues.apache.org/jira/browse/WW-4866
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Convention
    Affects Versions: 2.5.13
         Environment: Java 9
            Reporter: Michael Hintenaus
            Priority: Critical


With ASM 5.2 and Java 9 I will get the following Stacktrace:

java.lang.IllegalArgumentException
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.objectweb.asm.ClassReader.<init>(Unknown Source)
	at org.apache.struts2.convention.DefaultClassFinder.readClassDef(DefaultClassFinder.java:461)
	at org.apache.struts2.convention.DefaultClassFinder.access$200(DefaultClassFinder.java:52)
	at org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor.extractSuperInterfaces(DefaultClassFinder.java:514)
	at org.apache.struts2.convention.DefaultClassFinder$InfoBuildingVisitor.visit(DefaultClassFinder.java:501)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at org.objectweb.asm.ClassReader.accept(Unknown Source)
	at org.apache.struts2.convention.DefaultClassFinder.readClassDef(DefaultClassFinder.java:462)
	at org.apache.struts2.convention.DefaultClassFinder.<init>(DefaultClassFinder.java:93)
	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildClassFinder(PackageBasedActionConfigBuilder.java:395)
	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions(PackageBasedActionConfigBuilder.java:377)
	at org.apache.struts2.convention.PackageBasedActionConfigBuilder.buildActionConfigs(PackageBasedActionConfigBuilder.java:333)
	at org.apache.struts2.convention.ClasspathPackageProvider.loadPackages(ClasspathPackageProvider.java:52)
	at com.opensymphony.xwork2.config.impl.DefaultConfiguration.reloadContainer(DefaultConfiguration.java:198)
	at com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:63)
	at org.apache.struts2.dispatcher.Dispatcher.getContainer(Dispatcher.java:960)
	at org.apache.struts2.dispatcher.Dispatcher.init_PreloadConfiguration(Dispatcher.java:466)
	at org.apache.struts2.dispatcher.Dispatcher.init(Dispatcher.java:499)
	at org.apache.struts2.util.StrutsTestCaseHelper.initDispatcher(StrutsTestCaseHelper.java:47)
	at org.apache.struts2.StrutsJUnit4TestCase.initDispatcher(StrutsJUnit4TestCase.java:247)
	at org.apache.struts2.StrutsJUnit4TestCase.setUp(StrutsJUnit4TestCase.java:236)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message