facebook

DTD editor error

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

    lowhm
    Member

    Hi,

    I’m encountering some error with the DTD editor.
    I’m not sure if it’s a Eclipse or MyEclipse problem, but since DTD editor is not found in Eclipse, I just post it here.

    Steps to produce.
    1) File | New | Others | Simple | File
    2) Give a name with extension dtd, abc.dtd
    3) Just type a < in the editor, I encounter a error.

    From the Open With, I suppose this is a MyEclipse DTD editor.

    The stacktrace seems like a problem with ibm component, but I’m not sure.

    I’m using MyEclipse 4.0M3 on Eclipse 3.1 on JDK 1.4.2.
    I have 2 other plugins installed on top of MyEclipse being
    1) Log4E
    2) EclipseUtilPlugin
    which are very small and simple plugin

    Attached are the stacktrace.

    Thanks.

    Han Ming

    !ENTRY org.eclipse.ui.views 4 2 2005-08-26 11:57:32.75
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.views".
    !STACK 0
    java.lang.NullPointerException
        at com.ibm.sse.editor.views.properties.ConfigurablePropertySheetPage.selectionChanged(ConfigurablePropertySheetPage.java:208)
        at com.ibm.sse.editor.views.properties.ConfigurablePropertySheetPage.nodeSelectionChanged(ConfigurablePropertySheetPage.java:149)
        at com.ibm.sse.editor.ViewerSelectionManagerImpl.fireNodeSelectionChangedEvent(ViewerSelectionManagerImpl.java:278)
        at com.ibm.sse.editor.ViewerSelectionManagerImpl.currentNodeChanged(ViewerSelectionManagerImpl.java:229)
        at com.ibm.sse.editor.ViewerSelectionManagerImpl.processSelectionChanged(ViewerSelectionManagerImpl.java:385)
        at com.ibm.sse.editor.ViewerSelectionManagerImpl.selectionChanged(ViewerSelectionManagerImpl.java:518)
        at org.eclipse.ui.views.contentoutline.ContentOutlinePage$1.run(ContentOutlinePage.java:99)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.views.contentoutline.ContentOutlinePage.fireSelectionChanged(ContentOutlinePage.java:97)
        at org.eclipse.ui.views.contentoutline.ContentOutlinePage.selectionChanged(ContentOutlinePage.java:155)
        at com.ibm.sse.editor.views.contentoutline.StructuredTextEditorContentOutlinePage.selectionChanged(StructuredTextEditorContentOutlinePage.java:223)
        at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
        at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
        at org.eclipse.core.runtime.Platform.run(Platform.java:783)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
        at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
        at org.eclipse.jface.viewers.StructuredViewer.setSelection(StructuredViewer.java:1453)
        at com.ibm.sse.editor.views.contentoutline.SourceEditorTreeViewer.setSelection(SourceEditorTreeViewer.java:165)
        at org.eclipse.jface.viewers.Viewer.setSelection(Viewer.java:379)
        at com.ibm.sse.editor.dtd.views.contentoutline.DTDTreeContentProvider.nodesAdded(DTDTreeContentProvider.java:256)
        at com.ibm.sse.model.dtd.DTDFile.notifyNodesAdded(DTDFile.java:618)
        at com.ibm.sse.model.dtd.DTDFile.buildNodes(DTDFile.java:351)
        at com.ibm.sse.model.dtd.DTDFile.nodesReplaced(DTDFile.java:522)
        at com.ibm.sse.model.dtd.document.DTDModelImpl.nodesReplaced(DTDModelImpl.java:109)
        at com.ibm.sse.model.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:334)
        at com.ibm.sse.model.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:937)
        at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:1702)
        at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(StructuredDocumentToTextAdapter.java:952)
        at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5787)
        at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6625)
        at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2592)
        at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5098)
        at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5124)
        at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4857)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
        at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
        at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
        at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
        at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038)
        at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2711)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
        at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
        at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
        at org.eclipse.core.launcher.Main.run(Main.java:973)
        at org.eclipse.core.launcher.Main.main(Main.java:948)
    
    #235740 Reply

    Brian Fernandes
    Moderator

    Han,

    We noted this problem earlier today, can you try keeping your properties view closed while editing DTD files?
    If it still isn’t working for you, close the properties view and restart eclipse. Make sure the Properties view is not open when you open a DTD file.

    This bug should be fixed in the upcoming ME4.0GA release due on 8/29.

    Sorry for the inconvenience,

    Best,
    Brian.

    #235741 Reply

    lowhm
    Member

    Hi Brian,

    Thanks for the reply.
    It works!!!

    Just a comment.
    MyEclipse support is very very good.
    I have been in support previously and saw some below par support service from peers and even big company.
    MyEclipse is a great tool and so is the support.

    Well done.
    (err, but who am I to comment 😀 )

    Cheers.

    Han Ming

    #235762 Reply

    Brian Fernandes
    Moderator

    Han,

    We really appreciate your compilment. Believe me, it provides much needed encouragement that keeps us going on 🙂

    Well done.
    (err, but who am I to comment 😀 )

    On the contrary, you are the person to comment.
    Not much matters more to us than what our users think of us, so there you go 🙂

    Thanks again,
    Brian.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: DTD editor error

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