- This topic has 44 replies, 9 voices, and was last updated 19 years, 5 months ago by John Sawers.
-
AuthorPosts
-
michael_talaveraMemberI can not open up a jsp page that has an include directive. I was not having this problem with the 3.8.1 version until I installed the third quick fix this morning. After the error message, inside the window that should be the jsp page is the message “An error has occurred when creating this editor.” Below is my system information including the error message. I installed the quick fix by extracting the files to the <myeclipse root>/eclipse/plugins directory as instructed and said yes to each and every override individually. I also opened Eclipse immediately after with the -clean attribute. The project is a “simple” project type and does not have WebProject capabilities. I have inherited this project, which is not in the proper web application architechure, but I was not encountering any difficulties opening files before quick fix three. Please advise as I am not able to work on any of the files in my project.
Posting guidelines information:
– Operation System: Windows XP
– Eclipse Version: Version: 3.0.0 Build id: 200406251208
– Fresh install of Eclipse and MyEclipse
– Other Plug-ins: Visual Source Safe Plug-in for Eclipse
– Eclipse Version: 3.8.1+QF20040825
– JDK 1.4.2_05
– Application Server: Tomcat 5.0.27
– Error log:
!SESSION Aug 27, 2004 11:27:42.494 ———————————————
eclipse.buildId=I200406251208
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US!ENTRY org.eclipse.core.runtime 4 2 Aug 27, 2004 11:27:42.494
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
An error has occurred when initializing the input for the the editor’s source page.
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:290)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:59)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:266)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:697)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:686)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:782)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:585)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:573)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2201)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:96)
at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:94)
at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:111)
at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:293)
at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:624)
at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:388)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:427)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:635)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:731)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:211)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:206)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
Riyad KallaMemberCan you take a look at this thread: https://www.genuitec.com/forums/topic/after-quickfix-unable-to-create-part-error-for-jsp/
michael_talaveraMemberShould I just be following this post for further developments? I don’t see a solution in this one yet. I have recreated the problem in a new project. All that is contained in the file is:
<%@ include file=”/path/IncludeFile.jsp” %>
This is from the source. <br>
</body>
</html>Also, when I try to paste the include directive into the file using the MyEclipse editor, I get an “Error Executing Command” window with the following text:
The command for the key you pressed failed.
Reasion:
The command for the key you pressed failed.Here is the error that is in the .log file when this error window appears:
!ENTRY org.eclipse.ui 4 0 Aug 27, 2004 12:48:15.791
!MESSAGE The command for the key you pressed failed
!STACK 0
java.lang.NullPointerException
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processInclude(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processInclude(Unknown Source)
at com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(Unknown Source)
at com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser._core_reparse_text(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.core_reparse(Unknown Source)
at com.ibm.sse.model.jsp.parser.JSPReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.StructuredDocumentReParser.reparse(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.updateModel(Unknown Source)
at com.ibm.sse.model.internal.text.BasicStructuredDocument.replaceText(Unknown Source)
at com.ibm.sse.editor.StructuredDocumentToTextAdapter.replaceTextRange(Unknown Source)
at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5601)
at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6441)
at org.eclipse.swt.custom.StyledText.doDelete(StyledText.java:2632)
at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5485)
at org.eclipse.jface.text.TextViewer.deleteText(TextViewer.java:3528)
at org.eclipse.jface.text.TextViewer.doOperation(TextViewer.java:3423)
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:757)
at com.ibm.sse.editor.StructuredTextViewer.doOperation(Unknown Source)
at org.eclipse.ui.texteditor.TextOperationAction$1.run(TextOperationAction.java:122)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.texteditor.TextOperationAction.run(TextOperationAction.java:120)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:141)
at org.eclipse.ui.internal.commands.Command.execute(Command.java:132)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:471)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:889)
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:930)
at org.eclipse.ui.internal.keys.OutOfOrderListener.handleEvent(OutOfOrderListener.java:69)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:820)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1734)
at org.eclipse.swt.widgets.Control.sendKeyEvent(Control.java:1730)
at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:3517)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:2997)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3338)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1467)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2429)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)I’m noticing as well that when I hit the slash, “/” key, nothing happens, and I can keep tying with nothing showing on the screen. When I hit the down arrow or move away, then the text appears.
Lots of things going on. I think I will try removing MyEclipse and doing a new install without the quick fix.
Riyad KallaMemberI was able to reproduce this when my project was just a plain Java project and not a Web Module Project. I will add it to the bug report. Thanks you.
marksavioMemberI also have the same problem with Michael. Exactly the same errors. “Unable to create part:” when i tried opening a JSP file on an existing Web Project. I would rather stick to the Enterprise Workbench 030800Beta1 Release.
I tried installing the Enterprise Workbench 030800Beta2 Release prior to the latest Release. It was the same bug. I thought it was fixed already on the 3.81GA Release. I should have posted this on the previous release.
Even with the Quick fix posted last week, the same problem still occurs.
Hoping for a quick reply. Thanks!
Riyad KallaMembermark,
The “unable to create part” errors is a known bug when editing a plain Java file, there are not any outstanding bugs when editing a Web Project so I would like your help tracking down the problem you are seeing. Can you give me the Build ID of Eclipse (Help > About) AND the Build ID of MyEclipse (Window > Preferences) that you are using? Also please let me know the struture of your project (src dir, output dir, webroot) and how to reproduce the problem.
Joseph LiMemberI am having similar problem too but with different settings and what I found is its somehow related to individual projects. I was not a problem in 3.8Beta when my project is a simple project pointing directly to the JSP folders and have project reference back to another project where its a simple Java project. I don’t expect the auto-completion function to work in this setting, I was just creating the project so I can browse and open the JSP files.
Everything works fine in 3.8. But as soon as I upgrade to 3.8.1GA, I am getting an “Unable to create part” err without stacktrace everytime I open any JSP files. And I also get the following wierd JSP index err whenever I open that simple project :
An internal error occurred during: “Update JSP Index”.
java.lang.NullPointerException
com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processInclude(Unknown Source)
com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.processInclude(Unknown Source)
com.ibm.sse.model.jsp.contentmodel.tld.TLDCMDocumentManager$DirectiveStructuredDocumentRegionHandler.nodeParsed(Unknown Source)
com.ibm.sse.model.xml.internal.parser.XMLSourceParser.fireNodeParsed(Unknown Source)
com.ibm.sse.model.jsp.parser.JSPSourceParser.parseNodes(Unknown Source)
com.ibm.sse.model.xml.internal.parser.XMLSourceParser.getDocumentRegions(Unknown Source)
com.ibm.sse.model.internal.text.BasicStructuredDocument.setText(Unknown Source)
com.ibm.sse.model.internal.text.BasicStructuredDocument.set(Unknown Source)
com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.setDocument(Unknown Source)
com.ibm.sse.model.jsp.modelquery.ModelQueryAdapterFactoryForJSP$TaglibSupportModelLifecycleListener.processPostModelEvent(Unknown Source)
com.ibm.sse.model.LifecycleNotificationManager.signalLifecycleEvent(Unknown Source)
com.ibm.sse.model.AbstractStructuredModel.signalLifecycleEvent(Unknown Source)
com.ibm.sse.model.AbstractStructuredModel.setStructuredDocument(Unknown Source)
com.ibm.sse.model.xml.internal.document.XMLModelImpl.setStructuredDocument(Unknown Source)
com.ibm.sse.model.AbstractModelLoader.load(Unknown Source)
com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
com.ibm.sse.model.ModelManagerImpl._commonGetModel(Unknown Source)
com.ibm.sse.model.ModelManagerImpl.getModelForRead(Unknown Source)
com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.createCompilationUnit(Unknown Source)
com.ibm.sse.model.jsp.internal.java.search.JSPSearchDocument.<init>(Unknown Source)
com.ibm.sse.model.jsp.internal.java.search.JSPSearchSupport.addJspFile(Unknown Source)
com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$2.visit(Unknown Source)
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
com.ibm.sse.model.jsp.internal.java.search.JSPIndexManager$1.run(Unknown Source)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)Couple uninstall & install MyEclipse, delete & recreate project doesn’t help. I finally tried creating a Web project and copied a JSP file from the problematic project to the new web project. Everything works fine in the new web project, the JSP opens without err.
So I guess this bug relates to how the project was set up is it?
My setting :
Eclipse Platform
Version: 3.0.0
Build id: 200406251208MyEclipse
Version: 3.8.1
Build id: 200408201200-3.8.1Hope this gives more info to the support team.
Riyad KallaMemberYes this does help us.. we can check if there are latent .project or .mymetadata settings that are causing the whole process to barf, thank you for the feedback!
djacobsMemberI’m having exactly the same problem, first with Beta 2, and now with 3.8.1, just downloaded today (no quick fixes yet).
My project is also a Java project, which was created before ME 3.8.1 was installed. I have not yet tried turning it into a ME J2EE Web Project.
The project tree for the source file involved is:
+dev30
-+docroot
–+jsp
—+dealerReport.jspThe problem JSP begins as follows:
————————
<%@ include file=”/jsp/include/prologue.jsp” %>
<%@ include file=”/jsp/include/require-login.jsp” %>
<%@ include file=”/jsp/include/userbean.jsp” %>
<%@ page import=”java.util.*”%>
<%@ page import=”java.text.*”%>
<%@ page import=”com.ironplanet.db.*” %>
<%@ page import=”com.ironplanet.db.auction.*” %>
<%@ page import=”com.ironplanet.db.auctioneer.*” %>
<%@ page import=”com.ironplanet.db.equipment.*” %>
<%@ page import=”com.ironplanet.db.catalogsalemanager.*” %>
<%@ page import=”com.ironplanet.db.catalogsale.*” %>
<%@ page import=”com.ironplanet.db.user.*” %>
<%@ page import=”com.ironplanet.db.contact.*” %>
<%@ page import=”com.ironplanet.util.*” %>
…
————————Posting guidelines information:
– Operation System: Debian GNU/Linux (2.4.26-1-686-smp)
– Eclipse Version: Version: 3.0.0 Build id: 200406251208
– Not a fresh install of Eclipse
– Fresh install of MyEclipse
– Other Plug-ins: EMF, SDO, XSD, VE, GEF)
– Eclipse Version: 3.8.1
– JDK 1.4.2_05
– Application Server: Tomcat 5.0.28
– Error log:
!ENTRY org.eclipse.core.runtime 4 2 Sep 02, 2004 10:36:54.420
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
!STACK 0
An error has occurred when initializing the input for the the editor’s source page.
at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
at org.eclipse.ui.internal.EditorStack.setVisibleEditor(EditorStack.java:170)
at org.eclipse.ui.internal.EditorAreaHelper.setVisibleEditor(EditorAreaHelper.java:338)
at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:268)
at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:697)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:686)
at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:782)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:585)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:573)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2201)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:299)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:137)
at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:110)
at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:164)
at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:150)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:212)
at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:188)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:289)
at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:490)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:429)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:427)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:635)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:731)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:211)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:206)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:238)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:954)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2595)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2298)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
djacobsMemberWhoops, I need to revise the MyEclipse version info I provided;
I didn’t realize that the download I got yesterday included the
quick fixes. The version as reported by Preferences>MyEclipse:Build Id: 200408201200-3.8.1+QF20040825
Riyad KallaMemberdjacobs,
The problem should go away if you add web caps to it, if you don’t want to, just add your docroot dir to your source path, I blieve that fixes the problem.
djacobsMemberAdd web caps? If you mean redfine it as a Web Project, I’ve done that, and the JSP Editor problem is no longer happening. It’s clearly only when the Project is a plain ol’ Java Project.
As for the docroot as a source dir, I’d already done that. That was not the problem.
Thanks,
–dave
Riyad KallaMemberIt’s clearly only when the Project is a plain ol’ Java Project.
Yes I’m aware of that, in your post you said: “My project is also a Java project, which was created before ME 3.8.1 was installed.”, so I was providing a suggested based on that information.
As for the docroot as a source dir, I’d already done that. That was not the problem.
Then what WAS the problem? So far it seems like your original question was: “I’ve got a Java project that does this error: XYZ” which is a symptom we’ve run down in this thread before that I gave you two workarounds for… after giving you the workarounds you comment that not only is it NOT a Java Project, but the problem you had aparently wasn’t the right one… so now I’m completely lost as to where you stand and if things are working or what is going on… if you are running into a problem please let me know what it is and I’ll do what I can to help.
Joseph LiMemberI haven’t try the add web cap. suggestions yet. But what I found was, if the Jsp page is not using any custom jsptag lib, the jsp file opens without problem.
Is there a way to make the JSP editor (or the parser) less restrictive? I am thinking I will be having a real hardtime trying to bend an existing app’s dir struct to get MyEclipse to recognize the custom tags.
Riyad KallaMemberIs there a way to make the JSP editor (or the parser) less restrictive?
Can you clarify what you mean? What restriction is keeping you from working with the editor now? If you let me know what the specific issue is I can pass it by the devs and see if its not a problem to lighten it up.
-
AuthorPosts