facebook

Error message when I try to add an HTML file to a Tomcat Prj

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 9 posts - 16 through 24 (of 24 total)
  • Author
    Posts
  • #246079

    fredporter
    Member

    The same problem happens in classic eclipse.

    In addition, I installed the identical application sets on an HP desk machine, XP Pro and MS Office 2003. Everything works fine. I am inclined to believe I need to reinstall IE 6 on the machine I am having trouble with. Unfortunately, I use the laptop for class.

    #246080

    fredporter
    Member

    I don’t know if you got that last message. NO the ‘classic’ eclipse editor does not work either.

    I also installed the identical applications on an HP desk machine, and it works just fine. Perhaps I should try and reinstall IE 6. Any ideas you have would be great. Unfortunately, I need the laptop in class so it is important that I get it to work.

    Thanks for your help, Fred

    #246081

    fredporter
    Member

    The classic editor does work when I right-click on the jsp or html file for some files. Classic works, and MyEclipse JSP designer does not work. Apparently the file is being generated, and the problem comes in starting up the designer.

    Thanks, Fred

    #246094

    Riyad Kalla
    Member

    Fred,
    Reinstalling IE 6 may help, there may have been some changes done to it by Office, it’s ahrd to say. In the mean time the Classic designer can atleast help you get work done if the new designer isn’t working.

    #246101

    fredporter
    Member

    One other piece information may be relevant when editing JSP or HTML files. Classic works okay, but the Design tab never shows up under the editing window, only source and preview are there.

    #246104

    fredporter
    Member

    I am able to get Simple Servlets and JSP files to work, but not HTML files. In addtion when I start up a servlet, it always goes into the debug mode. Is there any way so make the system run a servlet in the run mode. I am unable to find out how to do that. Thanks, Fred

    #246120

    Riyad Kalla
    Member

    In addtion when I start up a servlet, it always goes into the debug mode. Is there any way so make the system run a servlet in the run mode. I am unable to find out how to do that. Thanks, Fred

    If you navigate to WIndow > Preferences> MyEclipse > App Servers > Tomcat 5, and then click on the Launch settings, you can change the mode to Run from here.

    #247391

    I’m having the same problem. It just stopped working one time after closing out of Eclipse and opening it back up. Now I cannot edit the jsp files nor use the Clay Azzurri plugin which I had comfortably been using. I tried reinstalling MyEclipseIDE and it worked for the first time and then on closing out and logging back in, I get the same error.

    HELP!!!

    *****
    Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.

    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:269)
    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.actions.OpenWithMenu.openEditor(OpenWithMenu.java:279)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:271)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:178)
    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:3125)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
    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)

    #253185

    I can’t speak for Fred, but I believe I have his same problem and using ‘Classic’ Editor DOES work.

Viewing 9 posts - 16 through 24 (of 24 total)
Reply To: Error message when I try to add an HTML file to a Tomcat Prj

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