facebook

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 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #347211 Reply

    vladi
    Member

    hi, i am usinh the version 2.6.1 mobione. when I try to build the code I get this error

    the same problem also happens with a blank project.

    how to solve? thank you

    i 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)

    #347283

    Hi vladi,

    Please try the next:

    1) Reset the Target Design to either the <Current Design Editor> or the startup design file of your project. Then generate code (Project>Generate code) and watch for this error to appear.
    If you get this error then step 2
    2) Review the outline view of the design that contains the multiplage widget. Look for for a multipage page widget that is not contained with in an multipage widget. If you locate such a page widget try dragging it back into the MP container widget. If that fails then delete the page widget and reimplement it by adding a new page to the multipage widget.
    3) if #2 does not work then please share the design file that is messing up for us to investigate. you can send it to support at genuitec dot com if you want to keep your data in privacy, use title mobione data from vladi

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: unable to generate code for this design

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