facebook

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

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

    fredporter
    Member

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

    1. Can you advise me what needs to be done about the above error?

    2. In addition, although I can start Tomcat inside Eclipse, when I try to update the server.xml file with a simple servlet in the tomcat project, tomcat will not start properly until I remove it again.

    Thanks,
    Fred Porter
    fredp@pdspp.com

    – System Setup ——————————-
    Operating System and version: XP Pro 2002
    Version: 3.1.1
    Build id: M20050929-0840

    Fresh Eclipse install (y/n): Yes
    If not, was it upgraded to its current version using the update manager? NO
    Other installed external plugins: Tomcat
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
    MyEclipse version: 4.0.100
    Eclipse JDK version: 3.1.1
    Application Server JDK version: 1.5.0.06
    Are there any exceptions in the Eclipse log file?

    If this is a DB related question please answer the following:

    RDBMS vendor and version:
    JDBC driver vendor and version, and access type (thin, type-2, etc):
    Connection URL:
    Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:

    – Message Body ——————————-

    Detail is
    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:2249)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
    at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
    at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:98)
    at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:98)
    at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:120)
    at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:326)
    at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:650)
    at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:409)
    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)

    #245844

    Riyad Kalla
    Member

    Fred we need to clarify a few things:

    1) Your bug report is about adding an HTML file to a “Tomcat project”, which I assume you mean Web Project (MyEclipse’s project type for web applications)
    2) Your using MyEclipse 4.1M1 which is an old beta release, but should still work.
    3) The stack trace you provided pertains to the designer not beinga ble to open.
    4) In the original report you were having trouble with a servlet in the server.xml file

    Can you specify what your question is or what you need help with? This seems like a lot of information with no particular question…

    #245857

    fredporter
    Member

    I will try and describe this in a little more organized fashion. This is a brand new installation of Eclipse, MyEclipse, and Tomcat 5.5. The purpose is for a use in a course I am teaching in Server-side Java. I have been trying to get this installation to work for a simple basic servlet. Here is what I have installed:

    JDK 5.0 Update 6
    eclipse-SDK-3.1.1-win32.zip
    EnterpriseWorkbenchInstaller_4.1M2_E3.1.exe
    tomcatPluginV31.zip

    Here is what I have tested:
    Client-side Java applications work without a problem.
    I can start and stop Tomcat from within MyEclipse without a problem and look at the example servlets and JSPs with the localhost:8080 URL.

    Servlets I try to make have problems.
    I can create a Tomcat Project.
    Modifications are automatically made to the web.xml file as expected.

    Now, when I try to update context definition in the project drop-down menu, I get the proper changes in the server.xml file under the tomcat installation, but I Tomcat will not start and stop properly after the server.xml file has been modified. I also get an error 404 when I try to run the Servlet.

    There is another, probably unrelated, issue is that if I try to create an HTML file in this project, I get the
    “Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.” message.

    I was hoping you might see an obvious fault here, but it may be an inconsistant set of installed items. About a year ago I had older items installed, and most of this worked fine.

    Thank you for looking at this, Fred

    #245860

    Riyad Kalla
    Member

    The purpose is for a use in a course I am teaching in Server-side Java. I have been trying to get this installation to work for a simple basic servlet. Here is what I have installed:

    Thank you for restating.

    JDK 5.0 Update 6
    eclipse-SDK-3.1.1-win32.zip
    EnterpriseWorkbenchInstaller_4.1M2_E3.1.exe
    tomcatPluginV31.zip

    You need to download MyEclipse 4.1GA, don’t use the M2 release there were a lot of fixes between then and the GA release that came out about a week ago. Also you don’t need the TomcatPlugin. I believe that is probably the Sysdeo Tomcat plugin, that is a completely separate project that has projects that are not compatible with MyEclipse. I would suggest just using MyEclipse, getting a feel for it and only installing Sysdeo if it does something MyEclipse doesn’t (which I’m not aware of).

    I can start and stop Tomcat from within MyEclipse without a problem and look at the example servlets and JSPs with the localhost:8080 URL.

    At this point I wouldn’t be able to tell you if you were using Sysdeo or MyEclipse to run Tomcat so it’s hard to say.

    Servlets I try to make have problems.
    I can create a Tomcat Project.
    Modifications are automatically made to the web.xml file as expected.

    I’m going to have to stop you here because there is going to be conflicts as long as you have both these tools installed as far as which plugin is doing what, why XYZ doesn’t work and why ABC isn’t functioning like we have described in our documentation.

    There is another, probably unrelated, issue is that if I try to create an HTML file in this project, I get the
    “Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.” message.

    This is almost always indicative of an installation problem. At this point I would encourage you to reinstall Eclipse 3.1.1 SDK and MyEclipse 4.1 GA to new locations and open your existing workspace with them (don’t forget to use the -clean command line argument as outlined here: http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10280.html)

    Fred,
    After getting your installation squared away, if you do decide to hold off on the Tomcat plugin and use what is built into MyEclipse, you can follow our development guides here to get an idea how development with MyEclipse works: http://www.myeclipseide.com/ContentExpress-display-ceid-67.html

    I would suggest starting with “Working with Web Projects”.

    #245861

    fredporter
    Member

    Perhaps there is a simpler way to work through this.

    1. Can you refer me to a tutorial showing the steps to install Eclipse 3.1.1 and Tomcat 5.5 with an appropriate version of MyEclipse? Does j2eesdk-1_4_03-windows.exe need to be installed also?

    2. Can you refer me to a tutorial showing the steps to create a simple servlet using MyEclipse and Tomcat 5.5?

    Thanks sincerely, Fred

    #245864

    Riyad Kalla
    Member

    1. Can you refer me to a tutorial showing the steps to install Eclipse 3.1.1 and Tomcat 5.5 with an appropriate version of MyEclipse? Does j2eesdk-1_4_03-windows.exe need to be installed also?

    (no, you do not need the j2ee SDK installed)

    Quick Tutorial:
    1) Download Eclipse 3.1.1, unzip it to a new location
    2) Download MyEclipse 4.1 GA, run the installer and install it to a new location, pointing it at your new unzipped Eclipse 3.1 install from step 1.
    3) Download the Tomcat 5.5.x latest release ZIP and unzip it to a new location.
    4) Launch MyEclipse, setup the application as outlined in our application server doc above and verify that it starts/stops Tomcat correctl.

    2. Can you refer me to a tutorial showing the steps to create a simple servlet using MyEclipse and Tomcat 5.5?

    Please look at the document I referred you to, it covers working with a web application there to give you a feel. You can create a servlet via the File > New > Other… > MyEclipse > J2EE > Servlet menu item.

    #245986

    fredporter
    Member

    What I have accomplished:
    Tomcat 5.5 Installed.
    Tomcat 5 Server working
    JDK 1.5.0.06 is referenced
    All examples work okay by starting Tomcat inside MyEclipse and using
    localhost:8080

    Web Project set up
    it315MyWeb02

    I right-clicked on it315MyWeb02 – MyEclipse – Add and Remove Project Deployments
    and that all worked fine. The servlet runs.

    The problem now is I cannot add an HTML file to this project.
    If I right-click on WebRoot and try to add an HTML file I get the error below.
    Is there something not configured properly?

    What I see is ‘Opening Designer’ then the message:
    Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.

    Thank you for looking at this, Fred

    The detail of the above message is:
    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.Util.openEditor(Util.java:730)
    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)

    #245987

    fredporter
    Member

    I also get the same previous error when I go throught your ‘Working with Web Projects’ tutorial while trying to generate a JSP or an HTML.

    Thanks sincerely for looking at this, Fred

    #245992

    Riyad Kalla
    Member

    Fred,
    The problem you are seeing is opening the HTML editor, the file should be added to the project however (you should be able to see it in the webroot directory).

    Our designer requires IE 6, do you have IE 5.x or IE 7 beta on your machine possibly?

    #246014

    fredporter
    Member

    Internet Explorer seems to be okay. Are there some settings I should look at?

    Thanks, Fred

    #246017

    Greg
    Member

    Fred,

    Do you have Office XP or Office 2003 either with FrontPage installed?

    #246018

    fredporter
    Member

    I have MS Office 2003 Professional SP2 with Access, Publisher, Word, Excel, PowerPoint, and Outlook.
    I do not have FrontPage.

    #246033

    fredporter
    Member

    Thanks for looking at this, Fred

    #246046

    fredporter
    Member

    Please respond to this.

    I am not able to add an HTML file or a JSP file. I get the following error.

    What I see is ‘Opening Designer’ then the message:
    Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.

    I have IE 6 installed and I do not have FrontPage installed.

    While I am waiting for a response, I will install all of this on another computer configured in a similar fashion. Other things I might try are to reinstall IE 6 and reinstall MS Office 2003.

    Please let me know what you suggest.

    Sincere thanks, Fred

    Here is a summary of past messages:

    What I have accomplished:
    Tomcat 5.5 Installed.
    Tomcat 5 Server working
    JDK 1.5.0.06 is referenced
    All examples work okay by starting Tomcat inside MyEclipse and using
    localhost:8080

    Web Project set up
    it315MyWeb02

    I right-clicked on it315MyWeb02 – MyEclipse – Add and Remove Project Deployments
    and that all worked fine. The servlet runs.

    The problem now is I cannot add an HTML file to this project.
    If I right-click on WebRoot and try to add an HTML file I get the error below.
    Is there something not configured properly?

    What I see is ‘Opening Designer’ then the message:
    Unable to create this part due to an internal error. Reason for the failure: An unexpected exception was thrown.

    Thank you for looking at this, Fred

    The detail of the above message is:
    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.Util.openEditor(Util.java:730)
    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)

    #246058

    Riyad Kalla
    Member

    Fred, if you right click on any JSP or HTML files and try and open them with the MyEclipse ‘Classic’ Editor, does that work?

Viewing 15 posts - 1 through 15 (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