jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61721] New: can't open a script with Java 9
Date Fri, 03 Nov 2017 20:33:05 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61721

            Bug ID: 61721
           Summary: can't open a script with Java 9
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: apodelko@yahoo.com
  Target Milestone: ---

Created attachment 35480
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35480&action=edit
the jmeter log

Can't open a script in apache-jmeter-r1814153 with Java 9 on Windows - getting:


2017-11-03 14:49:47,161 INFO o.a.j.g.a.Load: Loading file:
C:\projects\JMeter\dmcs_171_modified.jmx
2017-11-03 14:49:47,162 INFO o.a.j.s.FileServer: Set new
base='C:\projects\JMeter'
2017-11-03 14:49:47,339 ERROR o.a.j.JMeter: Uncaught exception: 
java.lang.ExceptionInInitializerError: null
        at com.thoughtworks.xstream.XStream.setupConverters(XStream.java:989)
~[xstream-1.4.10.jar:1.4.10]
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:592)
~[xstream-1.4.10.jar:1.4.10]
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:514)
~[xstream-1.4.10.jar:1.4.10]
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:483)
~[xstream-1.4.10.jar:1.4.10]
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:429)
~[xstream-1.4.10.jar:1.4.10]
        at com.thoughtworks.xstream.XStream.<init>(XStream.java:382)
~[xstream-1.4.10.jar:1.4.10]
        at
org.apache.jmeter.save.SaveService$XStreamWrapper.<init>(SaveService.java:82)
~[ApacheJMeter_core.jar:r1814153]
        at
org.apache.jmeter.save.SaveService$XStreamWrapper.<init>(SaveService.java:80)
~[ApacheJMeter_core.jar:r1814153]
        at org.apache.jmeter.save.SaveService.<clinit>(SaveService.java:113)
~[ApacheJMeter_core.jar:r1814153]
        at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:130)
~[ApacheJMeter_core.jar:r1814153]
        at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:102)
~[ApacheJMeter_core.jar:r1814153]
        at org.apache.jmeter.gui.action.Load.doActionAfterCheck(Load.java:89)
~[ApacheJMeter_core.jar:r1814153]
        at
org.apache.jmeter.gui.action.AbstractActionWithNoRunningTest.doAction(AbstractActionWithNoRunningTest.java:45)
~[ApacheJMeter_core.jar:r1814153]
        at
org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88)
~[ApacheJMeter_core.jar:r1814153]
        at
org.apache.jmeter.gui.action.ActionRouter.lambda$actionPerformed$0(ActionRouter.java:70)
~[ApacheJMeter_core.jar:r1814153]
        at java.awt.event.InvocationEvent.dispatch(Unknown Source) ~[?:?]
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source) ~[?:?]
        at java.awt.EventQueue.access$500(Unknown Source) ~[?:?]
        at java.awt.EventQueue$3.run(Unknown Source) ~[?:?]
        at java.awt.EventQueue$3.run(Unknown Source) ~[?:?]
        at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
        at
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
Source) ~[?:?]
        at java.awt.EventQueue.dispatchEvent(Unknown Source) ~[?:?]
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
[?:?]
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
[?:?]
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
[?:?]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [?:?]
        at java.awt.EventDispatchThread.run(Unknown Source) [?:?]
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field
private final java.util.Comparator java.util.TreeMap.comparator accessible:
module java.base does not "opens java.util" to unnamed module @554e218
        at java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown
Source) ~[?:?]
        at java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown
Source) ~[?:?]
        at java.lang.reflect.Field.checkCanSetAccessible(Unknown Source) ~[?:?]
        at java.lang.reflect.Field.setAccessible(Unknown Source) ~[?:?]
        at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)
~[xstream-1.4.10.jar:1.4.10]
        at
com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
~[xstream-1.4.10.jar:1.4.10]
        ... 29 more


java -version
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+163)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+163, mixed mode)

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message