facebook

[Closed] Cannot open jsp files

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

    – System Setup ——————————-
    Operating System and version: Windows XP
    Eclipse version: 3.1.2
    Eclipse build id: M20060118-1600
    Fresh Eclipse install (y/n): y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 4
    MyEclipse version: 4.1
    Eclipse JDK version: jdk1.5.0_05
    Application Server JDK version:
    Are there any exceptions in the Eclipse log file?

    An error has occurred when initializing the input for the the editor’s source page.
    at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.createPages(HTMLMultiPageEditorPart.java:275)
    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: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(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    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 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 ——————————-

    Trying to open any jsps in my project generates a big red button with a grey X in it saying Unable to create this part due to an internal error. Reason for the failure: An error has occurred when initializing the input for the the editor’s source page.

    And the Details button shows the exception stack above. This is a completely brand new Eclipse and my eclipse install. This started happening in my old my eclipse too late last year. I have to use Editplus for editing my jsps and eclipse for everything else. That’s lame. Any help here would be awesome.

    #249878 Reply

    Added message notification for myself. Overall the product is great btw. Thanks.

    #249881 Reply

    Scott Anderson
    Participant

    This is peculiar and is likely related to one or more of: the plugin cache, version of IE installed, Operating System version, or JDK.
    To isolate the problem I’d suggest the following:
    1) Remove your existing log file at <workspace>/.metadata/.log
    2) Restart Eclipse with -clean commandline option and retest (ie. eclipse.exe -clean)
    If still a problem, check the contents of the log file and see if it provides any more detail over what you’ve provided thus far. If so, please post it.
    3) What version of IE do you have installed? The visual designer works with IE 6 only. Not IE 5 or IE 7 beta. Can you check the version and report it here.
    4) What type and version of the operating system are you running?
    5) Can you try starting Eclipse using a 1.4.2 JDK with: eclipse.exe -vm <path-to-jdk>\bin\javaw.exe
    6) Retest.

    Also, you stated you’re running MyEclipse 4.1 is that 4.1.0 or 4.1.1? If not 4.1.1, updating through the update manager and restarting with -clean is recommended.

    Let’s see if one of those resolves it or additional information we get from that.

    #249925 Reply

    The restart clean had no effect. Actually I couldn’t get the log file to regenerate after I deleted it. Is it in /DocumentsandSettings/<username>/workspace/.metadata?

    IE version :6.0.2900.2180….
    Update Version SP2

    OS:
    Windows XP Pro Version 2002
    Service Pack 2

    I deleted my old 1.4 jdk. So I’ll have to try that later. If that’s the solution I’m stuck cause we moved to 1.5 for our codebase.

    I just downloaded the newest eclipse and eclipseide 4.1.1GA

    I will continue to sadly use Edit Plus to edit my jsps. Tear…

    -Robert

    #249927 Reply

    I meant that I downloaded the newest eclipse and myeclipse yesterday and still see this problem. Not that I just downloaded them in response to it.

    Oh and thanks again for your quick response.

    #250372 Reply

    Ok so maybe your start clean idea worked. I don’t know but I rebooted a couple of days ago, it’s my work pc, and now jsps open and I couldn’t be more delighted. Thanks for your prompt attention in this matter.

    -Robert

    #250376 Reply

    Riyad Kalla
    Member

    Robert very sorry for the delay in responding, I should have seen this thread but it got lost in my inbox. I am glad to hear it’s working now.

    #250500 Reply

    I wasn’t being a smart ass this once. You guys were all over the problem earlier. There was just some delay in me getting back to you guys.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] Cannot open jsp files

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