Tuscany
  1. Tuscany
  2. TUSCANY-3794

Incompatible Jython impl in 2.x binary distribution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Java-SCA-2.0
    • Component/s: None
    • Labels:
      None

      Description

      The Jython version thats included in the binary distribution doesn't work with implementation.script.

      The exception i get is:

      Caused by: java.lang.VerifyError: class com.sun.script.jython.JythonScope overrides final method _findattr_.(Ljava/lang/String;)Lo
      rg/python/core/PyObject;
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClassCond(Unknown Source)
      at java.lang.ClassLoader.defineClass(Unknown Source)
      at java.security.SecureClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.defineClass(Unknown Source)
      at java.net.URLClassLoader.access$000(Unknown Source)
      at java.net.URLClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at com.sun.script.jython.JythonScriptEngineFactory.getScriptEngine(JythonScriptEngineFactory.java:132)
      at javax.script.ScriptEngineManager.getEngineByExtension(Unknown Source)
      at org.apache.tuscany.sca.implementation.script.provider.ScriptImplementationProvider.scriptEngine(ScriptImplementationProvi
      der.java:162)
      at org.apache.tuscany.sca.implementation.script.provider.ScriptImplementationProvider.start(ScriptImplementationProvider.jav
      a:86)
      at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.start(CompositeActivatorImpl.java:394)
      at org.apache.tuscany.sca.core.assembly.impl.CompositeActivatorImpl.start(CompositeActivatorImpl.java:340)
      at org.apache.tuscany.sca.node2.impl.DeployedComposite.init(DeployedComposite.java:106)
      at org.apache.tuscany.sca.node2.impl.DeployedComposite.<init>(DeployedComposite.java:71)
      at org.apache.tuscany.sca.node2.impl.NodeImpl.runComposite(NodeImpl.java:313)
      at org.apache.tuscany.sca.node2.impl.NodeImpl.installContribution(NodeImpl.java:110)
      at org.apache.tuscany.sca.node2.impl.NodeImpl.installContribution(NodeImpl.java:87)
      at org.apache.tuscany.sca.shell.Shell.install(Shell.java:151)
      at org.apache.tuscany.sca.shell.Shell$3.call(Shell.java:394)
      at org.apache.tuscany.sca.shell.Shell$3.call(Shell.java:392)
      at org.apache.tuscany.sca.shell.Shell.apply(Shell.java:499)
      at org.apache.tuscany.sca.shell.Shell.run(Shell.java:514)
      at org.apache.tuscany.sca.shell.Shell.main(Shell.java:75)
      ... 6 more

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            ant elder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development