Maximo Open Forum

 View Only
  • 1.  Maximo mobile application attahment error

    Posted 06-29-2022 04:07
    Hello there,
    We have a mobile application written in Android studio. The application works with Maximo web services. We are getting an error when adding attachments on the work orders page in the mobile application. When we examined the Maximo logs, I saw that we got the following error. What could be the cause of this error? What can be done to fix the error?

    Error unmarshaling return; nested exception is:

                    java.io.InvalidClassException: psdi.util.MXException; local class incompatible: stream classdesc serialVersionUID = 8631638876202809140, local class serialVersionUID = 9221457957008478725

    [6/22/22 16:37:34:378 TRT] 00000169 SystemErr    


    #Customizations

    ------------------------------
    Aliriza Canakci
    Is Merkezleri Yönetim ve İşletim A.S
    ------------------------------


  • 2.  RE: Maximo mobile application attahment error

    Posted 07-08-2022 01:56
    Hello,
    We solved the unmarshall error. When Maximo put the businessobject.jar file back in the folder where the mobile application is located, the problem was resolved. The file does not appear in the Workorder attachments. But when we checked the relevant folder, I saw that the file was uploaded. When I checked the system error log, I saw that we got the following error. Which one in the doclink or docinfo table the length of the field exceeds the maximum limit ?
    I look forward to your help on the matter.

    Note: Even though I gave the file name as test, it changes the name to b67db31313a047f0b605cee34781c2d6.jpg.

    --- ownerid : 18107101
    --- mboSet : WORKORDER
    --- ownerid : 18107101
    --- doctype : Attachments
    --- defaultFilePath : C:/doclinks/Attachments
    --- fileDescription : Test
    --- fileName : b67db31313a047f0b605cee34781c2d6.jpg
    --- file.length : 4407672

    [7/7/22 16:06:35:153 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 1 : 18107101
    [7/7/22 16:06:35:153 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2 : 18107101
    [7/7/22 16:06:35:154 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2.1 : 18107101
    [7/7/22 16:06:35:154 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2.2 : 18107101
    [7/7/22 16:06:35:175 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2.3 : 18107101
    [7/7/22 16:06:35:180 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 1...
    [7/7/22 16:06:35:180 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 2...
    [7/7/22 16:06:35:180 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 5...
    [7/7/22 16:06:35:182 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 6...
    [7/7/22 16:06:35:182 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 7...
    [7/7/22 16:06:35:182 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 8...
    [7/7/22 16:06:35:183 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 9...
    [7/7/22 16:06:35:295 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 10...
    [7/7/22 16:06:35:295 TRT] 000049c2 SystemErr R FileEncoder.addFile4DocLinks STEP 1...
    [7/7/22 16:06:35:299 TRT] 000049c2 SystemErr R DocUtil.setDoc STEP 1...
    [7/7/22 16:06:35:339 TRT] 000049c2 SystemErr R DocUtil.setDoc STEP 2...
    [7/7/22 16:06:35:342 TRT] 000049c2 SystemErr R DocUtil.setDoc STEP 3...
    [7/7/22 16:06:35:361 TRT] 000049c2 SystemErr R DocUtil.setDoc STEP 4...
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R DocUtil.setDoc STEP 7... Error : system#maximumlength
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R psdi.util.MXApplicationException: system#maximumlength
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.util.MaxTypeALN.checkLength(MaxTypeALN.java:110)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.util.MaxTypeUPPER.setValue(MaxTypeUPPER.java:54)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.mbo.MboValue._setValue(MboValue.java:1264)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.mbo.MboValue.setValue(MboValue.java:1175)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.mbo.Mbo.setValue(Mbo.java:2414)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at psdi.mbo.Mbo.setValue(Mbo.java:2517)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at java.lang.reflect.Method.invoke(Method.java:508)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:374)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at sun.rmi.transport.Transport$1.run(Transport.java:212)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at sun.rmi.transport.Transport$1.run(Transport.java:209)
    [7/7/22 16:06:35:437 TRT] 000049c2 SystemErr R at java.security.AccessController.doPrivileged(AccessController.java:774)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.Transport.serviceCall(Transport.java:208)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:585)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:846)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$0(TCPTransport.java:700)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$28/0x000000001ed621b0.run(Unknown Source)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at java.security.AccessController.doPrivileged(AccessController.java:708)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:699)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1160)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at java.lang.Thread.run(Thread.java:822)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:315)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:291)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:175)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at psdi.app.doclink.Doclinks_Stub.setValue(Unknown Source)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at maximo.mobile.util.DocUtil.setDoc(DocUtil.java:44)
    [7/7/22 16:06:35:438 TRT] 000049c2 SystemErr R at maximo.mobile.util.WorkorderUtil.addWorkOrderAttachment4Encoded(WorkorderUtil.java:716)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at maximo.mobile.util.WorkorderUtil.addWorkOrderAttachment4Encoded(WorkorderUtil.java:664)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at maximo.mobile.services.workorder.AddWorkorderAttachment.addWorkOrderAttachment(AddWorkorderAttachment.java:41)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at java.lang.reflect.Method.invoke(Method.java:508)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.performInvocation(LibertyJaxRsServerFactoryBean.java:659)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.performInvocation(LibertyJaxRsInvoker.java:108)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.invoke(LibertyJaxRsInvoker.java:174)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:191)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at com.ibm.ws.jaxrs20.server.LibertyJaxRsInvoker.invoke(LibertyJaxRsInvoker.java:346)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:101)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:73)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:111)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:309)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:136)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:280)
    [7/7/22 16:06:35:439 TRT] 000049c2 SystemErr R at com.ibm.ws.jaxrs20.endpoint.AbstractJaxRsWebEndpoint.invoke(AbstractJaxRsWebEndpoint.java:147)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.websphere.jaxrs.server.IBMRestServlet.handleRequest(IBMRestServlet.java:199)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.websphere.jaxrs.server.IBMRestServlet.doPost(IBMRestServlet.java:157)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.websphere.jaxrs.server.IBMRestServlet.service(IBMRestServlet.java:145)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:179)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1134)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:4219)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.handleRequest(WebAppImpl.java:2210)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1030)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:382)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:532)
    [7/7/22 16:06:35:440 TRT] 000049c2 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:318)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
    [7/7/22 16:06:35:441 TRT] 000049c2 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1909)
    [7/7/22 16:06:35:444 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2.8 : 18107101
    [7/7/22 16:06:35:444 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 2.12 : 18107101
    [7/7/22 16:06:35:444 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 3 : 18107101
    [7/7/22 16:06:35:444 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 6 : 18107101
    [7/7/22 16:06:35:444 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 8 : 18107101
    [7/7/22 16:06:35:458 TRT] 000049c2 SystemErr R addWorkOrderAttachment4Encoded STEP 9 : 18107101

    ------------------------------
    Aliriza Canakci
    Is Merkezleri Yönetim ve İşletim A.S
    ------------------------------