Error java.lang.ArithmeticException: required rounding

Hi all.

I got the error "java.lang.ArithmeticException: required rounding ' in the following line

String DividendAmountStr = String.valueOf (new BigDecimal (DividendAmount) .setScale (2));

What should be the problem?

-Barros

It is possible was not so perdantic Java 1.3. Also, it is easy to write some prgrams with bugs that just happened to work the way they are used. Do things a little differently reveals the bug.

The problem is the use of new BigDecimal (double). This gives a faithful reproduction of the double value underlying. Many methods that convert double to another type allow a small rounding in double error, this constructor is not.

Even a simple value like 0.1 has a small mistake of rounding of type double. Normally, it is not clear, with BigDecimal is.

double d = 0.1;
System.out.println("d= " + Double.toString(d));
BigDecimal bd = new BigDecimal(d);
System.out.println("bd= " + bd);
BigDecimal bd2 = BigDecimal.valueOf(d);
System.out.println("bd2= " + bd2);

prints

d= 0.1
bd= 0.1000000000000000055511151231257827021181583404541015625
bd2= 0.1

As you can see the second method for the conversion of a double is not this round question for this value. This could be a temporary option and it might work most of the time, but use setScale() with a rounded option will work every time.

Tags: Java

Similar Questions

  • Financial Reporting Exception - query execution error: java.lang.Arithmetic

    Hi all

    I use the Financial Reporting Studio 11.1.2.507 to develop a report to a planning application, so I use a connection of planning to do. This report contains some Calc and I'm sure it's possible generate a division by zero. But what is coming: I started to develop this report using the admin user and no error has been shown. Then when I tried to access this report with one user other than the admin user, the error occurs: "error running query: java.lang.ArithmeticException: / by zerojava.lang.ArithmeticException.
    So, have you seen this scenario before?
    Could you help me with this problem?

    PS: if I was not clear enough, please tell me!

    Best regards,
    Rafael Melo - Brasil

    No problem. The POV that you set in Studio EN automatically applies to all users. You don't need to do anything else. It could be a security issue. I just assumed the POV for the test user is probably mapped to the dimension itself as entity and as the test user doesn't have access to the entity, you get the error message.

    To resolve this issue, connect to the workspace > Explore > file > Preferences > Financial Reporting > user Point of view > preview. Make sure that the option 'On' is selected.

    I hope this helps.

    Mehmet

  • Unrecoverable internal error: java.lang.NullPointerException when compiling

    Recently, I changed my code, and when I am compiling it, I got this error:

    Unrecoverable internal error: java.lang.NullPointerException

     

    Previously, I had met this exception several times, but when running the application in the Simulator.

    I've tried the cleaning project, cleaning the Simulator and even restart the laptop. Did not work.

    The same error persists.

    Maybe it's a bug in the compiler?

    Finally, I found the culprit:

    I put 5 large images (total size: approximately 18 MB) in the "res/img.

    The solution is to load these images from an SD card.

  • Unrecoverable internal error: java.lang.NullPointerException

    Hi all

    While iam trying to open the application iam getting this error ' fatal internal error: java.lang.NullPointerException ", iam unable to understand what is the real problem.

    Any help please...

    Thnaks.

    Thanks for the reply of stone.

    in fact I did not understand what the problem is, there is no indication of the error.

    but I reinstalled the eclipse that has solved the problem.

    Thank you.

  • error java.lang.NullPointerException at oracle.jbo.server.DBTransactionImpl.reconnectApplicationModule(DBTransactionImpl.java:5692)

    Hello

    Version is Jdev 12.1.3

    (Integrated Weblogic Server)

    Use case is

    A unlimited workflow (UBT) with a page that has 2 buttons for call navigation 2 taskFlows bounded: (BTA, BTB)

    BTA-behavior (no transaction controller-part)

    BTB - behavior (always start new transaction - isolation)

    The two taskflows point to the same view in the same (e.g. employees) Datacontrol object

    So, I first go to BT2 and then I go back to the UBT page based on commit or rollback and after I pressed the button to navigate to BT1

    I get this error message

    java.lang.NullPointerException

    at oracle.jbo.server.DBTransactionImpl.reconnectApplicationModule(DBTransactionImpl.java:5692)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolReconnect(ApplicationPoolMessageHandler.java:651)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:408)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9542)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4526)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2453)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2263)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3162)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:590)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:523)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:518)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:637)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:1010)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1675)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2598)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2533)

    at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2627)

    at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2275)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3286)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2915)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:113)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:421)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:149)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.startPageLifecycle(ADFPhaseListener.java:204)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:370)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:89)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    < oracle.adf.controller > < Utils > < buildFacesMessage > < ADF: addition of the following JSF error: java.lang.NullPointerException >

    java.lang.NullPointerException

    at oracle.jbo.server.DBTransactionImpl.reconnectApplicationModule(DBTransactionImpl.java:5692)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolReconnect(ApplicationPoolMessageHandler.java:651)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:408)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9542)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4526)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2453)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2263)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3162)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:590)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:523)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:518)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:637)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:1010)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1675)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2598)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2533)

    at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2627)

    at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2275)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3286)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2915)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:113)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:421)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:149)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.startPageLifecycle(ADFPhaseListener.java:204)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:370)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:89)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    < org.apache.myfaces.trinidad.component.UIXComponentBase > < UIXComponentBase > < getClientId > < INVALID_CALL_TO_GETCLIENTID >

    < oracle.adf.controller > < Utils > < buildFacesMessage > < ADF: addition of the following JSF error: java.lang.NullPointerException >

    java.lang.NullPointerException

    at oracle.jbo.server.DBTransactionImpl.reconnectApplicationModule(DBTransactionImpl.java:5692)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolReconnect(ApplicationPoolMessageHandler.java:651)

    at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:408)

    at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:9542)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4526)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2453)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2263)

    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3162)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:590)

    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:224)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:523)

    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:518)

    at oracle.adf.model.bc4j.DCJboDataControl.initializeApplicationModule(DCJboDataControl.java:637)

    at oracle.adf.model.bc4j.DCJboDataControl.getApplicationModule(DCJboDataControl.java:1010)

    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1675)

    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2598)

    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2533)

    at oracle.adf.model.binding.DCIteratorBinding.getCheckedDataControl(DCIteratorBinding.java:2627)

    at oracle.adf.model.binding.DCIteratorBinding.executeQueryIfNeeded(DCIteratorBinding.java:2275)

    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3286)

    at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2915)

    at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:113)

    at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:421)

    to oracle.adf.controller.v2.lifecycle.Lifecycle$ 2.execute(Lifecycle.java:149)

    at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.startPageLifecycle(ADFPhaseListener.java:204)

    to oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$ 1.after(ADFPhaseListener.java:370)

    at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:89)

    at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:489)

    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)

    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)

    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)

    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)

    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)

    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)

    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)

    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)

    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:460)

    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)

    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)

    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)

    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)

    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)

    at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)

    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)

    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)

    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)

    to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

    Well, you need to remove commit / rollback of these activities (you have already the buttons commit / rollback on your page)

    Dario

  • Call service Salesforce adapter error - java.lang.IllegalStateException: encryption algorithm not initialized

    Hi gurus of the Oracle,.

    I use the "Query" Salesforce adapter operation. It worked fine last week when I had a service to call SFDC API. But after I added a second invoke for the same query operation, I get this error.

    Call service Salesforce adapter error - java.lang.IllegalStateException: encryption algorithm not initialized

    Pls check below the doc for source Composite.xml and BPEL.

    https://drive.Google.com/file/d/0B8E4JtTUuzitQ1lpUkVxNnV5UGM/edit?USP=sharing

    It looks like an access problem, but I am able to call the SFDC API using SOAP UI. Help, please.

    The soa stack error - diagnostic.log

    --======================

    [2014 07-09 T 17: 47:04.272 - 07:00] [soa_server22] [NOTIFICATION] [] [oracle.soa.adapter.cloud] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [Component_name: SFDC] resource found by Solver of location

    [2014 07-09 T 17: 47:05.266 - 07:00] [soa_server22] [WARNING] [] [javax.xml.ws.Service] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [Component_name: SFDC] could not read the URL wsdlDocumentLocation WSDL definition: null

    [2014 07-09 T 17: 47:05.718 - 07:00] [soa_server22] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool - 4.thread - 9] [userId: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [component name: SFDC] Salesforce Dell_Zuora_to_Oracle_Invoice_Iface:SFDC [SFDCPortType::query (parameters, parameters)] error sending bytes to socket: java.lang.IllegalStateException: Cipher uninitialized

    [2014 07-09 T 17: 47:05.720 - 07:00] [soa_server22] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [Component_name: SFDC] JCABinding = > Dell_Zuora_to_Oracle_Invoice_Iface:SFDC [SFDCPortType::query (parameters, parameters)] could not invoke operation "application" against the "sales force" due to: []

    Error sending bytes: java.lang.IllegalStateException: encryption algorithm not initialized

    ]]

    [2014 07-09 T 17: 47:05.722 - 07:00] [soa_server22] [NOTIFICATION] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [component name: SFDC] JCABinding = > Dell_Zuora_to_Oracle_Invoice_Iface:SFDC [SFDCPortType::query (parameters, parameters)] modify the logging at TRACE level: n to see the full error stack

    [2014 07-09 T 17: 47:05.745 - 07:00] [soa_server22] [ERROR] [] [oracle.soa.adapter] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [Component_name: SFDC] JCABinding = > [by default/Dell_Zuora_to_Oracle_Invoice_Iface! 1.4 * soa_bee5ce9f-a39a-4023-b5a6-8c13cbcbf2ad.] SFDC]: query operation failed two-way query()

    [2014 07-09 T 17: 47:05.748 - 07:00] [soa_server22] [ERROR] [] [oracle.soa.bpel.engine.ws] [tid: orabpel.invoke.pool - 4.thread - 9] [username: GOPAL_TARITLA] [ecid: c17d2d5e5766b07e:-65660a9c:14711d970c3:-8000-00000000000d3eba, 1:33309] [APP: soa-infra] [composite_instance_id: 50029] [component_instance_id: 50029] [composite_name: Dell_Zuora_to_Oracle_Invoice_Iface! 1.4] [Component_name: Dell_Zuora_to_Oracle_Invoice_Iface] had FabricInvocationException []

    java.lang.IllegalStateException: encryption algorithm not initialized

    Concerning

    TV Gopal

    OK guys, we found the solution. We had to update the files of PVE strategy on our SOA server Linux machine.

    Thanks to Varun Guruvugari (Support Salesforce) who responded with below the answer on another forum:

    --===========================
    There are countless reasons for uninitialized encryption error, but I'm sure that this reason is because of SSL certificates and you saw the error above for good reasons that salesforce.com ensures the safety and security.

    You will be able to integrate successfully in this instance, by deploying the latest version of the files of Extension JCE (Java Cryptography) unlimited strength jurisdiction policy-6 for JDK1.6 on the server SOA in FMW. Here is a good article to allow strong encryption algorithms FMW:http://docs.oracle.com/cd/E19644-01/817-5447/sgencryp.html#wp15647

    --===========================

    Concerning

    TV Gopal

  • How to solve error {java.lang.NumberFormatException: empty string}

    Mr President.

    I use the following code and get error submitted.


    {error} {
    java.lang.NumberFormatException: empty string
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1011)
    at java.lang.Double.parseDouble(Double.java:540)
    to the invoice. InvoiceController$ 4.changed(InvoiceController.java:192)
    } {error}

    and
    {
    
    //wt ,  sValExlSt1 and sPrice1 are numbers
    
    
     wt1.textProperty().addListener(new ChangeListener<String>() {
                    public void changed(ObservableValue<? extends String> observable, String oldValue, String newValue) {
                        sValExlSt1.setText(String.valueOf(
                                Double.parseDouble(newValue)  * Double.parseDouble(sPrice1.getText())));
                    }
                });
            } catch (NumberFormatException e1) {
            }
    
    }
    Help, please.

    NewValue or sPrice1.getText () is empty. The error message says "empty string".

  • AC-50480: internal error: java.lang.Exception: Error while generations

    Hello
    I move db level on another server with the clone utility. post clone on db level managed but level apps I get error in the adconfig.log file

    AC-50480: internal error: java.lang.Exception: error generating listener.ora.
    Error generation tnsnames.ora database, temporary tnsnames.ora will be generated using templates
    Instantiating tools tnsnames.ora
    Tools tnsnames.ora instantiated
    Tnsnames.ora Web instantiated

    adgentns.pl out with status 2
    CODE OF ERROR = 2 ERRORCODE_END
    .end std out.

    .end err out.


    Result: FAILURE

    I have used the following options for the solution but without success

    1. open a new shell and the source of the application environment.

    2. run the utility of sqlplus and run the command sequence:

    sqlplus apps / < password >
    exec fnd_conc_clone.setup_clean

    3. open a new shell and the source of the DB-Tier environment.

    4. run the Autoconfig at the DB layer.

    5. switch to the hull with the Enviornment APPS from or start a new Shell and source of the application environment.

    6. run the Autoconfig to layer APPS.


    AutoConfig run successufully on db level but failed to component apps.

    Please help me what to do.

    Kind regards
    Mohsin

    Salvation;

    What is the version of the EBS?

    Please see:

    AC-50480: internal error: java.lang.Exception: error generating listener.ora. [1324667.1 ID]
    During the automatic configuration fails 'adgentns.pl': ' AC-50480: internal error: java.lang.Exception: error generating listener.ora "[453901.1 ID]
    'AC-50480' error to generate the file "listener.ora. [1089036.1 ID]

    Respect of
    HELIOS

  • B2B-50014: General Error: java.lang.ClassCastException: oracle.xml.parser.

    Hi gurus,

    Trying to pass a load of OAG XML 9.0 business partner remotely, via a channel of AS2 - message is signed and encrypted, Cert has been imported.

    I get the B2B-50014: General error.
    B2B is able to correctly identify the agreement.

    NEWSPAPERS:

    [2011 05-12 T 12: 27:03.292 + 00:00] [soa_ms_1] [ERROR] [] [oracle.soa.b2b.engine] [tid: weblogic.work.j2ee.J2EEWorkManager$WorkWithListener@243d15ed] [username: < anonymous >] [ecid: bb3e7e8ee8316823:74cad781:12fc9c42815:-7ff5 - 0000000000172f4e, 0] [APP: soa-infra] error -: B2B-50014: General error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException []
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
    to oracle.integration.platform.blocks.executor.WorkManagerExecutor$ 1.run(WorkManagerExecutor.java:120)
    to weblogic.work.j2ee.J2EEWorkManager$ WorkWithListener.run (J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
    ... 8 more
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
    to oracle.integration.platform.blocks.executor.WorkManagerExecutor$ 1.run(WorkManagerExecutor.java:120)
    to weblogic.work.j2ee.J2EEWorkManager$ WorkWithListener.run (J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Error -: B2B-50014: General error: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1571)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessage(Engine.java:800)
    at oracle.tip.b2b.engine.Engine.handleMessageEvent(Engine.java:3785)
    at oracle.tip.b2b.engine.Engine.processEvents(Engine.java:3127)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.processEvent(ThreadWorkExecutor.java:619)
    at oracle.tip.b2b.engine.ThreadWorkExecutor.run(ThreadWorkExecutor.java:220)
    to oracle.integration.platform.blocks.executor.WorkManagerExecutor$ 1.run(WorkManagerExecutor.java:120)
    to weblogic.work.j2ee.J2EEWorkManager$ WorkWithListener.run (J2EEWorkManager.java:183)
    at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
    Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLParseException cannot be cast to oracle.tip.b2b.system.B2BDomainException
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.validateXMLDocument(OagDocumentPlugin.java:1237)
    at oracle.tip.b2b.document.oag.OagDocumentPlugin.processOutgoingDocument(OagDocumentPlugin.java:819)
    at oracle.tip.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1483)
    at oracle.tip.b2b.msgproc.Request.outgoingRequest(Request.java:990)
    at oracle.tip.b2b.engine.Engine.processOutgoingMessageImpl(Engine.java:1511)
    ... 8 more

    Please advise.

    Kind regards
    Jean-Luc.

    Hello, Josée.

    Else, it is an OAG - XML purchase order, so had the XSD, not the directive file.

    Thanks for pointing the finger, but fortunately I am aware that OAG is Protocol based on XML document and use XSD to validate and guidelines I meant XSD only. :)

    Kind regards
    Anuj

  • AIP-50014: General Error: java.lang.NullPointerException

    Hello

    When I tried to send the XML custom through the AS2 protocol. I configured similar to the custom in the B2B user guide document tutorial. I get the following error.

    null Payload binding ID Info Oracle.Tip.adapter.B2B.msgproc.Request:outgoingRequestPostColab
    2008.08.29 to 13:32:15:085: Thread-21: B2B - (DEBUG)

    Oracle.Tip.adapter.B2B.Exchange.AS2.AS2ExchangePlugin:AS2ExchangePlugin:CreateMessage entry
    2008.08.29 to 13:32:15:085: Thread-21: B2B - (DEBUG)

    Oracle.Tip.adapter.B2B.Exchange.AS2.AS2ExchangePlugin:AS2ExchangePlugin:CreateMessage InitialParty is the part:

    TPName: GlobalChips Type: null value, value: null
    2008.08.29 to 13:32:15:085: Thread-21: B2B - (DEBUG)

    Oracle.Tip.adapter.B2B.Exchange.AS2.AS2ExchangePlugin:AS2ExchangePlugin:CreateMessage Protocol msg id =

    < 0AE8415111C0D7BE3AD00000CEC7B500@null >
    2008.08.29 to 13:32:15:085: Thread-21: BusinessLogicLayer - disabled (DEBUG) authorization. UserBootstrapped:false,

    useAuthorization:true, configType:Runtime
    2008.08.29 to 13:32:15:085: Thread-21: BusinessLogicLayer - Stack push (DEBUG): updateBusinessMessage
    2008.08.29 to 13:32:15:085: Thread-21: BusinessLogicLayer - Pop Stack (DEBUG): updateBusinessMessage
    2008.08.29 to 13:32:15:085: Thread-21: BusinessLogicLayer - disabled (DEBUG) authorization. UserBootstrapped:false,

    useAuthorization:true, configType:Runtime
    2008.08.29 to 13:32:15:085: Thread-21: BusinessLogicLayer - Stack push (DEBUG): queryBusinessMessage
    2008.08.29 to 13:32:15:100: Thread-21: BusinessLogicLayer - Pop Stack (DEBUG): queryBusinessMessage
    2008.08.29 to 13:32:15:100: Thread-21: B2B - oracle.tip.adapter.b2b.msgproc.Request:outgoingRequestPostColab (DEBUG)

    Call of PackMessage
    2008.08.29 to 13:32:15:100: Thread-21: B2B - MimePackaging:pack (DEBUG): enter
    2008.08.29 to 13:32:15:116: Thread-21: B2B - (DEBUGGING) oracle.tip.adapter.b2b.engine.Engine:processOutgoingMessage general

    Exception ERROR
    2008.08.29 to 13:32:15:116: Thread-21: B2B - java.lang.NullPointerException (ERROR)
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:99)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:344)
    at java.lang.Thread.run(Thread.java:534)

    2008.08.29 to 13:32:15:116: Thread-21: B2B - Error (ERROR) -: AIP-50014: General error: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:879)
    at oracle.tip.adapter.b2b.data.MsgListener.onMessage (MsgListener.java:531)
    at oracle.tip.adapter.b2b.data.MsgListener.run (MsgListener.java:344)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: java.lang.NullPointerException
    at oracle.tip.adapter.b2b.packaging.mime.MimePackaging.pack(MimePackaging.java:99)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequestPostColab(Request.java:1165)
    at oracle.tip.adapter.b2b.msgproc.Request.outgoingRequest(Request.java:701)
    at oracle.tip.adapter.b2b.engine.Engine.processOutgoingMessage(Engine.java:832)
    ... 3 more

    2008.08.29 to 13:32:15:116: Thread-21: B2B - (DEBUGGING) oracle.tip.adapter.b2b.engine.Engine:handleOutboundException update

    Error message: error -: AIP-50014: General error
    2008.08.29 to 13:32:15:116: Thread-21: B2B - oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState (DEBUG)

    Come in
    2008.08.29 to 13:32:15:116: Thread-21: BusinessLogicLayer - disabled (DEBUG) authorization. UserBootstrapped:false,

    useAuthorization:true, configType:Runtime
    2008.08.29 to 13:32:15:116: Thread-21: BusinessLogicLayer - Stack push (DEBUG): queryBusinessMessage
    2008.08.29 to 13:32:15:116: Thread-21: BusinessLogicLayer - Pop Stack (DEBUG): queryBusinessMessage
    2008.08.29 to 13:32:15:116: Thread-21: B2B - oracle.tip.adapter.b2b.msgproc.DbAccess:updateWireBusinessToErrorState (DEBUG)

    Thread not found message.

    Please help me about this error.

    Hey riri,.

    We have sent you the export configuration file. Details of the patch are available in the Readme.txt file in the patch file.

    Please let us know wheather the patch applied correctly?

    Concerning
    Nandagopal.S

  • Error java.lang.IllegalStateException blackBerry Smartphones

    Hi, I got an error on my phone uncaught.exception.java.lang.illegalstateException error when I reset my phone by removing the battery.  Please notify.

    If you have added via the Desktop Manager software, it can be used to remove them. Alternatively, you can remove the storm itself:

    In the home screen, select the Options icon, then Advanced Options > Applications

    This will bring up a list of applications installed on the device. You can scroll through and after it highlighted (not clicking), you can press the BB (the button to the right of the green phone button) and one of the options that opens will be remove.

    Be very careful... Remove only the modules...

    If this process does not work, the next thing is the full wipe...

    Options > Security Options > General settings

    By pressing the BB button then give a "Wipe Handheld" option... that will do just that. All data on the device will be lost. All modules will be deleted. The device will be updated with fresh plant in the OS level on which you are.

    If this fails, a reload of the OS would be in order... we will table this one for now and show optimism that one of them will work for you.

    Best!

  • Error java.lang.NullPointerException for blackBerry Smartphones verifying my SMS Inbox

    Need help with my BB 9000...

    I lost the SMS icon and cannot receive SMS on my phone.

    I get java.lang.NullPointerException error whenever I reboot my phone.

    I can always call and use other apps except receive sms... Help please...

    yhang23 wrote:

    Need help with my BB 9000...

    I lost the SMS icon and cannot receive SMS on my phone.

    I get java.lang.NullPointerException error whenever I reboot my phone.

    I can always call and use other apps except receive sms... Help please...

    Hello!

    There is virtually no diagnosis of those - they are the equivalent of random errors in Windows for which trace the root cause is futile. Basically, here's the last out in the programming code - some event occurred for which there is no event handler in the code. The patch is an update of the code that handles the event... but, again, what is the event is almost impossible. So, there are a few things to try:

    Sometimes, the code simply is damaged and needs to be updated - just like a reboot:

    • Each time a random strange behavior or slow creeps, the first thing to do is a battery pop reboot. With power ON, remove the hood back and remove the battery. Wait a minute, then replace the battery and cover. Power on and wait patiently through the long reboot - about 5 minutes. See if things return to functioning. Like all computing devices, BB suffers from memory leaks and others... with a hard reboot is the best remedy.

    There may be a code updated to the value of the carrier - check out them through this Portal:

    The toughest possible causes are a bad application behave. To find it, we need to eliminate apps one at a time, wait a while between the two (I usually recommend a week), until the problem stops... revealing the offending application.

    Good luck and let us know!

  • What is the error java.lang.ClassCastException: weblogic.servlet.internal.WebAppServletContext cannot be cast to javax.servlet.http.HttpServletRequest

    Mr President.

    To me the error when I use this code

     HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getContext();
    

    The error is

    javax.servlet.ServletException: //C:/Users/TANVIR/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/AshSystems2015/SchoolViewControllerWebApp.war/Login.jsf @13,59 action = "#{loginBean.doLogin}": java.lang.ClassCastException: weblogic.servlet.internal.WebAppServletContext cannot be cast to javax.servlet.http.HttpServletRequest "

    Concerning

    Try the HttpServletRequest = ctx.getExternalContext () .getRequest () (HttpServletRequest) request;

    Thank you

  • I got error java.lang.NumberFormatException: for input string

    Using Jdeveloper 12 c, Oracle DB 12 c, Windows 8.1, this is my code to read the Excel file to DB.

    FileInputStream file = new FileInputStream

      (new File("E:/Company Mails.xlsx"));

      XSSFWorkbook workbook = new XSSFWorkbook(file);  

                XSSFSheet sheet = workbook.getSheetAt(0);   

                Iterator<Row> rowIterator = sheet.iterator();         

                DCBindingContainer bindings2 = (DCBindingContainer)

      BindingContext.getCurrent().getCurrentBindingsEntry();

                JUCtrlHierBinding obj = (JUCtrlHierBinding)

      bindings2.findCtrlBinding("CompanyMails1");

                ViewObject vo = obj.getViewObject();           

                BindingContainer bindings = BindingContext.

      getCurrent().getCurrentBindingsEntry();

                OperationBinding operationBinding = bindings.

      getOperationBinding("Commit");                           

                        while (rowIterator.hasNext()){                       

                            Row row = rowIterator.next();

                            Iterator<Cell> cellIterator = row.cellIterator();

                            oracle.jbo.Row r = vo.createRow();                       

                            while (cellIterator.hasNext()){

                                Cell cell = cellIterator.next();

                                r.setAttribute("No", row.getCell(0));

                                r.setAttribute("Mail", row.getCell(1));

                                r.setAttribute("Person", row.getCell(2));} }

                        file.close(); operationBinding.execute();}

                    catch (Exception e){e.printStackTrace(); }

            return null;}


    This is the message I get on the Jdev

    java.lang.NumberFormatException: for input string: 'No' to java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)

    Untitled.png

    Please, format your code by using the Advanced Editor.

    As first, paste here stackTrace of jdev console and mark the line of code where the exception occurs.

    Then, just to check something, take a look to the while loop and add after the line of code:

    rowIterator.next(); // <-- AD THIS LINE OF CODE HERE !
    while (rowIterator.hasNext()){
                   Row row = rowIterator.next();
    

    try again and let me know what happens

  • The deployment of SummitADF to 12.1.2 IntegratedWebLogicServer error: java.lang.ClassNotFoundException: oracle.adf.model.servlet.ADFBindingFilter

    Hello!

    I try to deploy the deployment SummitADF_application1 SummitADF for the IntegratedWebLogicServer demand profile I 12.1.2 JDeveloper on Windows 7 home 64 bit.

    Anyone done this successfully before or can test this?

    This is the stack of error in the console:

    [20: 52:02]-deployment began.  ----

    [20: 52:02] the target platform's (Weblogic 12.x).

    [20: 52:02] recovery of the existing application information

    [20: 52:02] analysis of the dependence running...

    [20: 52:02] building...

    [20: 52:03] deployment 2 profiles...

    [20: 52:04] wrote on the Web for C:\shared\summit\SummitADF_Core1212\ViewController\deploy\SummitADF_ViewController_webapp1.war application Module

    [20: 52:05] wrote the Module Enterprise Application to C:\shared\summit\SummitADF_Core1212\deploy\SummitADF_application1.ear

    [20: 52:05] Application deployment...

    [20: 52:10] [Deployer: 149193] Operation "deploy" on demand "SummitADF_application1" failed on "DefaultServer".

    [20: 52:10] [Deployer: 149034] an exception has occurred for task [Deployer: 149026] deploy SummitADF_application1 on DefaultServer. : java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet.

    [20: 52:10] weblogic.application.ModuleException: java.lang.ClassNotFoundException: oracle.adf.library.webapp.ResourceServlet

    [20: 52:10] undeployment.

    [20: 52:10] - incomplete deployment.

    [20: 52:10] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    Kind regards

    Torsten Kleiber

    It seems that delivered deployment profiles are default. I created my own deployment profile which works very well.

Maybe you are looking for