facebook

Internal exception when opening jspfile

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #247590 Reply

    garthus
    Member

    I’m using MyEclipseIde 4.1.0 GA Build 20060122-4.1-GA and i get the
    following error whenever i open a jsp file which is part of a struts project:
    Unable to create this part due to an internal error. Reason for failure: An unexpected exception was thrown.

    When i click on details i get the following:
    java.lang.NullPointerException
    at com.jniwrapper.win32.ie.ak.addStatusListener(SourceFile:59)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:140)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:93)
    at com.jniwrapper.win32.ie.ai.<init>(SourceFile:88)
    at com.jniwrapper.win32.ie.Browser.a(SourceFile:73)
    at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:53)
    at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:45)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.createControl(MSHTMLViewer.java:307)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.<init>(MSHTMLViewer.java:257)
    at com.genuitec.eclipse.webdesigner2.designeditor.MSHTMLViewer.<init>(MSHTMLViewer.java:229)
    at com.genuitec.eclipse.webdesigner2.designeditor.DesignEditSubsystem.createDesignViewer(DesignEditSubsystem.java:183)
    at com.genuitec.eclipse.webdesigner2.WebDesigner2.createDesignViewer(WebDesigner2.java:116)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createDesignerControls(HTMLMultiPageEditorPart.java:499)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createDesignPage(HTMLMultiPageEditorPart.java:475)
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:257)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:241)
    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:609)
    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:384)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:552)
    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2362)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2295)
    at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:2287)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2268)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2241)
    at com.genuitec.eclipse.core.util.EditorUtil.openEditor(EditorUtil.java:78)
    at com.genuitec.eclipse.core.util.EditorUtil.openEditor(EditorUtil.java:71)
    at com.genuitec.eclipse.core.util.EditorUtil.openDefaultEditor(EditorUtil.java:87)
    at com.genuitec.eclipse.core.util.Util.openDefaultEditor(Util.java:737)
    at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsResizableNodeEditPart.openEditor(StrutsResizableNodeEditPart.java:342)
    at com.genuitec.eclipse.struts.editor.modeler.parts.StrutsResizableNodeEditPart.performRequest(StrutsResizableNodeEditPart.java:229)
    at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:187)
    at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:129)
    at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:944)
    at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:502)
    at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:204)
    at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:285)
    at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:141)
    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.Display.runDeferredEvents(Display.java:3080)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2713)
    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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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)

    #247602 Reply

    Greg
    Member

    What is your OS? Do you have Office installed? If so, what version?

    I’m guessing have Windows 2003. Our visual web designer has a known compatiblity issue with Win2k3. We are trying to work that out but until we release a fix, you can use the JSP ‘Classic’ Editor, which you can access by right-clicking on the JSP file and selection “Open Width > MyEclipse JSP ‘Classic’ Editor”. Sorry for the inconvenience.

    #247654 Reply

    garthus
    Member

    I’m using Windows XP SP2 (all patched up). I do have office 2003.
    I’ve been using the “Open Width > MyEclipse JSP ‘Classic’ to get around the problem but I think i’ve gotten the same error when using this option.
    Do you know when there will be a fix for this ?

    #247655 Reply

    Greg
    Member

    You shouldn’t be getting this same error with the ‘Classic’ error. We have still not replicated this error on our side. We aren’t for sure exactly what is causing as each user’s config that reports this error has a different configuration. We will continue to investigate and hopefully get it fixed soon.

    #247656 Reply

    seade
    Member

    Same thing happening to me here. Pretty much the same setup as garthus. I too have seen the error on the workaround JSP Classic editor, but it does appear to be working now.

    The JSP designer was working a couple of weeks ago on my old laptop (same software versions). Old laptop would have started out as XP Pro with an update applied to get to SP2 – problem is occuring on a new laptop that came with SP2 pre-installed.

    I am opening an .rhtml file f that makes any difference.

    Scott

    #249780 Reply

    i have the same problem , the jsp editor breaks as soon as you run windows update on a stock windows xp installation.
    i know that because i wiped the system . this is a completely clean install. install java 1.5_6 and eclipse 3.1.2 as recomended
    at the download link. Runs and works , also skype, cygwin, openoffice , upgrade windows suddenly it’s broken. exact same
    error message as above . In my workplace my computer is also win xp , similar config , similar broken. My coleagues
    installed myeclipse after i told them it was good . it breaks on their machines as well.

    THIS IS PROBABLY AN ISSUE FOR A LOT OF OTHER MYECLIPSE USERS. *

    *I guess ???

    #250124 Reply

    yeecn
    Member

    It is happening to me as well. I moved to a new notebook – clean install everything. I am using Windows 2003 server on both machines, and it is still working on my old machine.

    By the look of it the prime suspect is some recent Windows Updates. It is likely to be one of the optional ones, as my old machine has all the critical updates, but in the new machine I also downloaded all the optional updates.

    #250126 Reply

    yeecn
    Member

    ps. I am using Eclipse 3.1.2, MyEclipse4.1.1GA, java 1.5_6.

    Classic JSP editor works for me.

    Regards
    Yee

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Internal exception when opening jspfile

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