java.security.PrivilegedActionException

org.apache.bsf.BSFException: exception from JPython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test (): ^ SyntaxError: invalid syntax

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Rony G. Flatscher,
  • via Unknown by Rony G. Flatscher,
  • Stack trace

    • java.security.PrivilegedActionException: org.apache.bsf.BSFException: exception from JPython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test (): ^ SyntaxError: invalid syntax at java.security.AccessController.doPrivileged(Native Method) at org.apache.bsf.BSFManager.eval(BSFManager.java:467) at org.apache.bsf.Main.main(Main.java:154) Caused by: org.apache.bsf.BSFException: exception from JPython: Traceback (innermost last): (no code object) at line 0 File "<string>", line 1 def test (): ^ SyntaxError: invalid syntax at org.apache.bsf.engines.jpython.JPythonEngine.eval(JPythonEngine.java:120) at org.apache.bsf.BSFManager$5.run(BSFManager.java:470) ... 3 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.