Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10876

Run MRP fails, Incompatible class

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Release Branch 18.12, Trunk
    • 16.11.06, 17.12.01, 18.12.01
    • manufacturing
    • None

    Description

      When trying to "Run MRP" it starts processing, then ends with error, so I can't run my MRP:

       
       2019-03-27 11:32:30,871 |OFBiz-JobQueue-0 |SafeObjectInputStream |W| ************************Incompatible class: org.apache.ofbiz.widget.renderer.VisualTheme. Please see OFBIZ-10837. Report to dev ML if you use OFBiz without changes. Else add you class into UtilObject::getObjectException
       2019-03-27 11:32:30,871 |OFBiz-JobQueue-0 |GenericServiceJob |E| Async-Service failed.
       java.lang.ClassCastException: Incompatible class: org.apache.ofbiz.widget.renderer.VisualTheme
       at org.apache.ofbiz.base.util.SafeObjectInputStream.resolveClass(SafeObjectInputStream.java:66) ~[ofbiz.jar:?]
       at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1868) ~[?:1.8.0_201]
       at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1751) ~[?:1.8.0_201]
       at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2042) ~[?:1.8.0_201]
       at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) ~[?:1.8.0_201]
       at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) ~[?:1.8.0_201]
       at org.apache.ofbiz.base.util.UtilObject.getObjectException(UtilObject.java:148) ~[ofbiz.jar:?]
       at org.apache.ofbiz.base.util.UtilObject.getObject(UtilObject.java:133) ~[ofbiz.jar:?]
       at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeCustom(XmlSerializer.java:475) ~[ofbiz.jar:?]
       at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:465) ~[ofbiz.jar:?]
       at org.apache.ofbiz.entity.serialize.XmlSerializer.deserializeSingle(XmlSerializer.java:453) ~[ofbiz.jar:?]
       at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:128) ~[ofbiz.jar:?]
       at org.apache.ofbiz.entity.serialize.XmlSerializer.deserialize(XmlSerializer.java:102) ~[ofbiz.jar:?]
       at org.apache.ofbiz.service.job.PersistedServiceJob.getContext(PersistedServiceJob.java:293) [ofbiz.jar:?]
       at org.apache.ofbiz.service.job.GenericServiceJob.exec(GenericServiceJob.java:70) [ofbiz.jar:?]
       at org.apache.ofbiz.service.job.AbstractJob.run(AbstractJob.java:87) [ofbiz.jar:?]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
       

      I see that was addressed in OFBIZ-9794, but I don't see how to fix it.

      Please advise steps I should try to fix this.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jleroux Jacques Le Roux
            mackcom Ed Mack
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment