- This topic has 27 replies, 3 voices, and was last updated 19 years, 3 months ago by
Riyad Kalla.
-
AuthorPosts
-
perretMemberHello 🙂
First of all, i would like to wish an happy new year to everyone here.
I am facing an annoying issue that appeared after trying to rename my project. I am for the moment, not able to use the design view of the struts-config.xml file. Indeed, after renaming my web project, the design view of the struts-config.xml started to encounter bugs. Firstly, the forwards arrows disappeared but was still ok on the source code. And after several clics switching the code view to the design view, the actions and the jsp’s disappeared too. 😯 I checked on the sources code and nothing was removed, my struts application is still working.
Then, i tryed to load a previously saved workspace to see if the problem was still remaining and unfortunately, yes…To finish testing, i loaded my project on another pc and the design view of the struts-config.xml was still blank. The problem is when i switch back to the original workspace on this pc, an other struts application was troubled by the use of my “corrupted” workspace. Indeed, my colleage’s struts application is now missing some stuff. When he launch Eclipse, his action forwards are gone and after 2 clics switching design and source, his actions disappear too 😕 After exiting Eclipse, and relaunching it, the actions come back but leave after the 2 clics. I tryied the “auto-layout” in the view menu and now the actions are totally gone.
I am using:
Windows XP, Eclipse 3.1.1 and MyEclipse 4.0.3
I know my bug is kind of weird but i would really apreciate some help. Thanks a lot,
Bruno 🙂
Brian FernandesModeratorBruno,
Happy new year to you too 🙂
Can you tell me how you renamed your project? Did you change webroot or any paths at all – or was only the project name which you changed changed? If you change your project name back to what it was, does it work for you?
At the same location as your struts-config.xml file, you will find a .struts-config.mex file, copy it elsewhere and delete this instance (make sure the struts editor is closed at this time). Open up your config editor, does it work for you now?
Please have a look at your error log for any relavent errors that might be occouring and paste them here.Best,
Brian.
perretMember@Support-Brian wrote:
Bruno,
Happy new year to you too 🙂
Can you tell me how you renamed your project? Did you change webroot or any paths at all – or was only the project name which you changed changed? If you change your project name back to what it was, does it work for you?
At the same location as your struts-config.xml file, you will find a .struts-config.mex file, copy it elsewhere and delete this instance (make sure the struts editor is closed at this time). Open up your config editor, does it work for you now?
Please have a look at your error log for any relavent errors that might be occouring and paste them here.Best,
Brian.Thanks 😀
I have read on others topic that german char may be a source of problem so i didn’t use french chars. My web project was called GisConsult and renamed as Consult at any path. I already tried to rename as before with no success…
I already tried to delete the mex file with no effects… I just did it again in case of 😕
Here is the .log file:
!ENTRY org.eclipse.ui 4 0 2006-01-03 10:14:09.870 !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug) !STACK 1 org.eclipse.ui.PartInitException: Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:543) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:223) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:477) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:402) at org.eclipse.ui.internal.EditorManager.findEditor(EditorManager.java:372) at org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPage.java:1780) at com.genuitec.eclipse.core.util.EditorUtil.getEditorForInput(Unknown Source) at com.genuitec.eclipse.core.util.EditorUtil.checkConflictingEditor(Unknown Source) at com.genuitec.eclipse.webdesigner2.HTMLMultiPageEditorPart.init(HTMLMultiPageEditorPart.java:873) at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:778) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596) 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:268) 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.handleDeferredEvents(PartStack.java:1066) at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:402) at org.eclipse.ui.internal.PartSashContainer.handleDeferredEvents(PartSashContainer.java:1317) at org.eclipse.ui.internal.LayoutPart.deferUpdates(LayoutPart.java:402) at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1260) at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1250) at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1224) at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1279) at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:54) at org.eclipse.ui.internal.PartStack.close(PartStack.java:495) at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:197) at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:102) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67) at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:584) at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:190) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2075) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292) 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) !SUBENTRY 1 org.eclipse.ui 4 0 2006-01-03 10:14:09.870 !MESSAGE Warning: Detected recursive attempt by part com.genuitec.eclipse.webdesigner.jsp to create itself (this is probably, but not necessarily, a bug) !SESSION 2006-01-03 15:50:18.124 ----------------------------------------------- eclipse.buildId=M20050929-0840 java.version=1.5.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY com.genuitec.eclipse.struts 1 0 2006-01-03 15:51:59.30 !MESSAGE Creating mex file: .struts-config.mex
Thanks in advance,
Bruno
Brian FernandesModeratorBruno,
The foreign character bug was fixed quite some time ago, you don’t have to worry about that being an issue in 4.0.3.
Just to help track down the issue, could you create a dummy struts project in your workspace and copy the struts-config.xml file into it (do not copy the mex) – does that work?
If that does not work, try the above in a brand new workspace.It seems likely that something other than renaming the project has caused this issue – let us know how this turns out.
Best,
Brian.
perretMember@Support-Brian wrote:
Bruno,
The foreign character bug was fixed quite some time ago, you don’t have to worry about that being an issue in 4.0.3.
Just to help track down the issue, could you create a dummy struts project in your workspace and copy the struts-config.xml file into it (do not copy the mex) – does that work?
If that does not work, try the above in a brand new workspace.It seems likely that something other than renaming the project has caused this issue – let us know how this turns out.
Best,
Brian.Ok! 😀 I was wondering if i should tryout the 4.1 M2 😆
I tried what you told me and unfortunately it doesn’t work 😥
Any ideas left?
Thanks
Brian FernandesModeratorBruno,
What about other struts config files, are all behaving strangely?
Well, here are a few more suggestions
1) Restart eclipse with a -clean command line parameter
2) Posting Guidelines – has a few more questions; have you installed any other plugins?
3) Try a fresh eclipse AND MyEclipse installation
4) Can you mail a copy of your config file to support@genuitec.com ATTN Brian.Best,
Brian.
perretMember@Support-Brian wrote:
Bruno,
What about other struts config files, are all behaving strangely?
Well, here are a few more suggestions
1) Restart eclipse with a -clean command line parameter
2) Posting Guidelines – has a few more questions; have you installed any other plugins?
3) Try a fresh eclipse AND MyEclipse installation
4) Can you mail a copy of your config file to support@genuitec.com ATTN Brian.Best,
Brian.Hi Brian, 😀
The -clean command line wasn’t efficient 🙁
Here is my working configuration. I am not using any other plugins but my colleague has Jigloo installed.
Yesterday I tried several times to do your Struts Demo tutorial. The creation of JSP’s is ok but when creating a form/action/jsp, it is not appearing on the design view but the source code has been updated!I’ll try a fresh Eclipse installation and will send you the config file.
Thanks for your kindness and your help.
*** Date: Wed Jan 04 09:20:21 CET 2006 *** System properties: OS=WindowsXP OS version=5.1 Java version=1.5.0_06 *** MyEclipse details: MyEclipse Enterprise Workbench Version: 4.0.3 GA Build id: 20051025-4.0.3-GA *** Eclipse details: Eclipse SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse Platform Version: 3.1.1 Build id: M20050929-0840 Eclipse RCP Version: 3.1.1 Build id: M20050929-0840 Eclipse Java Development Tools Version: 3.1.1 Build id: M20050929-0840 Eclipse Plug-in Development Environment Version: 3.1.1 Build id: M20050929-0840 Eclipse Project SDK Version: 3.1.1 Build id: M20050929-0840 Eclipse startup command=-os win32 -ws win32 -arch x86 -launcher C:\eclipse 3.1.1\eclipse.exe -name Eclipse -showsplash 600 -exitdata e5c_38 -vm C:\WINDOWS\system32\javaw.exe
Regards,
Bruno
Brian FernandesModeratorBruno,
It seems like you’re using a Milestone version of Ecipse 3.1.1, which might be causing some issues.
Could you please download the final version of Eclipse 3.1.1, install that to a new location and setup MyEclipse against that installation.
Do not install any other plugins to avoid conflicts.Best,
Brian.
perretMember@Support-Brian wrote:
Bruno,
It seems like you’re using a Milestone version of Ecipse 3.1.1, which might be causing some issues.
Could you please download the final version of Eclipse 3.1.1, install that to a new location and setup MyEclipse against that installation.
Do not install any other plugins to avoid conflicts.Best,
Brian.Oki I will let you know if the problem is fixed after the reinstallation 🙂
In case of, may you keep the workspaces i have sent you?
Edit: I have forgotten to tell you that we are both using the sysdeo tomcat plugin 😳
Thanks Brian.
perretMember@perret wrote:
@Support-Brian wrote:
Bruno,
It seems like you’re using a Milestone version of Ecipse 3.1.1, which might be causing some issues.
Could you please download the final version of Eclipse 3.1.1, install that to a new location and setup MyEclipse against that installation.
Do not install any other plugins to avoid conflicts.Best,
Brian.Oki I will let you know if the problem is fixed after the reinstallation 🙂
In case of, may you keep the workspaces i have sent you?
Edit: I have forgotten to tell you that we are both using the sysdeo tomcat plugin 😳
Thanks Brian.
Hello Brian,
It’s been a long time 🙂
Have some bad news, after many reinstallation, this is still not working…
May you have a look at my workspaces?
Thanks, have a good day.
Bruno
Brian FernandesModeratorBruno,
I will have a look at your workspace, though I asked only for your config files or your project at most.
Can you please paste your configuration details as you did above so that I can confirm that you now have the *correct* version of Eclipse? I
reiterate that we should be trying Eclipse 3.1.0 or Eclipse 3.1.1 FINAL and ME freshly installed and a new workspace.Thank you for your patience,
Brian.
perretMemberOh, there is one step i forgot to do. Download the stable version of Eclipse, I’ll send you the configuration details 😉
Let me try this before checking my files. (sorry for sending the whole workspace).Thanks a lot
Bruno
perretMemberBrian,
In fact i already had the latest release of eclipse. I am sure this time, it wasn’t a milestone. How can you see it?
The version i have downloaded on http://www.eclipse.org:
Eclipse Build: 3.1.1 Thu, 29 Sep 2005 — 08:40 (-0400)Which version of eclipse do you recommend? 3.1?
Bye
Bruno
Brian FernandesModeratorBruno,
*** Eclipse details: Eclipse SDK Version: 3.1.1 Build id: M20050929-0840
The M in the build ID indicates a milestone build. You can check this value at Help > About Eclipse SDK – I believe the final builds have an I prefix.
Either Ecipse 3.1.0 or 3.1.1 final will do.
Best,
Brian.
perretMember@Support-Brian wrote:
Bruno,
*** Eclipse details: Eclipse SDK Version: 3.1.1 Build id: M20050929-0840
The M in the build ID indicates a milestone build. You can check this value at Help > About Eclipse SDK – I believe the final builds have an I prefix.
Either Ecipse 3.1.0 or 3.1.1 final will do.
Best,
Brian.Thats what i thought but it’s strange… The eclipse website doesn’t indicate that this is a milestone release! See http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.1.1-200509290840/eclipse-SDK-3.1.1-win32.zip
I’ll try the 3.1.0 and let you know. Thanks again for the help!
Bruno
-
AuthorPosts