911: 42000: java.sql.SQLException: ORA-00911: invalid character
Hi allI am trying to load the data in the 1 table to another using ODI 10 g. My approach is error ed out in step 3 - load data showing the exception below
911 : 42000 : java.sql.SQLException: ORA-00911: invalid character
java.sql.SQLException: ORA-00911: invalid character
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:503)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:965)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:535)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1051)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3026)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execCollOrders(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlC.treatTaskTrt(SnpSessTaskSqlC.java)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.k(e.java)
at com.sunopsis.dwg.cmd.g.A(g.java)
at com.sunopsis.dwg.cmd.e.run(e.java)
at java.lang.Thread.run(Unknown Source)
When I see the description of the sql that runs to the phase I see belowselect
_ACTIVITIES_V.ACTIVITY_ID C1_ACTIVITY_ID,
_ACTIVITIES_V.ATTRIBUTE15 C42_ATTRIBUTE15
from .COM_ACTIVITIES_V _ACTIVITIES_V
where (1=1)
OBV when this sql is tried of toad is giving the same error.Please advice what's not here
thnks
Hello
In topology-> physical schema Manager, where you set the source of Oracle schema, you left the WORKING PATTERN as empty. Put a schema name in the scheme of work and this. will be preceded by the name of this schema
Also, for better visibility, you change the table alias name in the interface of
ACTIVITIESV
TO
ACTIVITIES_V
Thank you
Fati
Tags: Business Intelligence
Similar Questions
-
Hello
I created a refreshing alphanumeric variable that use SYSDATE to generate the year in the format "FY11.
The variable acts as a filter in an interface.
When I run a package to run the interface, I get the error:
904: 42000: java.sql.SQLException: ORA-00904: "FY11": invalid identifier +.
java.sql.SQLException: ORA-000904: "FY11": invalid identifier
Only thing I can think is that it is related to quotes.
No idea how to fix this error?
See you soonHello
In this case, he expects a character data.
Your filter is therefore SALES_HYPERION_SALES. YEAR ='#FCAST. ACTYEAR'Pay attention to the unique quoates before # and in the end...
Thank you
Fati -
java.sql.SQLException: ORA-00903: invalid table name
Guys,
I get this error. Could you help me on this?
08:58:23, 859 ERROR [DATABASE] select * where orc_key = 125 and _key not
in (null) and UD_MAINU_key = 98
java.sql.SQLException: ORA-00903: invalid table name
to
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:108)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:340)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:301)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:813)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:253)
to
oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:890)
to
037)
to
oracle.jdbc.driver.T4CStatement.executeMaybeDescribe(T4CStatement.java:901)
to
155)Go to metalink and look at this note ID 443436.1.
hope this helps,
Thiago Leoncio -
Nice day
I am trying to execute an interface in which data from a csv file must be loaded into a target table. I managed to debone the flat file and map all fields. But come running, I get this error message:
1031: 42000: java.sql.SQLException: ORA-01031: insufficient privileges
java.sql.SQLException: ORA-01031: insufficient privileges
I have already given modify and insert the user access.
Thanks in advanceLooks like your problem is solved. Why don't you close the message and give different points as useful for each answer and replied to the right answer to other users that have helped you.
-
Hi all
I was hoping you could help me. After a server restart scheduled that I tried to start my fundraiser, when I did, I got the following error:
09/29/14 10:19:36 Error executing command start_collector Internal Error at oracle.av.common.AuditException.toAuditException(AuditException.java:253) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213) Nested Exception: java.sql.SQLException: ORA-28001: the password has expired at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at oracle.av.common.AuditException.toAuditException(AuditException.java:250) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213)
So I checked the database of Audit Vault and of course, uses that have expired there, Audit Vault users expire after 180 days.
SELECT username, account_status, expiry_date FROM dba_users WHERE account_status = 'EXPIRED';
I had a user "AGENT_BW3", which has expired. I also had the SYSAV & AVREPORTUSER that have expired. So I changed my profile and then reset the password for these uses to the same than what have been before
Now when I try to restart the collector, I get the following:
09/29/14 10:36:02 Error executing command start_collector Internal Error at oracle.av.common.AuditException.toAuditException(AuditException.java:253) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213) Nested Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:522) at oracle.av.common.AuditException.toAuditException(AuditException.java:250) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:259) at oracle.av.management.impl.HttpManagementAdaptor.getData(HttpManagementAdaptor.java:291) at oracle.av.management.impl.HttpManagementAdaptor.startCollector(HttpManagementAdaptor.java:434) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:651) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:696) at oracle.av.management.impl.ManagementServiceImpl.startCollector(ManagementServiceImpl.java:707) at oracle.av.avca.control.StartCollectorTask.executeTask(StartCollectorTask.java:82) at oracle.av.avca.backend.BaseTask.execute(BaseTask.java:104) at oracle.av.avca.Avctl.startCTL(Avctl.java:180) at oracle.av.avca.Avctl.main(Avctl.java:213)
Now of course I went on this issue the wrong way, is - that someone has encountered this problem before?
Just to add, I tried to connect with the same passwords for all users of Audit Vault in sqlplus and all work fine, its only the "start_collector" that has the problem.
Kind regards.
I fixed it by following these steps.
When the audit Vault database is created all users will see the profile by DEFAULT, it is a grace expires 180 days. I needed to reset user passwords that I did. The part that missed me, was that even if I put the passwords for what they had been before the expiry I still need to change the portfolio.
sqlplus SYSAVDVA/xx
-User AV_ADMIN
ALTER USER SYSAV IDENTIFIED BY xx;
-Server wallet
CD $ORACLE_HOME/network/admin/avwallet
AVCA create_credential - wrl. dbalias - av - usr SYSAV/xx
sqlplus SYSAVDVA/xx
-User AV_AGENT
ALTER USER IDENTIFIED BY AGENT_BW3 xx.
-Portfolio Officer
CD $ORACLE_HOME/network/admin/avwallet
AVCA create_credential - wrl. dbalias - av - usr AGENT_BW3/xx
This fixed the problem.
-
java.sql.SQLException: ORA-06550 and ORA-00900 call stored procedures
Hi all
I have 2 a stored procedures that I want to call from my Session bean. One of them takes a few settings, but not the other. When I call the procedures, I get the following errors described below. I tested the two stored procedures in sql plus and sqldveleoper and they work well. The funniest, it is, I have another stored procedure that I can call successfully from the same bean in session with no problems, so I'm a bit confused as to why his play now.
I use stand-alone 10.1.3.4 OC4J and Oracle 10 g Db 10.2.0.4 and platform DB that I use is Oracle10gPlatform and Eclipselink as my JPA provider. I have also tried against toplink (not toplink essentials) and still no joy
Here is the error I get when I try and call the procedure which takes the parameters of the session bean
Here are my stored procedure that take parametersInternal Exception: java.sql.SQLException: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'HASHDATA' ORA-06550: line 1, column 7: PL/SQL: Statement ignored Error Code: 6550 Call: BEGIN HashData(input=>?, hashedValue=>?, hashed=>?); END; bind => [password1, => hashedValue, => hashed] Query: DataReadQuery()
Here is my code in the session bean to call the procedure that takes as parameters (Hashdata)create or replace procedure hashData(input IN VARCHAR2, hashedValue OUT BLOB, hashed OUT BOOLEAN) as inputRaw RAW(2000); --hashed BOOLEAN := false; begin dbms_output.put_line('the data to be hashed is '||input); dbms_output.put_line('converting input to raw ...'); inputRaw := utl_i18n.string_to_raw(input,'AL32UTF8'); dbms_output.put_line('Hashing Data ...'); hashedValue := DBMS_CRYPTO.Hash (src=>inputRaw,typ=>DBMS_CRYPTO.HASH_SH1); dbms_output.put_line('hash is '||UTL_I18N.raw_to_char(dbms_lob.substr(hashedValue, 4000,1))); if (hashedValue is not null) then hashed :=true; dbms_output.put_line('hashedValue IS NOT null'); else hashed := false; dbms_output.put_line('hashedValue IS null'); end if; end;
When I call the other takes no parameters, I get the following error.public UserBean() { // TODO Auto-generated constructor stub sessMan = SessionManager.getManager(); session = sessMan.getSession("Session", Thread.currentThread() .getContextClassLoader()); } public Serializable hashData(String input){ logger.debug("Hashing Data ... "); hashedValue= null; boolean hashed=false; StoredProcedureCall call = new StoredProcedureCall(); ValueReadQuery query = new ValueReadQuery(); call.setProcedureName("HashData"); call.addNamedArgumentValue("input", input); call.addNamedOutputArgument("hashedValue", "hashedValue", java.sql.Blob.class); call.addNamedOutputArgument("hashed", "hashed", java.lang.Integer.class); query.addArgument("input"); query.setCall(call); session.executeQuery(query); if ((Boolean)hashed){ logger.debug("The data has been hashed and the hash value is: "+hashedValue); } else{ logger.debug("The data has could not be hashed"); hashedValue=null; } return (Serializable)hashedValue; }
Here is the procedure which takes no parametersInternal Exception: java.sql.SQLException: ORA-00900: invalid SQL statement Error Code: 900 Call: BEGIN testJPAProc(); END; Query: DataReadQuery()
Heres is the code to call procedures that take no parameterscreate or replace procedure testJPAProc is begin dbms_output.put_line('testJPAProc called'); end;
You guys can tell me where I'm wrong if I do something wrong. Why make these mistakes? because as far as I can tell the code (java and pl/sql) are both correct unless there is something I missed. It's kinda funny because I have another stored procedure I can call successfully.StoredProcedureCall call = new StoredProcedureCall(); ValueReadQuery query = new ValueReadQuery(); call.setProcedureName("testJPAProc"); query.setCall(call); session.executeQuery(query);
Thank youThe first question is that the Boolean in Oracle is not a supported JDBC type, but a PLSQL type.
Change to an INTEGER is probably the best, you can also use the PLSQLStoredProcedureCall class to access.The second problem is perhaps that the stored procedure is not valid, make sure that it compiled correctly. It can also be the type of your query, you must use a DataModifyQuery, not a read request that it returns nothing.
If still no luck, try to call directly through JDBC, it works?---
James: http://www.eclipselink.org: http://en.wikibooks.org/wiki/Java_Persistence -
Hello
I get error java.sql.SQLException: ORA-01017: name of user and password invalid. connection refused
When I'm trying to run my Unix server. The same scenario when executing designer works very well... nobody knows what username and password... its looking for?
Thank you
VincentIt is the odiparams.sh of the unix server is updated and configured.
-
java.sql.SQLSyntaxErrorException: ORA-00904: invalid identifier
Hi all
IM using JDeveloper 11.1.1.6.0.
Here, I said method in the main class, which returns an object of type of connection reference.
When I run the app I type 'ksh' in the fields and click on submit.
It shows the following error, java.sql.SQLException: ORA-00904: "KSH": invalid identifier
{code}
public static list < privileges > getUserPrivileges (DBTransaction dbt, object userId)
{
String sql = "SELECT m.menu_code" +.
"OF sec_menus m p sec_menu_privileges JOIN +.
"WE (m.menu_code = p.menu_code '+)"
"(ET m.app_id = p.app_id)" + "
"JOIN sec_user_app_groups g +.
"WE (g.GROUP_ID = p.GROUP_ID '+)"
"AND p.app_id = g.app_id" +.
"AND user_id =" + userId + "."
" )";
PreparedStatement stat = null;
ResultSet rs = null;
List of privileges <>privilegesList = new ArrayList < privileges > ();
MenuCode string = "";
Try
{
= stat dbt.createPreparedStatement (sql, 1);
RS = stat.executeQuery ();
While (RS. Next())
{
menuCode = rs.getString (1);
}
}
catch (System.Exception e)
{
e.printStackTrace ();
}
Finally
{
closeStatement (stat);
closeResultSet (SR);
}
Return privilegesList;
}
Public Shared Sub closeStatement (stat of statement)
{
Try
{
STAT. Close();
}
catch (SQLException e)
{
}
}
public static void closeResultSet (ResultSet rs)
{
Try
{
RS. Close();
}
catch (SQLException e)
{
}
}
------------
CREATE TABLE SEC_USERS
(
USER_ID VARCHAR2 (10),
USER_NAME VARCHAR2 (50).
PASSWORD VARCHAR2 (300)
)
Insert into SEC_USERS
(USER_ID, USER_NAME, USER_FIRST_NAME, USER_LAST_NAME, PASSWORD)
Values
('ksh', 'ksh', 'test');
COMMIT;
-----------------------
Error:
java.sql.SQLSyntaxErrorException: ORA-00904: "KSH": invalid identifier
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.executeForDescribe(T4CPreparedStatement.java:947)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1283)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1441)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3823)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1671)
dry. ControllerUtil.getUserPrivileges (ControllerUtil.java:90)
dry. ControllerUtil.login (ControllerUtil.java:59)
at sec.model.AppModuleImpl.login(AppModuleImpl.java:77)
at sec.control.bean.LoginPage.loginAction(LoginPage.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
< ActionListenerImpl > < processAction > java.lang.NullPointerException
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:889)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:379)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged (Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3715)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.NullPointerException
dry. ControllerUtil.closeResultSet (ControllerUtil.java:136)
dry. ControllerUtil.getUserPrivileges (ControllerUtil.java:118)
dry. ControllerUtil.login (ControllerUtil.java:59)
at sec.model.AppModuleImpl.login(AppModuleImpl.java:77)
at sec.control.bean.LoginPage.loginAction(LoginPage.java:92)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke (unknown Source)
at com.sun.el.MethodExpressionImpl.invoke (unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... more than 54
{\code}
Thanks in advance
The particular error that causes the ORA-00904 exception, it's that you concatenate a string literal in the SQL statement without enclosing the literal with quotes. Replace the line
"AND user_id =" + userId + "."
with
"AND user_id = '" + Userid + "'" +.
Although it will work in this way, the concatenation of literal values variable to a SQL statement is a very wrong approach. The right approach is to use a placeholder variable (for example?) in the SQL statement and to link it with the necessary value after analysis of the declaration and before running. In this way, you will be able to analyze the statement once and execute it several times with different values without new analysis view the statement. Also, the SQL engine will be able to use its SQL cache if you try to analyze the statement even once again, which will significantly improve performance. However, if you concatenate variable literal value to education, engine SQL won't recognize the statement as one already analyzed, it will not use its cache and it will analyze the statement again from scratch. From a point of view shortly, the best approach is as follows:
"" AND user_id =? ".
and then
= stat dbt.createPreparedStatement (sql, 1);
stat.setString (1, userId); Don't forget to change the username to a string type in the method declaration
RS = stat.executeQuery ();
There are other problems in your code. First of all, the invocation closeResultSet (rs) after closeStatement (stat) is erroneous and obsolete, because when you close a SQLStatement instance it automatically closes all its result sets. Secondly, in the finally block you call closeStatement (stat), but there is no guarantee that stat variable is not null. For example, the variable stat can be null if the SQLStatement instance has not been established successfully in the try section above.
Dimitar
-
java.sql.SQLException: ORA-13988 error in SQL Setup
Hello
I've updated the database version 10.2.0.2 to 11.2.0.1. When I try to run sql tuning advisor I have an error:
java.sql.SQLException: ORA-13988 given to variable arguments list feature to report an invalid entry. ORA-06512: at "SYS." DBMS_REPORT ".
I searched the error in google but not found any recommendation.
Thank you.Salvation;
There is a note juts into metalink which is mention error ORA-13988, please check below if it is not help that I propose to place SR
Dbconsole Performance tab requires second Login [1286378.1 ID]Concerning
HELIOS -
Mr President
Make me a mistake for an adf application.
Running application ElizaSoft on IntegratedWebLogicServer...] [06:38:05 PM] Web Module ViewControllerWebApp.war recognized in project ViewController.jpr [06:38:07 PM] ---- Deployment started. ---- [06:38:07 PM] Target platform is (Weblogic 12.x). [06:38:10 PM] Retrieving existing application information [06:38:11 PM] Running dependency analysis... [06:38:11 PM] Deploying 2 profiles... [06:38:20 PM] Wrote Web Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft\ViewControllerWebApp.war [06:38:22 PM] Wrote Enterprise Application Module to C:\Users\TANVIR\AppData\Roaming\JDeveloper\system12.2.1.0.42.151011.0031\o.j2ee\drs\ElizaSoft [06:38:23 PM] Deploying 3 data source(s) to the server... [06:38:24 PM] Deploying Application... <Jan 3, 2016 6:38:35 PM PKT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "2192494870412" for task "0" on [partition-name: DOMAIN]. Error is: "weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired " weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.sql.SQLException: ORA-28001: the password has expired at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507) Truncated. see log file for complete stacktrace > <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application "ElizaSoft".> <Jan 3, 2016 6:38:36 PM PKT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004 weblogic.application.ModuleException: java.sql.SQLException: ORA-28001: the password has expired at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:402) at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:196) at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:191) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45) Truncated. see log file for complete stacktrace Caused By: java.sql.SQLException: ORA-28001: the password has expired at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:466) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:399) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:391) at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:1126) at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:507) Truncated. see log file for complete stacktrace > [06:38:36 PM] Deployment cancelled. [06:38:37 PM] ---- Deployment incomplete ----. [06:38:37 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer) #### Cannot run application ElizaSoft due to error deploying to IntegratedWebLogicServer. [06:38:37 PM] Cancel requested [Application ElizaSoft stopped and undeployed from IntegratedWebLogicServer]
But I got back to the top of the same request for the same user and password but it works and do not give the error.
Help, please.
Concerning
Mr President
I just want to remove the old conn ide and create a new ide conn and add to the application and it works
Concerning
-
Hello
When I try to run the Active Directory Trusted user he ran for some users and in the log file I found this erro. After that when I ran recon target, it does not all recon events.
In DEV, it worked perfectly
java.sql.SQLException: ORA-01653: unable to extend table IAMEXT_OIM. RECON_EVENTS by 1024 in the IAMEXT_OIM tablespace
What does that mean?
Should I increase any space of the table?
Thank you
You must work with your DBA team to extend the table space.
-
ORA-00911: invalid character in SQL dynamic
I think I need another set of eyes. I do not see the invalid character in this dynamically generated SQL statement:
INSERT INTO source_arc select v.*, sysdate, 'archived' from source v where v.id IN ( SELECT * FROM TABLE( SELECT CAST(str2tbl( 1,2,4 ) AS myTableType ) FROM dual ));
Here is the complete configuration:
create or replace type myTableType as table of number; / create or replace function str2tbl( p_str in varchar2 ) return myTableType as l_str varchar2(32767) default p_str || ','; l_n number; l_data myTableType := myTabletype(); begin loop l_n := instr( l_str, ',' ); exit when (nvl(l_n,0) = 0); l_data.extend; l_data( l_data.count ) := trim(substr(l_str,1,l_n-1)); l_str := substr( l_str, l_n+1 ); end loop; return l_data; end str2tbl; / create table source ( id number ,txt varchar2(25) ) / insert into source values(1,'aaa') / insert into source values(2,'bbb') / insert into source values(3,'ccc') / insert into source values(4,'ddd') / insert into source values(5,'eee') / commit ; create table source_arc ( id number ,txt varchar2(25) ,dt date ,comments varchar2(512) ) /
)
/
Here is the result when I run this code:
DECLARE i_owner_tbl_arc varchar2(61) := 'source_arc'; i_owner_tbl varchar2(61) := 'source' ; v_qry varchar2(32767) := 'INSERT INTO ' || i_owner_tbl_arc ; g_content_list varchar2(32767) := '1,2,4'; BEGIN v_qry := v_qry || chr(10) || 'select v.*, sysdate, ''archived'' ' || chr(10) || 'from ' || i_owner_tbl || ' v ' || chr(10) || 'where v.id IN ( SELECT * ' || chr(10) || ' FROM TABLE( SELECT ' || chr(10) || ' CAST(str2tbl( ' || g_content_list || ' ) ' || chr(10) || ' AS myTableType ' || chr(10) || ' ) ' || chr(10) || ' FROM dual ));'; execute immediate v_qry; END ; / ERROR at line 1: ORA-00911: invalid character ORA-06512: at line 17
Any help appreciated.
Remove the semicolon at the end of the string and put single quotes while calling the function.
Try the below
DECLARE
i_owner_tbl_arc varchar2 (61): = "source_arc";
i_owner_tbl varchar2 (61): = 'source ';
v_qry varchar2 (32767): = 'INSERT INTO ' | i_owner_tbl_arc;
g_content_list varchar2 (32767): = '1,2,4';
BEGIN
v_qry: = v_qry | Chr (10) |
"select v.*, sysdate,"archived"| Chr (10) |
'from ' | i_owner_tbl | ' v ' || Chr (10) |
«where v.id IN (SELECT * ' |)» Chr (10) |
' TABLE (SELECT ' |) Chr (10) |
"CAST (str2tbl ("' |)) ". g_content_list | ''' ) ' || Chr (10) |
' AS myTableType ' || Chr (10) |
' ) ' || Chr (10) |
' FROM dual ))';
immediately run v_qry;
END;
-
Hi friends,
I've extended CO where I added dynamic VO where condition, it start error.
Code added to the controller:
SerializableAttribute public class Custom_HomePageCO extends HomePageCO
{
public Custom_HomePageCO()
{
}
' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processRequest (pageContext, webBean);
System.out.println ("NewClase");
OAApplicationModule am = pageContext.getApplicationModule (webBean);
System.out.println (AM);
OAApplicationModule am1 = (OAApplicationModule) am.findApplicationModule ("TrackExpenseReportsAM");
System.out.println (AM1);
OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");
System.out.println (VO);
vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");
vo.executeQuery ();
}
' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
{
super.processFormRequest (pageContext, webBean);
}
}
Error message:
Details of the exception. Error details
Logout
Error page
Details of the exception.
oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: 27122 Houston: SQL error in the preparation of the statement. Statement: SELECT * FROM (SELECT
BIM OBJECT DESCRIPTION,
BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
BIM INVOICE_DATE REPORT_DATE,
AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
BIM INVOICE_NUM REPORT_NUMBER,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30))
REPORT_TOTAL,
P.PERSON_ID EMPLOYE_ID,
AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
P.FULL_NAME FULL_NAME,
DECODE (AI. CANCELLED_DATE, null,
NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
', 'BILL. "
'P', 'PARPAID', NULL))),
STATUS_CODE "CANCELLED"),
AERH.source SOURCE,
CURRENT_APPROVER NULL,
ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
AERH. HOLDING_REPORT_HEADER_ID,
BIM VENDOR_ID VENDOR_ID,
AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
BIM INVOICE_ID INVOICE_ID
Of
AK_WEB_USER_SEC_ATTR_VALUES, A.
PO_VENDORS PV,
AP_INVOICES HAVE,
AP_EXPENSE_REPORT_HEADERS AERH,
PER_PEOPLE_X P,.
AP_PAYMENT_SCHEDULES APS
WHERE DID. INVOICE_ID = APS. INVOICE_ID
AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
AND THE PV. EMPLOYEE_ID = A.NUMBER_VALUE
AND A.WEB_USER_ID =: 1
AND P.PERSON_ID = PV. EMPLOYEE_ID
AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
AND DECODE (AI. PAYMENT_STATUS_FLAG,
'Y' sysdate - I. LAST_UPDATE_DATE,
decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
) < = 30
AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
UNION
SELECT
BIM OBJECT DESCRIPTION,
BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
BIM INVOICE_DATE REPORT_DATE,
AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
BIM INVOICE_NUM REPORT_NUMBER,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30))
REPORT_TOTAL,
P.PERSON_ID EMPLOYE_ID,
AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
P.FULL_NAME FULL_NAME,
DECODE (AI. CANCELLED_DATE, null,
NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
', 'BILL. "
'P', 'PARPAID', NULL))),
STATUS_CODE "CANCELLED"),
AERH.source SOURCE,
CURRENT_APPROVER NULL,
ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
AERH. HOLDING_REPORT_HEADER_ID,
BIM VENDOR_ID VENDOR_ID,
AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
BIM INVOICE_ID INVOICE_ID
Of
AK_WEB_USER_SEC_ATTR_VALUES, A.
PO_VENDORS PV,
AP_INVOICES HAVE,
AP_EXPENSE_REPORT_HEADERS AERH,
PER_PEOPLE_X P,.
AP_PAYMENT_SCHEDULES APS
WHERE DID. INVOICE_ID = APS. INVOICE_ID
AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "in ("STANDARD "," MIXED")
AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
AND A.WEB_USER_ID =: 2
AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
AND THE PV. VENDOR_ID = HAVE. VENDOR_ID
AND DECODE (AI. PAYMENT_STATUS_FLAG,
'Y' sysdate - I. LAST_UPDATE_DATE,
decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
) < = 30
AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)
UNION ALL
SELECT
AERH. DESCRIPTION OBJECT,
AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
AERH. WEEK_END_DATE REPORT_DATE,
AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
AERH. INVOICE_NUM REPORT_NUMBER,
To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
(AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
(AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
PER_EMPLOYEE. FULL_NAME FULL_NAME,
NVL (AERH.expense_status_code,
AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
AERH.report_header_id, 'Y', 'n')) STATUS_CODE.
AERH.source SOURCE,
NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
AERH. HOLDING_REPORT_HEADER_ID,
0 VENDOR_ID,
AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
Decode (aerh.expense_current_approver_id,
-99999, "AMEMultipleApprovers."
Decode (PER_APPROVER.full_name,
(null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
-INVOICE_ID 1
Of
AK_WEB_USER_SEC_ATTR_VALUES, A.
AP_EXPENSE_REPORT_HEADERS AERH,
PER_PEOPLE_X PER_EMPLOYEE,
PER_PEOPLE_X PER_APPROVER
WHERE AERH. VOUCHNO + 0 = 0
AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
AND AERH. EMPLOYEE_ID = A.NUMBER_VALUE
AND A.WEB_USER_ID =: 3
AND PER_EMPLOYEE. PERSON_ID = AERH. EMPLOYEE_ID
AND (AERH. Source <>"NonValidatedWebExpense".
OR AERH. Workflow_approved_flag IS NULL)
AND AERH.expense_current_approver_id = PER_APPROVER.person_id
AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
AND AERH. SOURCE <>"the two Pay."
UNION
SELECT
AERH. DESCRIPTION OBJECT,
AERH. DEFAULT_CURRENCY_CODE CURRENCY_CODE,
AERH. WEEK_END_DATE REPORT_DATE,
AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
AERH. INVOICE_NUM REPORT_NUMBER,
To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
(AERH. DEFAULT_CURRENCY_CODE, 30)). » '|| AERH. DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
To_char (nvl (AERH. AMT_DUE_CCARD_COMPANY + AERH. AMT_DUE_EMPLOYEE + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0), AERH. IN TOTAL), FND_CURRENCY_CACHE. GET_FORMAT_MASK
(AERH. DEFAULT_CURRENCY_CODE, 30)) REPORT_TOTAL,.
PER_EMPLOYEE. PERSON_ID EMPLOYEE_ID,
AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
PER_EMPLOYEE. FULL_NAME FULL_NAME,
NVL (AERH.expense_status_code,
AP_WEB_OA_ACTIVE_PKG. GetReportStatusCode (AERH. Source, AERH. Workflow_approved_flag,
AERH.report_header_id, 'Y',' don't)) STATUS_CODE.
AERH.source SOURCE,
NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG. GetCurrentApprover (AERH. Source,
AERH. Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER;
ROUND (NVL (sysdate - AERH. EXPENSE_LAST_STATUS_DATE,
SYSDATE - AERH. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE)),
AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
AERH. HOLDING_REPORT_HEADER_ID,
0 VENDOR_ID,
AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
Decode (aerh.expense_current_approver_id,
-99999, "AMEMultipleApprovers."
Decode (PER_APPROVER.full_name,
(null, 'CurrentApproverName', 'AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
-INVOICE_ID 1
Of
AK_WEB_USER_SEC_ATTR_VALUES, A.
AP_EXPENSE_REPORT_HEADERS AERH,
PER_PEOPLE_X PER_EMPLOYEE,
PER_PEOPLE_X PER_APPROVER
WHERE AERH. VOUCHNO + 0 = 0
AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
AND AERH. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
AND A.WEB_USER_ID =: 4
AND PER_EMPLOYEE. PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
AND AERH. EMPLOYEE_ID IS NULL
AND (AERH. Source <>"NonValidatedWebExpense".
OR AERH. Workflow_approved_flag IS NULL)
AND AERH.expense_current_approver_id = PER_APPROVER.person_id
AND decode (AERH.total, 0, ROUND (NVL (sysdate - AERH.) EXPENSE_LAST_STATUS_DATE, sysdate - AERH. (LAST_UPDATE_DATE)), 30) < = 30
AND AERH. SOURCE <>"the two Pay."
UNION ALL
/ * This selection is for reports of invoice imported by casual workers * /.
SELECT
BIM OBJECT DESCRIPTION,
BIM INVOICE_CURRENCY_CODE CURRENCY_CODE,
BIM INVOICE_DATE REPORT_DATE,
AERH. REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
BIM INVOICE_NUM REPORT_NUMBER,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30)). » '|| BIM INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
To_char (decode (nvl (I.)) AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0),
0, decode (HAVE. CANCELLED_DATE,
NULL, APS. GROSS_AMOUNT,
AERH. IN TOTAL).
NVL (HAVE. AMT_DUE_CCARD_COMPANY, AERH. AMT_DUE_CCARD_COMPANY) + nvl (HAVE. AMT_DUE_EMPLOYEE, AERH. AMT_DUE_EMPLOYEE) + nvl (AERH. MAXIMUM_AMOUNT_TO_APPLY, 0));
FND_CURRENCY_CACHE. GET_FORMAT_MASK
(HAVE. INVOICE_CURRENCY_CODE, 30))
REPORT_TOTAL,
P.PERSON_ID EMPLOYE_ID,
AERH. REPORT_HEADER_ID REPORT_HEADER_ID,
P.FULL_NAME FULL_NAME,
DECODE (AI. CANCELLED_DATE, null,
NVL (aerh.expense_status_code, DECODE (APS. GROSS_AMOUNT, 0, 'PAY. "
decode (HAVE. Payment_status_flag, 'Y', 'PAID. "
', 'BILL. "
'P', 'PARPAID', NULL))),
STATUS_CODE "CANCELLED"),
AERH.source SOURCE,
CURRENT_APPROVER NULL,
ROUND (sysdate - HAVE. DAYS_SINCE_ACTIVITY LAST_UPDATE_DATE),
AERH. RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
AERH. HOLDING_REPORT_HEADER_ID,
BIM VENDOR_ID VENDOR_ID,
AERH. AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
AERH. AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,
'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
TO_CHAR (AERH. LAST_UPDATE_DATE, 'DD-MON-RRRR HH'),
BIM INVOICE_ID INVOICE_ID
Of
AK_WEB_USER_SEC_ATTR_VALUES, A.
AP_INVOICES HAVE,
AP_EXPENSE_REPORT_HEADERS AERH,
PER_PEOPLE_X P,.
AP_PAYMENT_SCHEDULES APS
WHERE DID. INVOICE_ID = APS. INVOICE_ID
AND THE AI. INVOICE_ID = AERH. VOUCHNO (+)
AND THE AI. INVOICE_TYPE_LOOKUP_CODE: "="BILL ".
AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID. '
AND THE AI. PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
AND A.WEB_USER_ID =: 5
AND P.PERSON_ID = I. PAID_ON_BEHALF_EMPLOYEE_ID
AND AP_WEB_DB_HR_INT_PKG. IsPersonCwk (HAVE. PAID_ON_BEHALF_EMPLOYEE_ID) = 'Y '.
AND DECODE (AI. PAYMENT_STATUS_FLAG,
'Y' sysdate - I. LAST_UPDATE_DATE,
decode (APS. GROSS_AMOUNT, 0, sysdate - I. LAST_UPDATE_DATE, 0)
) < = 30
AND (AERH. SOURCE <>"The two Pay" OR AERH. REPORT_HEADER_ID IS NULL)) QRSLT WHERE (REPORT_SUBMITTED_DATE is not null)
at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _OA._jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
# # 0 in detail
java.sql.SQLException: ORA-01008: not all variablesat oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _OA._jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)
java.sql.SQLException: ORA-01008: not all variablesat oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _OA._jspService(OA.jsp:33)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
to EDU.oswego.cs.dl.util.concurrent.PooledExecutor$ Worker.run (PooledExecutor.java:803)
at java.lang.Thread.run(Thread.java:534)I took the sql error message and tried the same performance in Toad... I could run it smoothly... I dot know why his work during the execution of the page
Please help me guys...
Thank you
Pavan
See you are not sure if they make somewhere clause or where clause params. Your code can be disturbing the standard flow of the code
Try
(a) Substitution of view object
(b)
OAViewObject vo = (OAViewObject) am1.findViewObject ("TrackExpenseReportsVO");
System.out.println (VO);
vo.setWhereClause (null);
vo.setWhereClause ("REPORT_SUBMITTED_DATE is not null");
vo.executeQuery (); do not run
B. try if this does not work go for a
Concerning
Marie Lise S
-
java.sql.SQLException: ORA-01008: not all variables
Hi all
Here is the code in my opinion
SELECT * FROM (select * from ())
SELECT WN. NOTIFICATION_ID,
WN. FROM_USER,
DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
||' '
|| WN. SUBJECT) AS THE SUBJECT.
WN. LANGUAGE,
WN. BEGIN_DATE,
WN. END_DATE,
WN. STATUS,
WN. PRIORITY,
'P' AS PRIORITY_F,
WN. RECIPIENT_ROLE,
WN. END_DATE,
WIT. DISPLAY_NAME AS TYPE,
WN. MORE_INFO_ROLE,
WN. FROM_ROLE,
WN. MESSAGE_TYPE,
WN. MESSAGE_NAME,
WN. CONTEXT,
XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
OF WF_NOTIFICATIONS WN.
WF_ITEM_TYPES_TL WIT,
WL WF_LOOKUPS_TL
WHERE WN.message_type = WIT.name
AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
AND WIT.language = userenv ('LANG')
AND WIT.language = WL.language
AND WN.status = WL.lookup_code
AND more_info_role IS NULL
AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
AND WN.recipient_role IN
(SELECT WUR.role_name
OF WF_USER_ROLES WUR
WHERE WUR.user_name =: 1
AND WUR.user_orig_system =: 2
AND WUR.user_orig_system_id =: 3
)
UNION ALL
SELECT
/ * + Index (WN WF_NOTIFICATIONS_N6) ORDERED PUSH_SUBQ USE_NL (WN WL WIT) * /.
WN. NOTIFICATION_ID,
WN. FROM_USER,
DECODE (WN. MORE_INFO_ROLE, NULL, WN. TO_USER, wf_directory. GetRoleDisplayName (WN. MORE_INFO_ROLE)) AS TO_USER;
DECODE (WN. MORE_INFO_ROLE, NULL, WN. TOPIC, FND_MESSAGE. GET_STRING ('FND', 'FND_MORE_INFO_REQUESTED')
||' '
|| WN. SUBJECT) AS THE SUBJECT.
WN. LANGUAGE,
WN. BEGIN_DATE,
WN. END_DATE,
WN. STATUS,
WN. PRIORITY,
'P' AS PRIORITY_F,
WN. RECIPIENT_ROLE,
WN. END_DATE,
WIT. DISPLAY_NAME AS TYPE,
WN. MORE_INFO_ROLE,
WN. FROM_ROLE,
WN. MESSAGE_TYPE,
WN. MESSAGE_NAME,
WN. CONTEXT,
XXTPS_FA043_PKG.get_gbv (WN. CONTEXT, WN. MESSAGE_TYPE, wn.language) VBG.
XXTPS_FA043_PKG.get_asset_type (WN. CONTEXT, WN. Asset_type MESSAGE_TYPE)
OF WF_NOTIFICATIONS WN.
WF_ITEM_TYPES_TL WIT,
WL WF_LOOKUPS_TL
WHERE WN.message_type = WIT.name
AND WL.lookup_type = 'WF_NOTIFICATION_STATUS. '
AND WIT.language = userenv ('LANG')
AND WIT.language = WL.language
AND WN.status = WL.lookup_code
AND wn.message_type IN ('XXNCVPIS', 'XXNCVADJ', 'XXNCVTRN', 'XXNCVRCL', 'XXNCVRET', 'XXNCVSPL', 'XXNCVASG')
AND WN.more_info_role IN
(SELECT WUR.role_name
OF WF_USER_ROLES WUR
WHERE WUR.user_name =: 4
AND WUR.user_orig_system =: 5
AND WUR. USER_ORIG_SYSTEM_ID =: 6
))
WHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
AND DECODE (: 7, NULL, ' 1 ',' < ', VBG, ' 1') < DECODE (: 7, NULL, ' 2 ',' < ',: 8, '2')
(AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))
Code of VOImpl
' public void initQuery (String s, String s1, s2, s3, s4 of the string String String,
S5, s6 String String) {}
OAApplicationModuleImpl = localOAApplicationModuleImpl
(OAApplicationModuleImpl) getApplicationModule ();
OADBTransactionImpl = localOADBTransactionImpl
(OADBTransactionImpl) localOAApplicationModuleImpl.getDBTransaction ();
int i = 0;
setWhereClause (null);
setWhereClauseParams (null);
setWhereClauseParam (0, s);
setWhereClauseParam (1, s1);
setWhereClauseParam (2, s2);
setWhereClauseParam (3, s);
setWhereClauseParam (4, s1);
setWhereClauseParam (5, s2);
setWhereClauseParam (6, s4);
setWhereClauseParam (7, s6);
String strWhereClause = "";
If ((null! = s5) & &!("".)) Equals (S5)))
{
If (! (")) All".equalsIgnoreCase (S5)))
{
"" strWhereClause = "asset_type =" "+ s5 +" ' ";
addWhereClause (strWhereClause);
}
}
When I try to run the page, and then I am getting java.sql.SQLException: ORA-01008: not all variables.
Can someone tell the cause of the road please?
Thank you
Siva PrasadWHERE DECODE (: 7, NULL, ' 2 ',' > ', VBG, ' 2') > DECODE (: 7, NULL, ' 1 ',' > ',: 8, '1')
AND DECODE (: 7, NULL, 1 ',')<'1')>'1')>< decode(:7,="" null,="" '2',=""><', :8,="">',>
(AND DECODE (: 7, NULL, '1', 'IS', VBG, '1') = DECODE (: 7, NULL, ' 1', 'IS',: 8, '1'))You use the variable even here several times. Please change sequentially. Even if you use: 7 more than once, please change to: 8 (number) and go to the setWhereClauseParam. Basically do not use the same variable twice (even if you want to compare the same value)
Thank you
Shree -
Hi all
After that I installed vCloud Director and it works OK for the last 2 weeks. Now, after reboot yesterday for the ESX interview, I get the following error in the /opt/vmware/cloud-director/logs/vcloud-container-info.log:
Caused by: java.sql.SQLException: ORA-28001: the password has expired
Director vCould crashes and refuses to come,-(.)
Anyone out there had this problem too? How can I fix? Thanks in advance for your help. See you soon.
PSK@Centrify
http://www.VMware.com/PDF/vcd_10_install.PDF
Pages 9-23
Maybe you are looking for
-
All of a sudden my Thunderbird account is inactive
I am running Thunderbird and Firefox (latest versions) on two laptops Toshiba, a running Windows 7 and other Windows 8.1. The two laptops have been sharing my Thunderbird account without any problem for almost two years now. Yesterday morning, I chec
-
Record time from start to trigger
Hello I have a program that uses analog channels N to record data, they begin taking data (either finite or continuous) a trigger. I use the built in digital triggering but a software analog trigger (works well if). For now we'll just worry about dig
-
Missing photos after reinstalling Vista
I reinstalled vista on my laptop, but my photos rae still on it and I don't know how to get them, help
-
Please help me with drivers for usb controller, device, network controller, pci, ethernet, pci simple communication
-
[Training] The package and the launch does not work
I try to use the "Package and launch" option in the drive and doesn't seem to work. I've specified that correcting the IP and the password as the playbook in the settings. I get the message "Build successful" but the Simulator does not launch the app