You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/07/11 18:54:16 UTC

[Bug 55242] New: BeanShell Server throws exceptions after upgrading to 2.8

https://issues.apache.org/bugzilla/show_bug.cgi?id=55242

            Bug ID: 55242
           Summary: BeanShell Server throws exceptions after upgrading to
                    2.8
           Product: JMeter
           Version: 2.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: wojtek.oledzki@gmail.com

script
----
properties = JMeterUtils.getJMeterProperties();
Iterator i = properties.keys();
while(i.hasMoreElements()) {
  String me = i.nextElement();
  print(me + " : " + properties.get(me));
}
----

output
----
Connecting to BSH server on 127.0.0.1:9000
Reading responses from server ...
Exception in thread "main" B... disconnected from server.
java.net.SocketException: Socket is closed
    at java.net.Socket.shutdownOutput(Socket.java:1425)
    at org.apache.jmeter.util.BeanShellClient.main(BeanShellClient.java:79)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError:
org/apache/jorphan/util/JOrphanUtils
    at
org.apache.jmeter.util.BeanShellClient$SockRead.run(BeanShellClient.java:111)
Caused by: java.lang.ClassNotFoundException:
org.apache.jorphan.util.JOrphanUtils
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 1 more
----

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55242] BeanShell Client jar throws exceptions after upgrading to 2.8

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55242

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|BeanShell Server throws     |BeanShell Client jar throws
                   |exceptions after upgrading  |exceptions after upgrading
                   |to 2.8                      |to 2.8

--- Comment #2 from Sebb <se...@apache.org> ---
Thanks for the report; it's broken in 2.9 as well.
Problem is that the code calls an external method and the class is not present
in the jar.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55242] BeanShell Server throws exceptions after upgrading to 2.8

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55242

--- Comment #1 from Wojtek <wo...@gmail.com> ---
copying lib/bshclient.jar from 2.7 fixes the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55242] BeanShell Client jar throws exceptions after upgrading to 2.8

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55242

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Sebb <se...@apache.org> ---
URL: http://svn.apache.org/r1502404
Log:
BeanShell Client jar throws exceptions after upgrading to 2.8
Bugzilla Id: 55242

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellClient.java
    jmeter/trunk/xdocs/changes.xml

-- 
You are receiving this mail because:
You are the assignee for the bug.