org.apache.bsf.BSFException: exception from Jython: SyntaxError: ('mismatched character \'\\' expecting \'"\'', ('<string>', 21, 101, ' sqlDBLink = "select * from schema.table_name where FILE_NAME = \' " + sys + " \''))

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by Santosh Pradhan, 1 year ago
exception from Jython: SyntaxError: ('mismatched character \'\\' expecting \'"\'', ('<string>', 21, 101, ' sqlDBLink = "select * from schema.table_name where FILE_NAME = \' " + sys + " \''))
via Oracle Community by Phanikanth, 1 year ago
exception from Jython: SyntaxError: ('mismatched character \'\\' expecting \'"\'', ('<string>', 43, 55, 'sql_text="insert into ODI_JOB_EXECUTION_DETAILS values('))
via Oracle Community by rv, 1 year ago
exception from Jython: SyntaxError: ("mismatched input 'raise' expecting INDENT", ('<string>', 4, 0, 'raise ("\\\ Match found \\\")'))
via Oracle Community by 907888, 1 year ago
exception from Jython: SyntaxError: ("no viable alternative at input '='", ('<string>', 43, 10, 'maxErrors = <default>:0'))
via Oracle Community by 987467, 1 year ago
exception from Jython: SyntaxError: (“no viable alternative at character ‘\xe2′”, (”, 23, 10, ‘s.connect(\xe2\x80\x9csmtp.gmail.com\xe2\x80\x9d,587)’))
via Oracle Community by 2782749, 1 year ago
exception from Jython: Traceback (most recent call last): File "<string>", line 25, in <module> IOError: (21, 'Is a directory', '')
org.apache.bsf.BSFException: exception from Jython: SyntaxError: ('mismatched character \'\\' expecting \'"\'', ('<string>', 21, 101, ' sqlDBLink = "select * from schema.table_name where FILE_NAME = \' " + sys + " \''))
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2473)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:561)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.