- This topic has 5 replies, 3 voices, and was last updated 17 years, 3 months ago by Riyad Kalla.
-
AuthorPosts
-
jradvanMemberI 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 onNote 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?
Aaron DigullaMembersupport-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. 🙁
jradvanMemberHELLOOOOOOOOO 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.
Riyad KallaMemberSorry 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.
jradvanMemberThat works fine, thank you.
Riyad KallaMemberGlad it worked, sorry it took a while to get back to you about it.
-
AuthorPosts