PageContext.forward causes strange exception

Hi,
I've found a strange exception using pageContext.forward.
The code is as follows:
try {
} catch (Exception e) {
out.println (...); //for debugging purposes
pageContext.forward (errorPage);
pageContext.forward throws an "IllegalStateException: Attempt to clear a buffer that's already been flushed". (I think that this is the right translation, the original is in Spanish).
I think that there is a very similar problem described in this forum:
http://forum.java.sun.com/thread.jsp?forum=45&thread=343314
Has anyone found a similar problem (with its solution, if possible ;=)
Thanx

Howdy,
You've already written to you JSP output, and in this situation you can't forward 'cause it's automatically flushed.
try changing your forward method position, befor any out.print() or like that.
OR use this trick,
<%@ page autoFlush="false" %>
// Write to JSP and other stuffs...
// Forward to another content...
// Do your stuffs...
response.flushBuffer();

Similar Messages

  • Invoke stored procedure cause strange exception

    Hi, I'm using JDev 11.1.2, the use case is: add a new row to the VO iterator filtered by some view criteria and call a stored procedure before commit.
    The application runs fine without calling the stored procedure, however, following exception will occur if it's called.
    The stored procedure will do some update to a remote DB2 via DB link. Though the exception stack trace shows that the SP has error, but if I run it separately in some SQL tool, it is ok.
    The "BO_SP" problem seems not to be caused by the 'new row state'.
    Does any one have any tips for this problem? Thanks!
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase INVOKE_APPLICATION 5
    oracle.jbo.DMLException: JBO-26041: Failed to post data to database during "Savepoint": SQL Statement "BO_SP".
         at oracle.jbo.server.DBTransactionImpl.setSavepoint(DBTransactionImpl.java:3184)
         at oracle.jbo.server.DBTransactionImpl.saveTmpPostState(DBTransactionImpl.java:1791)
         at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2065)
         at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
         at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1590)
         at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1415)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1428)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2169)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:731)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
         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 oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:173)
         at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:163)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:1035)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:926)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:824)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:554)
         at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:158)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:115)
         at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:84)
         at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:50)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
         at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:159)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:112)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:130)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:461)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:134)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:106)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1129)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:353)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:204)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)
         at 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:173)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:122)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:468)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:293)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:199)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
         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:136)
         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)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at 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.sql.SQLException: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]ILLEGAL SYMBOL <END-OF-STATEMENT>; VALID SYMBOLS ARE ON UNIQUE. {42000,NativeErr = -104}[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT. *N {HY000,NativeErr = -518}
    ORA-02063: preceding 2 lines from TGBPSU
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1079)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1466)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3937)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1535)
         at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
         at oracle.jbo.server.OracleSQLBuilderImpl.setSavepoint(OracleSQLBuilderImpl.java:1548)
         at oracle.jbo.server.DBTransactionImpl.setSavepoint(DBTransactionImpl.java:3172)
         ... 83 more
    Edited by: codeplay on Oct 17, 2011 5:17 PM

    Look like the calling of the other DB is the root of your problem:
    Caused by: java.sql.SQLException: ORA-28500: connection from ORACLE to a non-Oracle system returned this message:[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]ILLEGAL SYMBOL <END-OF-STATEMENT>; VALID SYMBOLS ARE ON UNIQUE. {42000,NativeErr = -104}[Oracle][ODBC DB2 Wire Protocol driver][UDB DB2 for iSeries and AS/400]EXECUTE STATEMENT DOES NOT IDENTIFY A VALID PREPARED STATEMENT. *N {HY000,NativeErr = -518}
    ORA-02063: preceding 2 lines from TGBPSU
    >
    Test your app with -Djbo.debugoutoup=console as a java option, this will generate lots of output but you may see the actual sql passed to the db.
    Where and how do you call the SP?
    Timo

  • Strange pageContext.forward Error

    Hello,
    We're migrating from Weblogic 10 to 11g1 using MyFaces 1.2.
    And have encountered with one JSF page with pageContext.forward problem.
    java.lang.IllegalStateException
         at org.apache.myfaces.application.jsp.ViewResponseWrapper.getWriter(ViewResponseWrapper.java:140)
         at javax.faces.webapp._ErrorPageWriter.handleThrowable(_ErrorPageWriter.java:492)
         at javax.faces.webapp._ErrorPageWriter.handleException(_ErrorPageWriter.java:479)
         at javax.faces.webapp.FacesServlet.handleLifecycleException(FacesServlet.java:294)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:192)
         at 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.ServletStubImpl.execute(ServletStubImpl.java:184)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:160)
         at jsp_servlet.__query._jspService(__query.java:180)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:35)
         at 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.ServletStubImpl.execute(ServletStubImpl.java:184)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:341)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.buildView(JspViewHandlerImpl.java:486)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:337)
         at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:187)
         at 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:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:287)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:351)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at com.cht.morder.web.sessionFilter.doFilter(sessionFilter.java:396)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at 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)
    The problem looks like MYFACES-1955
    https://issues.apache.org/jira/browse/MYFACES-1955
    But when I change the line from pageContext.forward to response.sendRedirect, it works.
    Anyone has also got this problem?
    Is it the problem of Weblogic like the discussion in MYFACES-1955?
    Thank you for your help.
    Edited by: user12024433 on 2011/11/21 下午 7:33

    Howdy,
    You've already written to you JSP output, and in this situation you can't forward 'cause it's automatically flushed.
    try changing your forward method position, befor any out.print() or like that.
    OR use this trick,
    <%@ page autoFlush="false" %>
    // Write to JSP and other stuffs...
    // Forward to another content...
    // Do your stuffs...
    response.flushBuffer();

  • Login page not showing "Unable to generate forwarding URL. Exception:"

    Dear All,
    I have install the EBS R12 on RHEL 5.5 64bit. All run fine some days but one day after restart there is a issue on database we rectify that DB issue but after that we are not able to get the login page. ALL application/DB node process are end with exiting with status 0. we have tried adautocfg.sh with status 0.
    still getting login page as blank.
    showing msg:
    Unable to generate forwarding URL. Exception: oracle.apps.fnd.cache.CacheException
    I got on file javacache.log . i think this is showing error logs.
    /u02/oracle/PROD/inst/apps/PROD_apex/logs/appl/rgf
    $ vi javacache.log
    showing issue:
    correct one :
    [2013-02-25T15:10:48.994+05:30] [ias] [NOTIFICATION] [] [cache.Lifecycle] [host: apex] [nwaddr: 192.168.0.4] [tid: 11] [userId: applmgr] [ecid: 1361785246:192.168.0.4:6700:0:2,2] JOC is initialized. ver=10.1.3, distribute=true, vid=2, coordinator=[192.168.0.4:61230, pos=0, uid=0, pri=0, def=prop:NA], discover list=[[192.168.0.4:12345, pos=-1, uid=0, name=, pri=0]]
    log having problem:
    [2013-03-01T14:40:52.083+05:30] [ias] [ERROR] [] [cache] [host: apex] [nwaddr: 192.168.0.4] [tid: 12] [userId: applmgr] [ecid: 1362129052:192.168.0.4:3933:0:102,2] [[
    oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:234)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:201)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:176)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:151)
    at oracle.apps.jtf.cache.GenericCacheLoader.load(GenericCacheLoader.java:87)
    at oracle.ias.cache.CacheLoader.callLoad(Unknown Source)
    at oracle.ias.cache.CacheHandle.findObject(Unknown Source)
    at oracle.ias.cache.CacheHandle.locateObject(Unknown Source)
    at oracle.ias.cache.CacheAccess.get(Unknown Source)
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:771)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    at oracle.apps.fnd.functionSecurity.User.getUser(User.java:338)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.getUser(FunctionSecurity.java:527)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1620)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)
    at oracle.apps.fnd.functionSecurity.RunFunction.init(RunFunction.java:309)
    at RF.jspService(_RF.java:205)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: ORA-01410: invalid ROWID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
    ... 37 more
    Pls help in this case. I am novice in EBS.
    Thanks

    Hi Yoonas,
    while login page shwoing error "Unable to generate forwarding URL. Exception: oracle.apps.fnd.cache.CacheException "
    alert logs are fin no issue from db end all rectified. pls find the application.log.
    13/02/28 18:11:58.536 html: 10.1.3.4.0 Stopped
    13/03/01 10:54:24.412 10.1.3.4.0 Started
    13/03/01 10:54:34.841 html: 10.1.3.4.0 Started
    13/03/01 12:08:50.767 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362119930766
    13/03/01 12:08:50.767 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null
    13/03/01 12:08:51.980 html: Servlet error
    java.lang.ExceptionInInitializerError
    at oracle.apps.fnd.sso.AppsLoginRedirect.doGet(AppsLoginRedirect.java:613)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    at com.evermind[Oracle Containers for J2EE 10g (10.1.3.4.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.apps.fnd.cache.CacheException
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:228)
    at oracle.apps.fnd.functionSecurity.User.getUser(User.java:338)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.getUser(FunctionSecurity.java:527)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.init(FunctionSecurity.java:1620)
    at oracle.apps.fnd.functionSecurity.FunctionSecurity.<init>(FunctionSecurity.java:188)
    at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:735)
    at oracle.apps.fnd.sso.SSOUtil.getLocalPwdChangeUrl(SSOUtil.java:791)
    at oracle.apps.fnd.sso.SSOManager.<clinit>(SSOManager.java:2191)
    ... 19 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: Failure in CacheLoader: oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:830)
    at oracle.apps.jtf.cache.CacheManager.getInternal(CacheManager.java:4802)
    at oracle.apps.jtf.cache.CacheManager.get(CacheManager.java:4624)
    at oracle.apps.fnd.cache.AppsCache.get(AppsCache.java:216)
    ... 26 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:234)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:201)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:176)
    at oracle.apps.fnd.cache.GenericCacheLoader.load(GenericCacheLoader.java:151)
    at oracle.apps.jtf.cache.GenericCacheLoader.load(GenericCacheLoader.java:87)
    at oracle.ias.cache.CacheLoader.callLoad(Unknown Source)
    at oracle.ias.cache.CacheHandle.findObject(Unknown Source)
    at oracle.ias.cache.CacheHandle.locateObject(Unknown Source)
    at oracle.ias.cache.CacheAccess.get(Unknown Source)
    at oracle.apps.jtf.cache.IASCacheProvider.get(IASCacheProvider.java:771)
    ... 29 more
    Caused by: oracle.apps.jtf.base.resources.FrameworkException: ORA-01410: invalid ROWID
    at oracle.apps.jtf.base.resources.FrameworkException.convertException(FrameworkException.java:607)
    at oracle.apps.jtf.base.resources.FrameworkException.addException(FrameworkException.java:585)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:66)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:88)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:202)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:218)
    at oracle.apps.jtf.base.resources.FrameworkException.<init>(FrameworkException.java:249)
    ... 39 more
    13/03/01 16:02:42.161 html: 10.1.3.4.0 Stopped
    13/03/01 17:06:37.969 10.1.3.4.0 Started
    13/03/01 17:06:47.473 html: 10.1.3.4.0 Started
    13/03/01 18:00:40.903 html: 10.1.3.4.0 Stopped
    13/03/01 18:12:07.664 10.1.3.4.0 Started
    13/03/01 18:12:25.248 html: 10.1.3.4.0 Started
    13/03/01 18:34:41.921 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362143081921
    13/03/01 18:34:42.155 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null
    13/03/01 18:57:48.659 html: 10.1.3.4.0 Stopped
    13/03/04 11:40:01.741 10.1.3.4.0 Started
    13/03/04 11:40:23.176 html: 10.1.3.4.0 Started
    13/03/04 12:09:47.660 html: oracle.apps.fnd.security.LeakDetectionFilter.initialized:1362379187660
    13/03/04 12:09:47.824 html: LeakSetting:
    global:true,session:false,aggressive:false,stderr:false,appslog:false,corelog:false
    ignoring:null

  • Toplink Exception: caused by EXCEPTION [TOPLINK-125]

    Hi,
    Sorry i can't provide much info at the moment, but this has just been passed on from a colleague at work.
    The following error has occurred now that we have temporarily set all descriptors to use noIdentityMap().
    It does not happen when caching is switched on.
    Jul 01, 2003 06:32:36 PM com.aon.ame.quotation.ejb.QuotationBean updateSectionQuotation
    INFO: Toplink Exception: caused by EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)]):
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    MAPPING: TOPLink.Public.Mappings.OneToOneMapping[underwritingCompany]
    DESCRIPTOR: Descriptor(com.aon.ame.entities.UnderwritingBranch --> [DatabaseTable(AME2DATA.UNDERWRITING_BRANCH)])
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.<init>(Compiled Code)
         at java.lang.Exception.<init>(Compiled Code)
         at java.lang.RuntimeException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.TOPLinkException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.ValidationException.<init>(Compiled Code)
         at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:176)
         at TOPLink.Public.Exceptions.DescriptorException.<init>(DescriptorException.java:183)
         at TOPLink.Public.Exceptions.DescriptorException.valueHolderInstantiationMismatch(DescriptorException.java:1363)
         at TOPLink.Private.Indirection.BasicIndirectionPolicy.validateAttributeOfInstantiatedObject(Compiled Code)
         at TOPLink.Public.Mappings.ForeignReferenceMapping.getAttributeValueFromObject(Compiled Code)
         at TOPLink.Public.Mappings.ForeignReferenceMapping.buildClone(Compiled Code)
         at TOPLink.Private.Descriptors.ObjectBuilder.populateAttributesForClone(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.cloneAndRegisterObject(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.checkExistence(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.internalRegisterObject(Compiled Code)
         at TOPLink.Public.PublicInterface.UnitOfWork.registerObject(Compiled Code)
         at com.aon.ame.quotation.ejb.QuotationBean.updateSectionQuotation(Compiled Code)
         at com.aon.ame.quotation.ejb.EJSRemoteQuotation.updateSectionQuotation(EJSRemoteQuotation.java:2418)
         at com.aon.ame.quotation.ejb._Quotation_BaseStub.updateSectionQuotation(_Quotation_BaseStub.java:4146)
         at com.aon.ame.quotation.ejb._Quotation_Stub.updateSectionQuotation(Compiled Code)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateBrokerSpecialEndorsement(Compiled Code)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.doUpdateWording(ViewSpecialEndorsementsAction.java:551)
         at com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.amePerform(ViewSpecialEndorsementsAction.java:127)
         at com.aon.ame.struts.action.AmeBaseAction.aonPerform(AmeBaseAction.java:48)
         at com.aon.struts.action.BaseAction.perform(Compiled Code)
         at org.apache.struts.action.ActionServlet.processActionPerform(Compiled Code)
         at org.apache.struts.action.ActionServlet.process(Compiled Code)
         at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at javax.servlet.http.HttpServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled Code)
         at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled Code)
         at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled Code)
         at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(Compiled Code)
         at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled Code)
         at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled Code)
         at com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled Code)
         at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled Code)
         at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(Compiled Code)
         at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(Compiled Code)
         at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(Compiled Code)
         at java.lang.Thread.run(Compiled Code)
    Jul 01, 2003 06:32:36 PM com.aon.struts.action.BaseAction perform
    SEVERE: com.aon.ame.quotation.struts.action.ViewSpecialEndorsementsAction.aonPerform() threw an exception: RemoteException occurred in server thread; nested exception is:
         com.ibm.ejs.container.UncheckedException: ; nested exception is:
         EXCEPTION [TOPLINK-125] (3.6.4 (build 245)): TOPLink.Public.Exceptions.DescriptorException
    EXCEPTION DESCRIPTION: The mapping for the attribute [underwritingCompany] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [null].
    Can anyone shed any light on why this might have happened?
    Many thanks.

    I don't see how caching is affected by this, but the exception is complaining that you have a relationship that uses indirection and have not instantiated the value holders.
    I.e.,
    Customer has 1-1 to Address, and you're using ValueHolderInterface for the type. Either in the constructor or in the declaration of the attribute, you need to init the value holder. You should do the same for 1-M's also (unless you're using transparent indirection) For example:
    public class Customer {
    String name;
    String title;
    ValueHolderInterface address = new ValueHolder();
    ValueHolderInterface orders = new ValueHolder(new Vector());

  • The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6

    The niFPui.mxx plug-in caused an exception in the CmxAggregateItemUI::InvokeCommand function in the NIMax process. When saving *.iak file in MAX4.6
    Hi There,
    The subject header just about says it all. This is the first action I took with MAX - it is a fresh install. The file I wanted to save was still written and the FP seems to be working ok. However, I need to know what happened.
    I can't post the whole log file due to the amount of characters allowed on this post. I can cut and paste sections if there is a specific part of the file you need. Below is the first section and last section.
     Context where exception was caught:
    Func:
    CmxAggregateItemUI::InvokeCommand Args: plugin=niFPui.mxx Item=0107EAB1
    cmdID.cmdId={4A36174B-EC0C-4D73-A23D-F15D164542DE} cmdID.index=0
    Application   : C:\Program Files\National Instruments\MAX\NIMax.exe
    User Name     : slaney
    OS Version    : 5.1.2600 (Service Pack 3)
    Exception Code: C000001E
    Exception Addr: 457BC448
    Return Address: 457BC448
    Function Name : nNIFPServer::tFpLinearScaleRange::`vftable'
    Module Name   : FieldPoint71
    Parameters    : F001008E 7800FDDD C5100DFC EC0107EA
    Source File   : (not available)
    Return Address: 481000C3
    Function Name : (not available)
    Module Name   : (not available)
    Parameters    : 00000000 00000000 00000000 00000000
    Source File   : (not available) 

    Hi,
    I did a research on your error message and it seems this problem was introduced with MAX 4.6. This version switched to a new error reporting mechanism and reports even errors that are which are not critical to your task.
    These errors typically show up as "unexpected" and if your error falls into this category have a look to this KB for further assistance.
    If it doesn't fall into this category, your could try to go back to the MAX 4.5 or 4.4.. Of course you would need to reinstall some components and might not be able to use newer drivers at all.
    Let me know.
    DirkW

  • Error in crawl log "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "

    Hi 
    I get the following error in my crawl logs
    "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..; SearchID "
    Because of this i suspect, the search results are not including those aspx pages marked as "Hide physical urls from search".
    This error is not available in the another environment where the aspx pages are coming in the results.
    Thanks
    Joe

    Hi Joe,
    Greetings!
    Reset the index and re-crawl. That usually clears it
    If you are using NTLM authentication, then make sure that you specified the PassThrough authentication for crawling
    Probably you need to debug the BDC code that underlies the external content types.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/41a86c43-151d-47cd-af73-967a4c940611/lotus-notes-connector-error-while-crawling-lob-contents?forum=sharepointsearch
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Error while crawling LOB contents (Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException)

    Everytime when I perform a Full Crawl on the Central Administraion page, this error will appear and the crawl process will run into an infinite loop and nothing crawl success. I have tried delete and re-create the crawling content sources, start/stop
    the search services but this error still appear.
    Please help. Thanks a lot.
    Error Message:
    topicpages://
    Error while crawling LOB contents.
    ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException
    The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation..:
    System.Net.WebException The request failed with HTTP status 404: Not Found.;
    SearchID = EFE3FAA4-12C3-40AD-B410-51D6189FC720 )

    Tried scheduled an incremental every 10 minutes
    Still getting error on crawling LOB contents. The incremental crawl ran into an infinite loop and nothing crawl success
    Thanks for help.
    Error Message:
    topicpages://(servername)
    Error while crawling LOB contents.
     ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException
    The shim execution failed unexpectedly - Exception has been thrown by the target of an invocation..:
    System.Net.WebException The request failed with HTTP status 404: Not Found.;
    SearchID = B801BC11-8138-453F-AB4D-AA4BE4F5B57A )

  • Underscore causing an exception in a toolbar

    //  I'm using Netbeans 7.4 release candidtate 2
    //  1)  Start the JavaFx Ensemble program - thank you very much.  It has saved me many hours.
    //  2)  In Ensemble Click on "Hidden Split Pane".
    //  3)  Click the "Source Code" tab.
    //  4)  Click the "Save Netbeans project".
    //  5)  Replace HiddenSplitPaneSample.java with this code (see below).
    //  6)  After starting: click the "double arrow" twice (maybe three times) to display the options in the center pane.
    //  7)  The second time you should get the exception.  (See Netbeans output window.)
    //  8)  You get the double arrow because dividerPositions() is set too small; but that may be the way some user
    //      would have things "split".
    //  Why this is important to me.  I included a phony getWord() method (see below).  In my app getWord() will
    //  actually go to disk and get a word, in the human language that the user has selected somewhere else.
    //  Example:    if they have English selected then getWord( "Add_One" ) will return "Add One" and display it as the buttons text.
    //              if they have Chinese selected then getWord( "Add_One" ) will return "Chinese equivalent of Add One" and display it as the buttons text.
    //              If there is no replacement in the file then getWord( "Add_One" ) will return "Add_One".
    //  The question is why does the underscore cause an exception?  I could easily replace the under score with
    //  a dash (see below) because that doesn't cause the exception. But that begs the question what will happen
    //  when I'm using Chinese, Japanese, or Hindi?  Is there a stray character here and there that will cause
    //  this exception?
    //  Notice also that it has removed my underscore: "Add_One" becomes "AddOne".
    * Copyright (c) 2008, 2012 Oracle and/or its affiliates.
    * All rights reserved. Use is subject to license terms.
    import javafx.application.Application;
    import javafx.geometry.HPos;
    import javafx.geometry.VPos;
    import javafx.scene.Group;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.control.ScrollPane;
    import javafx.stage.Stage;
    import javafx.scene.control.SplitPane;
    import javafx.scene.control.SplitPaneBuilder;
    import javafx.scene.control.ToolBar;
    import javafx.scene.control.ToolBarBuilder;
    import javafx.scene.layout.Pane;
    import javafx.scene.layout.RegionBuilder;
    import javafx.scene.layout.VBox;
    public class HiddenSplitPaneSample extends Application {
        ToolBar     standardToolbar     = null;
        ScrollPane  scrollPane          = new ScrollPane    ();
        class MyPane extends Pane   {
            @Override
            protected void layoutChildren() {
                super.layoutChildren   ();
                double  w   = getWidth  ();
                double  h   = getHeight ();
                double  ph  = standardToolbar.getHeight();
                layoutInArea    ( standardToolbar,  0,  0,  w, ph,    0,  HPos.CENTER,    VPos.CENTER );
                layoutInArea    ( scrollPane,       0,  0+ph,   w, h-ph,    0,  HPos.LEFT,    VPos.CENTER );
        private String  getWord ( String wordToGet )    {
            return  wordToGet;
        private void init(Stage primaryStage) {
            MyPane  pane1   = new MyPane    ();
                    pane1   .setPrefWidth   ( 400 );
                    pane1   .setPrefHeight  ( 400 );
            standardToolbar = ToolBarBuilder.create().build();
                standardToolbar     .setPrefHeight      ( 30 );
                standardToolbar     .setMinHeight       ( 30 );
                standardToolbar     .setMaxHeight       ( 30 );
                pane1.getChildren() .add( standardToolbar );
                Button  addOneButton    = new Button    ( getWord( "Add_One"    ) );
                Button  addTwoButton    = new Button    ( getWord( "Add_Two"    ) ); 
                Button  addThreeButton  = new Button    ( getWord( "Add_Three"  ) );
                Button  addFourButton   = new Button    ( getWord( "Add_Four"   ) ); 
                //Button  addOneButton    = new Button    ( getWord( "Add-One"    ) );
                //Button  addTwoButton    = new Button    ( getWord( "Add-Two"    ) ); 
                //Button  addThreeButton  = new Button    ( getWord( "Add-Three"  ) );
                //Button  addFourButton   = new Button    ( getWord( "Add-Four"   ) ); 
                standardToolbar .getItems().add ( addOneButton      );
                standardToolbar .getItems().add ( addTwoButton      );
                standardToolbar .getItems().add ( addThreeButton    );
                standardToolbar .getItems().add ( addFourButton     );
            VBox    vbox    = new VBox  ();
            scrollPane  .setContent     ( vbox );
            scrollPane  .setFitToWidth  ( true );
            pane1   .getChildren().add     ( scrollPane );
            Group root = new Group();
            primaryStage.setScene(new Scene(root));
            String hidingSplitPaneCss = HiddenSplitPaneSample.class.getResource("HiddenSplitPane.css").toExternalForm();
            final SplitPane splitPane = SplitPaneBuilder.create().id("hiddenSplitter").items(
                    RegionBuilder.create().styleClass("rounded").build(),
                    pane1,//RegionBuilder.create().styleClass("rounded").build(),
                    RegionBuilder.create().styleClass("rounded").build()).dividerPositions(new double[]{0.33, 0.50}).build();
            splitPane.getStylesheets().add(hidingSplitPaneCss);
            root.getChildren().add(splitPane);
        @Override public void start(Stage primaryStage) throws Exception {
            primaryStage.setX      ( 0 );
            primaryStage.setY      ( 0 );
            primaryStage.setWidth  ( 500 );
            primaryStage.setHeight ( 500 );
            init(primaryStage);
            primaryStage.show();
        public static void main(String[] args) { launch(args); }

    The underscore is being parsed as an indicator that the next character should be a mnemonic, and the underscore is then stripped. This happens by default on Buttons, but not on Labels.
    See the API in the Labeled class. You can either turn parsing off, or you can use two underscores to represent one underscore.

  • MAX error, niGPIBsys.dll plug-in caused an exception

    Trying to connect to hardware via the local network to send ASCII strings. I can ping the static IP address successfully, but can't get anything from it in LabVIEW.
    VISA resource at the moment is TCPIP0::xxx.xxx.xxx.xxx::INSTR, which I think is right.
    MAX returns this error on startup:
    The niGPIBsys.dll plug-in caused an exception in the CmxSysExpertManager::FinalizeExpert function in the NIMax process.
    See these files for details:
    C:\ProgramData\National Instruments\MAX\Logs\20130709_091257-NIMax-00001848.log
    C:\ProgramData\National Instruments\MAX\Logs\20130709_091257-NIMax-00001848.dmp
    Then won't make new devices.
    VISA and 488 have both been reinstalled, and the nearest error I could find was number 6 here:
    http://digital.ni.com/public.nsf/allkb/6CA56E2DDBCCA06086257591006141EE?OpenDocument
    ... but PAE is definitely not enabled.
    Thanks in advance for any suggestion.
    (LabVIEW version 11.0 32-bit, windows 7, hardware is a Votsch Industrial Oven with static IP address)

    Sorry, I'm confused myself.
    LabVIEW communication with one instrument works when I manually entered TCPIP0::xxx.xxx.xxx.xxx::INSTR, so over the local network. It also worked when I connected it to my computer with a USB cable because the USB::<something> option came up in the drop down list of the VISA resource name panel straight away.
    With the other instrument, it has both USB and ethernet sockets, I couldn't get a response using the same TCPIP format as above, even though I know the IP address (and I tried all combinations of w/ wout/ INSTR) and I could ping it. Haven't been able to plug it into anything with USB directly as I can't get a computer near it at the moment. Tried LabVIEW's VISA serial read write example programme... does that not make sense then? I got error -1073807343.
    So I tried to use MAX according to tutorials and encountered the above problems. I suspect the MAX problem is seperate to my VISA connection problems. Can MAX not be used to find and configure connections both USB (is this the same as GPIB?) and TCPIP?

  • Adobe Photoshop Elements 6 causes an exception

    I installed APE 6 on my Windows Vista computer and it works ok but now when I open some other programs it causes an exception.  These are important programs too, my EOS Utility program for Remote Capture from my camera, gone.  My program for transferring data to my calculator, gone.  My Monopoly game, gone.  What happened and how can I fix this?

    This may have happened due to insufficient RAM. Try running these programs on a system with greater RAM.

  • Adding new constant value to an 'enum' used in a field causes an exception

    We are using the DPL. I added a new constant to an enum that is used as a field on an entity called Booking (this field is not a key). This seems to cause an exception during onForeignKeyDelete when we delete an object from a related entity. The constraint is a "NULLIFY" on a "MANY_TO_ONE" relationship, so the effect should be just to nullify the Booking foreign key, but for some reason the fields are being checked and causing this exception. Shouldn't it be possible to add a new constant value to an enum without having to do some sort of migration? The stack is below. Note that the two types mentioned in the exception message are in fact the same (this is the enum). For the moment we can truncate our database, because we are still in development, but this would present a problem in production.
    IllegalArgumentException: Not a subtype of the field's declared class com.chello.booking.model.BookingStatus: com.chello.booking.model.BookingStatus
    at com.sleepycat.persist.impl.RawAbstractInput.checkRawType(RawAbstractInput.java:142)
    at com.sleepycat.persist.impl.RecordOutput.writeObject(RecordOutput.java:75)
    at com.sleepycat.persist.impl.RawAccessor.writeField(RawAccessor.java:232)
    at com.sleepycat.persist.impl.RawAccessor.writeNonKeyFields(RawAccessor.java:148)
    at com.sleepycat.persist.impl.ComplexFormat.writeObject(ComplexFormat.java:528)
    at com.sleepycat.persist.impl.PersistEntityBinding.writeEntity(PersistEntityBinding.java:143)
    at com.sleepycat.persist.impl.PersistKeyCreator.nullifyForeignKeyInternal(PersistKeyCreator.java:170)
    at com.sleepycat.persist.impl.PersistKeyCreator.nullifyForeignKey(PersistKeyCreator.java:137)
    at com.sleepycat.je.SecondaryDatabase.onForeignKeyDelete(SecondaryDatabase.java:1082)
    at com.sleepycat.je.ForeignKeyTrigger.databaseUpdated(ForeignKeyTrigger.java:37)
    at com.sleepycat.je.Database.notifyTriggers(Database.java:2016)
    at com.sleepycat.je.Database.deleteInternal(Database.java:800)
    at com.sleepycat.je.Database.delete(Database.java:714)
    at com.sleepycat.persist.BasicIndex.delete(BasicIndex.java:133)
    at com.sleepycat.persist.PrimaryIndex.delete(PrimaryIndex.java:206)
    at com.sleepycat.persist.BasicIndex.delete(BasicIndex.java:124)
    at com.sleepycat.persist.PrimaryIndex.delete(PrimaryIndex.java:206)
    Kind regards
    James Brook

    James,
    I've started investigating this and at first look it does appear to be a DPL bug. Over the next few days I'll look more deeply and report back here with what I find. If it is indeed a bug, we'll fix this for the next JE 4.0.x release and I'll make the fix available to you.
    You are correct that adding enum values is allowed without a conversion of any kind. The only change you should have to make, other than adding the enum value, is to bump the version of the containing entity in the @Entity annotation. I'm suspect you've already done that, but if you hadn't, it wouldn't cause the problem you're seeing.
    We have tested the addition of enum values, but not in combination with foreign key deletion and the NULLIFY constraint, I'm afraid.
    If I'm correct about it, the bug is specific to adding enum values and deleting a secondary key with the NULLIFY constraint, prior to re-writing the entity in some other way. So if the entity is updated (written) before the secondary key is deleted, then the problem should not occur. Therefore, one workaround is to call EntityStore.evolve after adding the enum value, and before using the store in other ways.
    Thanks for reporting this, and I hope this is not blocking your development.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Strange exception thrown from Client (Scanner has tokens)

    Hi,
    I am getting a really strange exception thrown from my client. It seems to be
    about a class that the wsgen generated. Has anyone ever seen something like that
    before? Maybe it is because I am using JBuilder(5.1)? I am operating on a WL6.1
    server. It is only a test webservice. So there are only standard return types,
    etc.
    Any comments/suggestions are appreciated
    cheers Stephan
    Scanner has tokens:
         [OPENTAGBEGIN]
         [NAME]     (META)
         [NAME]     (NAME)
         [CHARDATA]     (GENERATOR)
         [NAME]     (CONTENT)
         [CHARDATA]     (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001 11:13:46 #154529
         [TAGEND]
         [SPACE]     (
         [CLOSETAGBEGIN]
         [NAME]     (HEAD)
         [TAGEND]
         [SPACE]     (
         [OPENTAGBEGIN]
         [NAME]     (BODY)
         [NAME]     (bgcolor)
         [CHARDATA]     (white)
         [NAME]     (alink)
         [CHARDATA]     (#397F70)
         [NAME]     (link)
         [CHARDATA]     (#640078)
         [NAME]     (vlink)
         [CHARDATA]     (#DE7E00)
         [TAGEND]
         [SPACE]     (
         [OPENTAGBEGIN]
         [NAME]     (FONT)
         [NAME]     (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    java.lang.reflect.UndeclaredThrowableException: Error at line:8 col:13 Line:8
    ''' expected, got char[72]
         at weblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXElementFactory.java:60)
         at weblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:130)
         at weblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream.java:46)
         at weblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
         at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.java:258)
         at weblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.java:171)
         at weblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java:164)
         at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
         at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
         at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
         at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
         at weblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHandler.java:31)
         at $Proxy0.getAusgabe(Unknown Source)
         at webclient.Client.main(Client.java:36)
    Exception in thread "main"

    Hi, thanks, manoj!
    The problem was that eventhough I had the correct login, the server had another
    security layer, that prevented me from doing the lookup. So I guess I was supposed
    to get an error html page and so the SAX-Parser got messed up.
    Stupid mistake, but thank you very much.
    "manoj cheenath" <[email protected]> wrote:
    It looks like the server is sending back a html page instead
    of the soap response (text/xml). Can you check the URL
    you are trying?
    If you are using a WSDL file, then the URL will be inside
    the service->port->soap:address-location element.
    regards,
    -manoj
    "Stephan" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I am getting a really strange exception thrown from my client. It seemsto
    be
    about a class that the wsgen generated. Has anyone ever seen somethinglike that
    before? Maybe it is because I am using JBuilder(5.1)? I am operatingon a
    WL6.1
    server. It is only a test webservice. So there are only standard returntypes,
    etc.
    Any comments/suggestions are appreciated
    cheers Stephan
    Scanner has tokens:
    [OPENTAGBEGIN]
    [NAME] (META)
    [NAME] (NAME)
    [CHARDATA] (GENERATOR)
    [NAME] (CONTENT)
    [CHARDATA] (WebLogic htmlKona WebLogic Server 6.1 SP2 12/18/2001 11:13:46#154529
    [TAGEND]
    [SPACE] (
    [CLOSETAGBEGIN]
    [NAME] (HEAD)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (BODY)
    [NAME] (bgcolor)
    [CHARDATA] (white)
    [NAME] (alink)
    [CHARDATA] (#397F70)
    [NAME] (link)
    [CHARDATA] (#640078)
    [NAME] (vlink)
    [CHARDATA] (#DE7E00)
    [TAGEND]
    [SPACE] (
    [OPENTAGBEGIN]
    [NAME] (FONT)
    [NAME] (FACE)
    E7E00">
    <FONT FACE=e <-- bad character
    java.lang.reflect.UndeclaredThrowableException: Error at line:8 col:13Line:8
    ''' expected, got char[72]
    atweblogic.xml.babel.baseparser.SAXElementFactory.createSAXParseException(SAXE
    lementFactory.java:60)
    atweblogic.xml.babel.parsers.StreamParser.streamParseSome(StreamParser.java:13
    0)
    atweblogic.xml.babel.parsers.BabelXMLEventStream.parseSome(BabelXMLEventStream
    ..java:46)
    atweblogicx.xml.stream.XMLEventStreamBase.hasNext(XMLEventStreamBase.java:135)
    atweblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.j
    ava:258)
    atweblogicx.xml.stream.XMLEventStreamBase.hasStartElement(XMLEventStreamBase.j
    ava:171)
    atweblogicx.xml.stream.XMLEventStreamBase.startElement(XMLEventStreamBase.java
    :164)
    at weblogic.soap.codec.SoapMessage.read(SoapMessage.java:86)
    at weblogic.soap.WebServiceProxy.receive(WebServiceProxy.java:464)
    at weblogic.soap.WebServiceProxy.invoke(WebServiceProxy.java:430)
    at weblogic.soap.SoapMethod.invoke(SoapMethod.java:186)
    atweblogic.soap.wsdl.WebServiceInvocationHandler.invoke(WebServiceInvocationHa
    ndler.java:31)
    at $Proxy0.getAusgabe(Unknown Source)
    at webclient.Client.main(Client.java:36)
    Exception in thread "main"

  • Strange Exception while moving mouse on node Java8

    Hello,
    i made a customAnchorPane (extends AnchorPane) which plays adding and removing nodes withn a animation. I get a strange exception when i move the mouse over some!! (not all) nodes. The source of the exception seems to be internal.
    I have no idea how to resolve this Problem.
    Has anybody a idea?
    I use the Java8
    Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
        at com.sun.javafx.scene.input.PickResultChooser.processOffer(PickResultChooser.java:183)
        at com.sun.javafx.scene.input.PickResultChooser.offer(PickResultChooser.java:142)
        at javafx.scene.Node.impl_computeIntersects(Node.java:4763)
        at javafx.scene.Node.impl_intersects(Node.java:4730)
        at javafx.scene.Node.impl_pickNodeLocal(Node.java:4660)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.layout.Region.impl_pickNodeLocal(Region.java:2699)
        at javafx.scene.Node.impl_pickNode(Node.java:4695)
        at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3798)
        at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3384)
        at javafx.scene.Scene.pick(Scene.java:1832)
        at javafx.scene.Scene.access$6700(Scene.java:193)
        at javafx.scene.Scene$MouseHandler.process(Scene.java:3610)
        at javafx.scene.Scene$MouseHandler.access$1800(Scene.java:3384)
        at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1652)
        at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2443)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:314)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:243)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:345)
        at com.sun.glass.ui.View.handleMouseEvent(View.java:526)
        at com.sun.glass.ui.View.notifyMouse(View.java:898)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
        at com.sun.glass.ui.win.WinApplication$4$1.run(WinApplication.java:112)
        at java.lang.Thread.run(Thread.java:744)

    Can you post an SSCCE that demonstrates the problem?
    If you have a version of Java 8 corresponding to the current source code, it looks like the system is trying to pick a node which is not attached to the scene graph. This could conceivably happen (I guess) if you are modifying the scene graph off the FX Application thread; but that is a completely blind guess.

  • Strange exception with msAccess

    Hi,
    I'm building an application that uses MS Access 2000 database and I'm getting strange exception when I'm trying to update database with cursor.
    MYTABLE has three attributes:
    Text is a memo,
    Int is an integer,
    Id is an autonumber.
    Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
    ResultSet rs = stmt.executeQuery("select * from MYTABLE");
    rs.moveToInsertRow();
    rs.updateString("Text", "some text");
    rs.updateInt("Int", 5);
    rs.insertRow();The code above throws
    java.lang.ArrayIndexOutOfBoundsException.
    The exception is thrown when rs.insertRow() is executed.
    Thanks

    Out of curiosity:
    the API for moveToInsertRow() acutally specifies that ALL of the columns for a row be set using an updateXXX method. You have an autoId field in your table, have you tried setting a value for it in your code?
    It would be nice if you tried this, and told us the result you get.
    Regards,
    Manuel Amago.

Maybe you are looking for

  • When I try and add a video from my iPhone it fails to load with a generic error. How do I fix this?

    I have been trying unsuccessfully to get a video from my iPhone to load.  It plays just fine on windows media player, but every one I try and add on Adobe gives me the same "Add media failure.  The importer reported a generic error."  what do I do to

  • Hi i want to buy an iphone 5s

    hi i want to buy an iphone 5s and i live in Europe but i want to buy it from america can it charge if it different voltage and question 2 when ever i check for availbility it says unavailble for pickup does that mean that there isnt that kind of ipho

  • Does InDesign CS3 work on Mac OS X Lion?

    I have installed the Adobe CS3 Design Premium (from original package discs) on my iMac but I am unable to open the applications (with an exception of PS) and get "the application has unexpectedly quit" notification. I was able to use all applications

  • Lion very sluggish on MacBook Pro

    I have a 2.53 Ghz MacBook Pro (mid-2009) that has been getting increasingly sluggish since installing Lion.  I get frequent spinning beachballs in Safari, MS Outlook, Powerpoint.  From the login screem, once I select my user icon, it takes 15-20 seco

  • Checking exit codes of export utility

    Hi all. I have an Oracle 9.2 db in Solaris and want to do a script to control the status of the exports. I have in the script: retcode=`echo $?` case "$retcode" in 0) echo " execution successful" ;; 1) echo " execution exited with failure, see logfil