org.apache.bsf.BSFException

exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read'

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 web466

  • via Oracle Community by Amit Sengupta, 1 year ago
    exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read'
  • via Oracle Community by 954315, 1 year ago
    exception from Jython: Traceback (most recent call last): File "<string>", line 19, in <module> File "<string>", line 68, in __init__ AttributeError: *'NoneType' object has no attribute 'getMetaData'*
  • via Oracle Community by Ashvini Patil, 1 year ago
    exception from Jython: Traceback (innermost last): File "<string>", line 1, in ? File "C:\Oracle\product\11.1.1\Oracle_ODI_1\oracledi\client\odi\bin\..\..\jdev\extensions\oracle.odi.navigator\scripting\Lib\smtplib.py", line 483, in sendmail File "C
  • Stack trace

    • org.apache.bsf.BSFException: exception from Jython: Traceback (most recent call last): File "<string>", line 6, in <module> File "/Users/aksengup/apps/fmwhome/odi11117/studio/oracledi/client/jdev/extensions/oracle.odi.navigator/scripting/Lib/base64.py", line 288, in encode s = input.read(MAXBINSIZE) AttributeError: 'str' object has no attribute 'read' at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146) 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:2472) at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47) 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:577) at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468) at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2128) 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:82) at java.lang.Thread.run(Thread.java:695)

    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

    You’re the first here who have seen this exception.