java.lang.ArithmeticException: / by zero

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MFL Transformation from XML fails

    Oracle Community | 1 decade ago | 3004
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at com.bea.wlxt.bintype.Bintype.applyPadTrimAndTruncate()
    2. com.bea.wlxt
      WLXT.serialize
      1. com.bea.wlxt.bintype.Bintype.applyPadTrimAndTruncate(Bintype.java:701)
      2. com.bea.wlxt.bintype.BintypeString_String.write(BintypeString_String.java:44)
      3. com.bea.wlxt.mfl.MFLField.write(MFLField.java:885)
      4. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleField(MFLBinaryWriter.java:832)
      5. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleDataInstance(MFLBinaryWriter.java:130)
      6. com.bea.wlxt.mfl.MFLBinaryWriter.writeRepeatingData(MFLBinaryWriter.java:230)
      7. com.bea.wlxt.mfl.MFLBinaryWriter.writeSimpleStruct(MFLBinaryWriter.java:601)
      8. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleStruct(MFLBinaryWriter.java:398)
      9. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleDataInstance(MFLBinaryWriter.java:126)
      10. com.bea.wlxt.mfl.MFLBinaryWriter.writeRepeatingData(MFLBinaryWriter.java:230)
      11. com.bea.wlxt.mfl.MFLBinaryWriter.writeSimpleStruct(MFLBinaryWriter.java:601)
      12. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleStruct(MFLBinaryWriter.java:398)
      13. com.bea.wlxt.mfl.MFLBinaryWriter.writeSingleDataInstance(MFLBinaryWriter.java:126)
      14. com.bea.wlxt.mfl.MFLBinaryWriter.writeMsg(MFLBinaryWriter.java:109)
      15. com.bea.wlxt.mfl.MFLBinaryWriter.write(MFLBinaryWriter.java:84)
      16. com.bea.wlxt.WLXT.serialize(WLXT.java:1049)
      16 frames
    3. com.bea.wli
      DtfDispMethod.invoke
      1. com.bea.wli.transform.xt.XTHelper.xtXMLToOutputStream(XTHelper.java:71)
      2. com.bea.wli.transform.xt.XTHelper.xtXMLToInputStream(XTHelper.java:56)
      3. com.bea.wli.transform.types.marshall.plans.BinaryObjectUPlan.unmarshall(BinaryObjectUPlan.java:203)
      4. com.bea.wli.transform.types.marshall.ITypeUnmarshallPlan.unmarshall(ITypeUnmarshallPlan.java:106)
      5. com.bea.wli.xquery.XQueryExecutor.execute(XQueryExecutor.java:195)
      6. com.bea.wli.transform.runtime.DtfDispMethod.invoke(DtfDispMethod.java:305)
      6 frames
    4. com.bea.wlw
      SLSBContainerBean.invoke
      1. com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
      2. com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
      3. com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
      4. com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean.java:198)
      5. com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.java:103)
      5 frames
    5. com.bea.wlwgen
      GenericStatelessSLSBContAdpt.invokeOnBean
      1. com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(StatelessContainer_ly05hg_ELOImpl.java:207)
      2. com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(GenericStatelessSLSBContAdpt.java:62)
      2 frames
    6. com.bea.wlw
      Dispatcher.remoteDispatch
      1. com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:153)
      2. com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
      3. com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:160)
      4. com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
      5. com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
      5 frames
    7. com.bea.wli
      DtfServlet.doPost
      1. com.bea.wli.transform.runtime.DtfServlet.doPost(DtfServlet.java:105)
      1 frame
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    9. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
      3. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
      4. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6354)
      4 frames
    10. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
      1 frame
    11. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
      1 frame
    12. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
      2 frames
    13. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
      2 frames