facebook

Struts Designer – Unable to parse .mex file

💡
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. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #230629 Reply

    tutzu
    Member

    Hi,

    When adding a connection between a jsp element and an action element in struts designer, the designer asks if you want to make the connection an “input” connection. If you reply no, the struts designer shows a visual connection between the jsp element and the action element.

    When saving the file, closing it and reopening it, the connection disappears. The Error Log shows: “Unable to parse .mex file” with no stack trace.

    1. is it ok to use the visual connection tool only to visually show flow between elements? does every connection must be wither a forward or input?

    2. Why am I receiving this exception? is there a workaround for displaying the visual connections?

    Thank you in advance,

    tutzu

    P.S.

    I am using MyEclipse 3.8.4+QF2 with Eclipse 3.0.1
    Windows XP Professional
    The project has struts, and hibernate capabilities enabled.

    #230659

    Riyad Kalla
    Member

    Tutzu, I have asked our Struts developer to have a look at this.

    #230671

    Brian Fernandes
    Moderator

    Tutzu,

    Answering your questions

    1) No, we also allow connections which do not have representations in the config file.

    2) Unfortunately, there was a bug in 3.8.4 which resulted in user connections (like the one you created) not being persisted and restored correctly. This has been fixed in ME 4.0m1.

    Having said that, you should have only lost your user connection(s), but there should have been no exception caused parsing the .mex file.

    Delete the .mex file (this stores layout and connection information) and try again.

    Do you get an exception if you stick to just creating standard forward and input connections (connections which have representation within the struts config file?)

    Since user connections are not persisted in 3.8.4, I would suggest not using them entirely until you move to ME 4.0.

    Sorry for the inconvenience, this was a bad oversight.

    Let me know if anything is unclear or you need further assistance.

    Brian.

    #230869

    tutzu
    Member

    Thank you for your reply.

    I didn’t get an exception when I created standard forward and input connections, it happened only when I created the visual connections.

    When I deleted the .mex file, it was recreated successfully and the exception was not thrown again (as long as I didn’t use visual connections).

    I will wait for the ME 4.0 release. When is it expected?

    Tutzu

    #230874

    Brian Fernandes
    Moderator

    Tutzu,

    A beta version of 4.0 (ME 4.0m1) has been released already. You can find it in the Development releases section under Downloads.

    For 4.0GA (final), you will have to consult the timeline on our main page.

    We apprecitate your patience,
    Brian.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Struts Designer – Unable to parse .mex file

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