Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Wed November 06, 2024 10:31 AM

    Maximo error: BMXAA9238E - An error occurred when the Application Service WebMethod was started. The nested stack trace gives details of the error. XML document structures must start and end within the same entity.

    I am trying to duplicate techmobile and I get the above error. I can save the xml successfully, publish successfully, preview etc. I just can't duplicate the app. Has anyone ever run across this before? Not sure what the issue is.  



    ------------------------------
    Christopher Stewart
    ------------------------------


  • 2.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Thu November 07, 2024 01:29 AM

    Hi Christopher, try checking the logs from Maximo and the Docker container. It might give you a better idea of what's happening.

    Also, check the object structure OSLCMAFAPPDATA in your security group and confirm that you have the INSERT and SAVE options enabled.



    ------------------------------
    If this post helps, please consider accepting it as a solution to help other members find it more quickly.

    Maycon Belfort
    Consultant
    BPD Zenith
    Melbourne
    ------------------------------



  • 3.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Thu November 07, 2024 04:53 AM

    As Maycom wrote, logs from Docker and Maximo will help.

    But, I had same issue when had mount point from docker container to local laptop. Try to do the same without mounting, by running it without -v param like that 

    docker run -it --privileged --env NODE_TLS_REJECT_UNAUTHORIZED=0 -p 3001:3001 -p 3006:3006 -it icr.io/cpopen/maf-tools:9.0.3



    ------------------------------
    Andrey Ilinskiy
    Handz.on
    https://www.on.de/
    München
    ------------------------------



  • 4.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Thu November 07, 2024 07:50 AM
    Edited by Christopher Stewart Thu November 07, 2024 09:17 AM

    Thanks. I ran the container like the above and still received the same error. The docker logs just say this:

    2024-11-07 07:44:10 [2024-11-07T12:44:10.474Z]  INFO: server/29 on 631af965eec4: received a post request to duplicate application Techmobile_copy. (req_id=c62a4690-4f33-4cc4-8ed2-9d4a31336fb1)
    2024-11-07 07:44:10 [2024-11-07T12:44:10.474Z]  INFO: server/29 on 631af965eec4: duplicate the application TECHMOBILE with new name "Techmobile_copy" (req_id=c62a4690-4f33-4cc4-8ed2-9d4a31336fb1)
    2024-11-07 07:44:11 [2024-11-07T12:44:11.540Z]  INFO: server/29 on 631af965eec4: caught an error, responding error response (req_id=c62a4690-4f33-4cc4-8ed2-9d4a31336fb1

    I also checked the security for maxadmin and it does have full access to OSLCMAFAPPDATA. It's weird that I can clone inspections, and assetmobile, just techmobile errors out. It seems to me it is something in the app.xml but so far I haven't been able to find anything as it saves, builds, publishes etc. 



    ------------------------------
    Christopher Stewart
    ------------------------------



  • 5.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Tue January 28, 2025 01:34 PM

    Hi Christopher Stewart, I am facing the same problem. Have you solved it? Thanks.



    ------------------------------
    Christian Perrella
    ------------------------------



  • 6.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Tue January 28, 2025 02:02 PM

    Hi Christopher Steward, I am facing the same problem. Have you solved it?

    -------------------

    Christian Perrella

    -------------------



    ------------------------------
    Christian Perrella
    ------------------------------



  • 7.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Tue January 28, 2025 02:34 PM

    No unfortunately I did not solve the duplication error. I ended up starting over and cloned the vanilla app, then rebuilt it piece by pice until I had all my changes and customizations in there. 



    ------------------------------
    Christopher Stewart
    ------------------------------



  • 8.  RE: Error BMXAA9238E When duplicating application in Maximo Mobile

    Posted Fri May 23, 2025 08:13 AM
    Edited by Piyush Sukhadiya Fri May 23, 2025 08:35 AM

    Hi Christopher, 

    I observed the same issue and could fix it by removing the below-mentioned commented line from app.xml. 

    <!-- For future reference: We are using == instead of === here (page.params.fromQuickReport == 1) because on mobile, we're receiving inside a single quote ('1'), while RBA is sending it as a 1. -->



    Using the MAF tool, one can remove this line from app.xml, publish the original app, and then try cloning the app. 

    The problem I see here is the single quote used for we're. This issue can be fixed by just replacing it with we are also.



    ------------------------------
    Piyush Sukhadiya
    ------------------------------