ODI variables and java.lang.exception : unresolved ODI errors
Hi Guru,
Some times we may encounter the error message
java.lang.exception: Unresolved variable
Then you have to enclose the ODI substitution variable instruction with quotes.
For example,
'#Counter'
And also you should not use bind variables in certain SQL statements like
Creation of views in oracle
Thanks Guru
Ram kumar Lanke
String index out of range-ODI parsing Rules
Hi Guru,
Some times we we will get an error message when we execute the following
1. an ODI procedure or
2. knowledge module command or
3. ODI API
4. ODI tool
5. ODI OS command
The error message is following:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
Because the ODI parser is unable to parse the command we will face this problem.
The parser is unable to detect the variable and the bind type in the code
For example,
#Variable and :Variable
Therefore when using any of the following it is necessary to keep in mind the parsing of elements:
1. an ODI procedure or
2. knowledge module command or
3. ODI API
4. ODI tool
5. ODI OS command
The ODI parsing rules are
1. use the follwoing style of comment
---/* your comment line here */--
2. The quotes open on the line must be closed on the same line
Thanks Guru
Ram kumar Lanke
Some times we we will get an error message when we execute the following
1. an ODI procedure or
2. knowledge module command or
3. ODI API
4. ODI tool
5. ODI OS command
The error message is following:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
Because the ODI parser is unable to parse the command we will face this problem.
The parser is unable to detect the variable and the bind type in the code
For example,
#Variable and :Variable
Therefore when using any of the following it is necessary to keep in mind the parsing of elements:
1. an ODI procedure or
2. knowledge module command or
3. ODI API
4. ODI tool
5. ODI OS command
The ODI parsing rules are
1. use the follwoing style of comment
---/* your comment line here */--
2. The quotes open on the line must be closed on the same line
Thanks Guru
Ram kumar Lanke
An object will be in an un identified state
Hi Guru,
We may encounter some times the following error message which is randomly displayed
Error:
" An object will be in an un identified state "
Because it is in the state not found in the database and update is currently being performed on it
For example, when refreshing an ODI variable, running a scenario...
Such a problem has been attributed to the odi log related table spaces being full.
Solution:
Increase the size of the appropriate tablespaces containing the odi work repositories.
Purge the log tables in ODI operator log
Thanks Guru
Ram kumar Lanke
We may encounter some times the following error message which is randomly displayed
Error:
" An object will be in an un identified state "
Because it is in the state not found in the database and update is currently being performed on it
For example, when refreshing an ODI variable, running a scenario...
Such a problem has been attributed to the odi log related table spaces being full.
Solution:
Increase the size of the appropriate tablespaces containing the odi work repositories.
Purge the log tables in ODI operator log
Thanks Guru
Ram kumar Lanke
SATURDAY, 7 MAY 2011
Tips for preventing errors while developing interfaces
Hi Guru's,
Hope you are fine and doing well.
Today let us discuss some important tips for preventing errors while developing interfaces.
Ram Kumar Lanke
Hope you are fine and doing well.
Today let us discuss some important tips for preventing errors while developing interfaces.
- Always use the expression editor
- Before executing the interface review them
- Always use the error button on the interfaces
- Always check the syntax of mappings, joins, filters
- If possible test the joins and filters from the diagram
- Unless you know the impact of the change, do not change the execution location of mappings
- Always use static control and flow control for data quality
Ram Kumar Lanke
Common errors while developing interfaces
Hi Guru's,
Let us know the common errors we get after executing the interfaces
Thanks Guru's
Ram Kumar Lanke
Let us know the common errors we get after executing the interfaces
- Syntax error in join condition
- Syntax error in filter condition
- Obvious error appears in a SELECT/INSERT or WHERE clause
- Errors like Column does not exist
- Syntax error
- Incorrect execution location for join condition
- Incorrect execution location for filter condition
- A valid clause cannot be executed
- A clause located at the wrong location (source/target)
- Data servers unreachable
- Tables/files/resources does not exist
- Table not found
- Irrelevant results
Thanks Guru's
Ram Kumar Lanke
FRIDAY, 6 MAY 2011
Fixing the errors by trouble shooting a session
Hi Guru's,
Today i am going to discuss about how to troubleshoot the sessions and fixing errors in ODI.
It is obvious that while we develop our ODI objects we may get errors.
I am going to give you some general steps to debug errors.
Today i am going to discuss about how to troubleshoot the sessions and fixing errors in ODI.
It is obvious that while we develop our ODI objects we may get errors.
I am going to give you some general steps to debug errors.
- Open the operator, find the session in error. Also find the step in Error state. And finally find the task in error.
- Then double click the task and click on description tab and click on code to look at the generated code by the ODI.This code will be usually in SQL for interfaces. And it is completely dependent on the knowledge modules which you used int the interface.
- Fix the errors in the code. This may be a complex task if you dont have solid understanding how the ODI works with the relevant technology.
- After fixing the errors clik apply and save. Refresh the session. Check error has been resolved or not. If the error has not been resolved try again the same method to resolve it.
- When you have fixed the error in the generated code, you should apply the same changes to your object (interface, procedure,package etc). And restart the session execution.
- Otherwise it will use the old code to generate the code.
- Thanks Guru's
- Ram Kumar Lanke
7 comments:
When I execute an interface in ODI 11g, the execution hangs with Load Data task showing a Run state. The source is an hsql table which comes along with ODI installation and the target is oracle table. I did not get a similar error when I used ODI 10g. PLEASE HELP ME TO SOLVE THIS ERROR SINCE I HAVE A CRITICAL SITUATION.
Thanks in Advance,
Usha
I am using yellow interface as source in other interface to enable it as table, “USE TEMPORARY AS DERIVED TABLE(Sub-select)” is grayed out…. my source and target are in different data servers is this the problem? if how can i achieve this..
Please help
I am using yellow interface as source in other interface to enable it as table, “USE TEMPORARY AS DERIVED TABLE(Sub-select)” is grayed out…. my source and target are in different data servers is this the problem? if how can i achieve this..
Please help
ODI-1228: Task KRI_SCD (Integration) fails on the target ORACLE connection KRISH_ORCL.
Caused By: java.sql.SQLSyntaxErrorException: ORA-00920: invalid relational operator
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1115)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3954)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1539)
at oracle.odi.runtime.agent.execution.sql.SQLCommand.execute(SQLCommand.java:163)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.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:662)
Hi I am krishna Learning of odi 11g
Please Help me,
How can i solve this error in scd
Thanks.
This is useful information. Please find more information at <a href="http://techhelpinghand.blogspot.in/search/label/ODI?&max-results=100</a>
CASINO AT A COVID-19 Casino Map - JTGHub
Find 하남 출장샵 the closest casino to ACHCOVID-19 강릉 출장마사지 in your state of your choice, The Casino 구리 출장마사지 at ACHCOVID-19 Casino is 안양 출장안마 one of the only casinos in Illinois 영천 출장안마 in which you
Post a Comment