facebook

null pointer error

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

    mailxp
    Member

    When I create a new Html page.
    After I licked the Finish button in wizzard dialog.
    The eclipse shows a message which says:”Unable to create this part due to an internal error. Reason for the failure : An unexpected exception was thrown. ”
    When I click the “Details” button, the message is belove:

    
    java.lang.NullPointerException
        at com.jniwrapper.win32.ie.an.addStatusListener(SourceFile:56)
        at com.jniwrapper.win32.ie.al.<init>(SourceFile:116)
        at com.jniwrapper.win32.ie.al.<init>(SourceFile:85)
        at com.jniwrapper.win32.ie.Browser.a(SourceFile:71)
        at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:51)
        at com.jniwrapper.win32.ie.Browser.<init>(SourceFile:43)
        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:175)
        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(Unknown Source)
        at com.genuitec.eclipse.core.util.EditorUtil.openEditor(Unknown Source)
        at com.genuitec.eclipse.core.util.Util.openEditor(Unknown Source)
        at com.aston.WizardPage$1.run(WizardPage.java:260)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3057)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2716)
        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)
    

    If I open the file created in the classic HTML editor, It’s all right.
    So I think there must be some thing wrong with “MyEclipse HTML Designer” and “MyEclipse JSP Designer”.
    My operation system is win2003 Enterprise Edition.

    #240137

    Riyad Kalla
    Member

    What version of IE are you using? Also what Eclipse Build ID (Help > About) and MyEclipse Build ID (Window > Prefs > MyEclipse) are you using?

    #240143

    Greg
    Member

    Also, do you have any version of MS Visual Studio .Net installed? If so what version? We have seen this same error from a couple of other users and it turns out that it was because they have Visual Studio .Net and uninstalling it fixed the problem.

    Obviously, our Visual Web Designer should not fail if people have VS .Net installed. We are looking into this issue at the moment and any information that you can provide about your setup will be helpful.

    #240203

    mailxp
    Member

    IE 6.0.3790.1830

    Eclipse:
    Version: 3.1.1
    Build id: M20050929-0840

    Version:4.0.2 GA
    build id: 20051010-4.0.2-GA

    I didn’t instlled VS.net, May be it’s because win2003 include the .net framework??
    I don’t know.

    I am trying the myeclipse more…

    #240761

    Greg
    Member

    We don’t have a Windows 2003 machine to test that environment. It could be the cause of the problem, were unsure. We will continue to research this issue, so any other details about your configuration/environment that you could provide us would be helpful.

    #240915

    I have the same problem.
    OS=Windows 2003 x64
    Eclipse Version: 3.1.1
    MyEclipse Version:4.0.3 GA

    and I do have VS.NET 2003 installed.

    -Kiet

    #240916

    Greg
    Member

    Kiet,

    I’m beginning to wonder if it is a Windows2003 problem. Because we have some users that have VS.NET installed and don’t have the problem. So, please if any users are using Windows2003 and can use the JSP/HTML Designer please chime in here and let us know.

    #240917

    I notice you guys using JNI to wrap MSHTML IE control. The only ways to find out is to install Win2003 and debug. May be IE in Win2k3 is different from the rest of lower grade MS OS.:)

    My browser is IE6.0 + SP1.

    -Kiet

    #246404

    violetvaliev
    Member

    I don’t have .net installed but i’m getting the same sort of null pointer exception when trying to open jsp pages with the designer, my config is:

    *** System properties:
    OS=Windows2003
    OS version=5.2
    Java version=1.5.0_06

    *** MyEclipse details:
    MyEclipse Enterprise Workbench

    Version: 4.1.0 GA
    Build id: 20060122-4.1-GA

    *** Eclipse details:
    Eclipse SDK

    Version: 3.1.1
    Build id: M20050929-0840

    IE 6.0.3790.1830

    Guess I’ll still to the classic editor.

    Vi

    #246405

    Riyad Kalla
    Member

    Vi,
    Are you using Win2k3 or are you using Windows XP Pro 64-bit (built on Win2k3)? We had some users on 64 that were having some trouble with the designer.

    #253061

    nlecaros
    Member

    I also have this same issue. My config is:

    Windows 2003 Server SP1
    Eclipse v3.1.2 build id: 20060118-1600
    MyEclipse build id: 20060309-4.1.1-GA
    JDK 1.5.0_06

    This is a fresh install of the OS with all system patches up to date (i.e. going to Windows Update will show no critical updates are required).

    I’d open up a new thread but seeing as this thread discusses exactly the same issue I have, I might as well chime in.

    #253144

    Riyad Kalla
    Member

    nlecaros,
    Please give our new designer a try in our 5.0Milestone 2 release at the end of June. Due to issues like this and cross platform limitations, we have been working on a completely new designer that is going to be much more flexible moving forward, given that we would like the most testing and beating on it our users can give us before our GA release.

    #255336

    nlecaros
    Member

    This message has not been recovered.

    #255338

    Riyad Kalla
    Member

    This message has not been recovered.

Viewing 14 posts - 1 through 14 (of 14 total)
Reply To: null pointer error

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