facebook

INTERNAL ERROR: Unable to generate code for this design

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MobiOne Archive
  2.  > 
  3. Getting Help – General
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #348205 Reply

    lebrookes
    Member

    Hi,

    I recently started a project for the first time using Mobione, and I just wanted to view the progress in the Mobile Web Simulator, when I received the error below. Please advise. Thanks.

    “Internal Error” – Unable to generate code for this design.

    java.lang.RuntimeException: com.genuitec.mobione.designer.comp.iphone.MultiBoxPage is outside com.genuitec.mobione.designer.comp.iphone.MultiBox (but in class com.genuitec.mobione.designer.comp.iphone.MultiBoxPageinstead)
    at com.genuitec.mobione.codegen.processors.MultiBoxPageProcessor.process(MultiBoxPageProcessor.java:18)
    at com.genuitec.mobione.codegen.processors.ElementProcessor.generateCodeFor(ElementProcessor.java:145)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:474)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.exportScreen(IPhoneComponentExporter.java:453)
    at com.genuitec.mobione.codegen.HTMLExporter.generateHTML(HTMLExporter.java:861)
    at com.genuitec.mobione.codegen.HTMLExporter.exportForm(HTMLExporter.java:366)
    at com.genuitec.mobione.designer.export.ExportManager.exportHTML(ExportManager.java:449)
    at com.genuitec.mobione.designer.export.ExportManager.exportHTML(ExportManager.java:297)
    at com.genuitec.mobione.designer.action.RunEmulatorAction$2.run(RunEmulatorAction.java:67)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    #348209

    support-michael
    Keymaster

    Looks like a corrupted .mobi file near by a multipage widget. Without looking at the design file I can’t say if its recoverable and what may have caused this glitch. Can you post the .mobi file for review or send it to
    support at genuitec dot com with title “MobiOne INTERNAL ERROR” and include a link back to this thread.

    #348222

    lebrookes
    Member

    Thanks for the info.

    However, just to identify if this was specific to my project, I created a new blank project and simply ran the Mobile Web Simulator without adding any features, and still got the message below. Even after downloading the updates, it still seems to be giving me this error. Please advise. Thanks.

    java.lang.RuntimeException: com.genuitec.mobione.designer.comp.iphone.MultiBoxPage is outside com.genuitec.mobione.designer.comp.iphone.MultiBox (but in class com.genuitec.mobione.designer.comp.iphone.MultiBoxPageinstead)
    at com.genuitec.mobione.codegen.processors.MultiBoxPageProcessor.process(MultiBoxPageProcessor.java:18)
    at com.genuitec.mobione.codegen.processors.ElementProcessor.generateCodeFor(ElementProcessor.java:145)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:474)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.visitComponent(IPhoneComponentExporter.java:494)
    at com.genuitec.mobione.codegen.processors.IPhoneComponentExporter.exportScreen(IPhoneComponentExporter.java:453)
    at com.genuitec.mobione.codegen.HTMLExporter.generateHTML(HTMLExporter.java:861)
    at com.genuitec.mobione.codegen.HTMLExporter.exportForm(HTMLExporter.java:366)
    at com.genuitec.mobione.designer.export.ExportManager.exportHTML(ExportManager.java:449)
    at com.genuitec.mobione.designer.export.ExportManager.exportHTML(ExportManager.java:297)
    at com.genuitec.mobione.designer.action.RunEmulatorAction$2.run(RunEmulatorAction.java:67)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

    #348250

    Hi lebrookes,

    > I created a new blank project and simply ran the Mobile Web Simulator without adding any features, and still got the message below.
    I believe that your target design is still the same so Mobione is generating code for the same design with the issue. Please check this in the Project Menu > Target Design and select <Current .mobi editor> or your new .mobi file. You can also change this in the toolbars. See: http://www.genuitec.com/mobile/docs/mobione_quickstart/quickstart.html#testing_so_far

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: INTERNAL ERROR: Unable to generate code for this design

You must be logged in to post in the forum log in