facebook

error when opening MyEclipse XML Editor

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #273843 Reply

    jradvan
    Member

    I have an file containing only valid XML. When I name the file [name].xml, I can open it fine in the MyEclipse XML editor. When I name it to [name].uim (one of our custom file extensions) without changing the content, opening the file in the MyEclipse XML editor fails (“Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.”) with the following exception:

    java.lang.NullPointerException
    at org.eclipse.wst.sse.ui.StructuredTextEditor.update(StructuredTextEditor.java:3055)
    at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.addSourcePage(XMLMultiPageEditorPart.java:338)
    at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.createPages(XMLMultiPageEditorPart.java:505)
    at com.genuitec.myeclipse.ui.editors.XMLEditor.createPages(XMLEditor.java:11)
    … and so on

    Note that I have the MyEclipse XML Editor set as the associated editor for files of type *.uim. This is really irritating, it’s not happened in any previous versions of MyEclipse it’s just since I installed 5.5.1 GA.

    What the?

    #273849 Reply

    support-nipun knows about the bug (see this post).

    Seeing that it’s from December last year, I figure it won’t be fixed any time soon. 🙁

    #274051 Reply

    jradvan
    Member

    HELLOOOOOOOOO Genuitec, can we have a support person acknowledge this please? I can’t use the XML editor, a pretty basic thing really. Seeing as it worked fine in previous versions, I’m thinking it can’t be too hard to fix. Customer Support please.

    #274285 Reply

    Riyad Kalla
    Member

    Sorry this flew under our radar. The problem is that you need to add your extension to the new Content Type system for it to be recognized and not just map it to an editor.

    Screenshots for an example:

    Attachments:
    You must be logged in to view attached files.
    #274309 Reply

    jradvan
    Member

    That works fine, thank you.

    #274316 Reply

    Riyad Kalla
    Member

    Glad it worked, sorry it took a while to get back to you about it.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: error when opening MyEclipse XML Editor

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