struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4866) ASM 5.2 and Java 9 leads to IllegalArgumentException
Date Sun, 11 Nov 2018 09:17:00 GMT

    [ https://issues.apache.org/jira/browse/WW-4866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16682805#comment-16682805
] 

Hudson commented on WW-4866:
----------------------------

SUCCESS: Integrated in Jenkins build Struts-master-JDK7 #199 (See [https://builds.apache.org/job/Struts-master-JDK7/199/])
WW-4866 Includes 1.8+ JDKs (lukaszlenart: rev 2d86cc69dcfcddce1559362de8f776f0de721d65)
* (edit) pom.xml


> 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
>            Assignee: Lukasz Lenart
>            Priority: Critical
>             Fix For: 2.6
>
>
> With ASM 5.2 and Java 9 I will get the following Stacktrace:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message