javax.script.ScriptException

<eval>:1:32 Missing close quote out.write('Could not read script ^ in <eval> at line number 1at column number 32at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:455)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web309

  • <eval>:1:32 Missing close quote out.write('Could not read script ^ in <eval> at line number 1at column number 32at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:455)
  • <eval>:1:27 Expected an operand but found / ctx.write("Hello Word");/ ^ in <eval> at line number 1at column number 27at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:455)
  • via GitHub by AlexIIL
    , 1 year ago
    <eval>:1:28 Missing close quote names['91']='Jack o'Lantern' ^ in <eval> at line number 1 at column number 28
  • Stack trace

    • javax.script.ScriptException: <eval>:1:32 Missing close quote out.write('Could not read script ^ in <eval> at line number 1at column number 32at jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:455) at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:522) at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:509) at jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:397) at jdk.nashorn.api.scripting.NashornScriptEngine.eval(NashornScriptEngine.java:152) at javax.script.AbstractScriptEngine.eval(Unknown Source) at oracle.dbtools.scripting.ScriptingUtils.runScript(ScriptingUtils.java:22) at oracle.dbtools.raptor.scriptrunner.commands.ScriptCommand.runScript(ScriptCommand.java:154) at oracle.dbtools.raptor.scriptrunner.commands.ScriptCommand.handleEvent(ScriptCommand.java:124) at oracle.dbtools.raptor.newscriptrunner.CommandRegistry.fireListeners(CommandRegistry.java:373) at oracle.dbtools.raptor.newscriptrunner.ScriptRunner.run(ScriptRunner.java:197) at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:286) at oracle.dbtools.raptor.newscriptrunner.ScriptExecutor.run(ScriptExecutor.java:191) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.process(SqlCli.java:277) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.processLine(SqlCli.java:284) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startSQLPlus(SqlCli.java:760) at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(SqlCli.java:330) Caused by: jdk.nashorn.internal.runtime.ParserException: <eval>:1:32 Missing close quote out.write('Could not read script ^ at jdk.nashorn.internal.parser.Lexer.error(Lexer.java:1714) at jdk.nashorn.internal.parser.Lexer.scanString(Lexer.java:1009) at jdk.nashorn.internal.parser.Lexer.lexify(Lexer.java:1623) at jdk.nashorn.internal.parser.AbstractParser.getToken(AbstractParser.java:132) at jdk.nashorn.internal.parser.AbstractParser.nextToken(AbstractParser.java:211) at jdk.nashorn.internal.parser.AbstractParser.nextOrEOL(AbstractParser.java:170) at jdk.nashorn.internal.parser.AbstractParser.next(AbstractParser.java:157) at jdk.nashorn.internal.parser.Parser.parse(Parser.java:282) at jdk.nashorn.internal.parser.Parser.parse(Parser.java:250) at jdk.nashorn.internal.runtime.Context.compile(Context.java:1207) at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:1179) at jdk.nashorn.internal.runtime.Context.compileScript(Context.java:594) at jdk.nashorn.api.scripting.NashornScriptEngine.compileImpl(NashornScriptEngine.java:520)

    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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago