- This topic has 12 replies, 7 voices, and was last updated 19 years, 2 months ago by
cvolk.
-
AuthorPosts
-
Max MirabitoParticipantI have had Eclipse 3.1.1 with MyEclipse 4.1 for several weeks nows. Strangely enough today when I open JSP pages I get the following error
There are no other plug-ins I reinstalled both products several times.
Here is the exception:
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.PartPane.setVisible(PartPane.java:283) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:126) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:391) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1102) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1051) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.add(PartStack.java:442) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:60) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:212) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:202) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:758) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:665) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:628) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2360) 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:2249) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:251) at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:131) at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:169) at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:153) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:222) at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:198) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:296) at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:869) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:741) 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.fireOpen(StructuredViewer.java:739) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:968) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1067) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:243) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:238) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:277) 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)
My development enviroment is 2003 Server SP1 IE 6.0.379.1830
following is the eclipse log
eclipse.buildId=M20050929-0840 java.version=1.5.0_06 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.ui 4 0 2006-02-10 17:06:33.375 !MESSAGE Unable to create editor ID com.genuitec.eclipse.webdesigner.jsp: An unexpected exception was thrown. !STACK 0 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.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:258) at org.eclipse.ui.internal.EditorManager.setVisibleEditor(EditorManager.java:1221) at org.eclipse.ui.internal.EditorManager$5.run(EditorManager.java:949) 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.EditorManager.restoreState(EditorManager.java:944) at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2576) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1819) at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.java:2566) at org.eclipse.ui.internal.Workbench.access$14(Workbench.java:2515) at org.eclipse.ui.internal.Workbench$19.run(Workbench.java:1514) at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1263) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:346) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:291) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:447) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1258) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1512) at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:1491) at org.eclipse.ui.internal.Workbench$17.run(Workbench.java:1374) 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.Workbench.restoreState(Workbench.java:1318) at org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(WorkbenchConfigurer.java:183) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:700) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636) 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)
Please let me know how I might be able to fix this issues
Thanks
Max
February 11, 2006 at 12:32 am #246567
GregMemberMax,
This is a known issue with the HTML/JSP Designer with either Windows2003 or Office XP/2003 installed. Something between the 2 of those is modifying the IE DLLs that are used to make the HTML/JSP designer operate. Until we get the problem fixed, you can use the HTML/JSP Classic editors. Right click on an HTML or JSP file and select Open With > HTML or JSP ‘Classic’ Editor. The classic editors don’t have the new visual web designer mode so they shouldn’t have this error. Sorry for the inconvenience.
February 11, 2006 at 8:20 am #246578
Max MirabitoParticipantGreg thanks for the reply.
It’s really bizarre because the designer was working the night before. Plese let me know once you guys resolve the problem. In the mean time I will use the clasic designer as per your instructions
Best Regards
Max
February 11, 2006 at 9:29 am #246582
Scott AndersonParticipantMax,
Between the time it worked and it didn’t, did you install *any* software? An IE or MSN update, for example? Anything else? This incompatibility usually shows up with old versions of IE for example. Are you running the latest IE release, but *not* the IE 7 beta?
February 11, 2006 at 11:12 am #246585
Max MirabitoParticipantScott,
The only new thing that I remember installing in the morning was an upgrade to Spark (Instant Messenger) 1.1.0 from jivesoftware. I removed it to see if it would fix the problem but it did not help. I use MSN 7.5 but it was already loaded.
The following is additional software that was already installed
– Office 2003 SP2
– IE 6.0.379.1830 – update version SP1 (is this the latest?)It’s bizarre it was working then out of the blue eclipse hanged so I called it the night and went to bed. In the AM I got back on the PC and the JSP designer stopped functioning. I reinstalled thinking that something might have corrupted eclipse but had not luck.
It’s a pity because I was looking forward to using the JSP designer. I guess I will have to wait until we can figure out the incompatibility.
Do you think eclipse 3.1.2 might help? Please keep me posted
Regards,
Max
February 13, 2006 at 2:55 am #246642
mailxpMemberOther than right click every time,
you can change the default editor for html/jsp in:
Preference -> General -> Editors -> File AssociationsFebruary 18, 2006 at 1:16 pm #246989
cvolkMemberI’ve been experiencing this problem ever since the designer first came out (last fall?). I’m running Windows XP SP2 and the standard IE version that comes with it (+ any updates that come from windows update).
So let me just ask, bcs I’m desperately trying to figure out the rationale for using IE components in a Java app: why not just use a java-based component, or write one yourself? IE is well known to be a hunk o’junk, is not standards based, and has more security holes than a full wheel of swiss cheese. Additionally, by using IE in ME, you will always have to worry about IE breaking or changing out from under you – either due to user upgrades, or installation of other MS products. How can you possibly support a product under these circumstances? It’s VERY frustrating for your users.
It’s one thing to do have to do your html by hand, but JSF? YEs, you can technically do JSF by hand, but it’s really built for tool-based development.
I’d love to see this as a high priority – it’s been broken since the start, and HTML/JSP/JSF work is a core dev task for all web developers. I’d also like to see it support XHTML since HTML is dead.
Thanks for listening, and great product otherwise!!!
-Chris
April 7, 2006 at 1:07 pm #250009
cvolkMemberI thought this would be worth mentioning: I installed the XMLSpy eclipse plugin yesterday, and now, if I open a jsp/html file while in the XMLSpy perspective, the designer works! If I forget to change to the XMLSpy perspective, the designer bombs as before. I am assuming it has something to do with the fact that XMLSpy utilizes some of the microsoft technology as well, and is perhaps introducing a component that is NOT corrupted by whatever MS apps make changes to IE components, as you have mentioned previously.
I mention this in hopes that it will give you more to work with in fixing this, which I am very much hoping for in the 5.0 release – though at least I seem to have a workaround now.
Thanks,
Chris 😀April 10, 2006 at 11:20 am #250157
UNLMemberHi,
My environment is Windows XP 2002 with Service Pack2. I got same error every time.
“Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown”
By using “JSP Classic Editor”, sometimes I got same error and sometimes (do not know why, just keep trying) it works with the classic editor.
I just use MyEclipse4.1.1 with Eclipse 3.1.2 about one week, but got several times error using Classic JSP Editor and with “JSP Designer” never worked.
BTW, I use Firefox 1.5.0.1.
Any thought how to prevent this error? It really bother me since I could not open any JSP file at all sometimes.
Thanks
GraceApril 10, 2006 at 12:50 pm #250176
Riyad KallaMemberChris,
We appreciate the followup. This is extremely strange, I’ll forward the news along to the guys.Grace,
Be sure to upgrade your IE install to 6.0, that should help.April 10, 2006 at 1:48 pm #250193
UNLMemberRiyad,
Do you know any reported or “potential” problem by using Firefox1.5.0.1? Just curios…
Thanks
GraceApril 10, 2006 at 1:55 pm #250196
Riyad KallaMemberGrace,
No that really shouldn’t effect the designer. I would point out that in MyEclipse 5.0 our plan is to be shipping our new cross platform designer which is based on a whole new platform, so hopefully this issue of IE incompatabilities will go away.April 10, 2006 at 4:01 pm #250211
cvolkMemberNP, always glad to help out with any data I can share.
As an added note, I also completly reinstalled IE from the original cd and applied subsequent updates, but the problems with the IE component (and the error listed in this thread) remains the same.
So, I still can’t help find the actual problem, but hopefully these will be items you can cross off your list, or lower debugging priority on.
VERY glad to hear that there is a new designer in 5.0. I guess that will make this whole thread moot 8) Nothing better than hearing that you are ditching IE!
Thanks,
Chris -
AuthorPosts