- This topic has 6 replies, 3 voices, and was last updated 21 years, 1 month ago by
Riyad Kalla.
-
AuthorPosts
-
ced_vranckxMember– System Setup ——————————-
Operating System and version: Win XP Pro
Eclipse version: 2.1.2
Eclipse build id: 200311030802
Fresh Eclipse install (y/n): n and y
If not, was it upgraded to its current version using the update manager? no, never, always uninstall/install
Other installed external plugins: none
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
MyEclipse version: 2.7 GA
Eclipse JDK version: 1.4.2
Application Server JDK version: 1.4.2
Are there any exceptions in the Eclipse log file?– Message Body ——————————-
Hello,
I’ve just installed the latest version (2.7 GA) with eclipse 2.1.2 (old and fresh install does the same), and I got the following problem.
We’ve got a web application which has several struts config file (improvement in 2.7 GA to open other struts files other than struts-config is great!), and opening one of them is making the struts editor freezing and eclipse working at 100% of proc without end 🙁 . This is very annoying, since the wizard tries to open the editor at the end of generation of action and form….
Is there any problem with the flow view maybe?
Ced
Riyad KallaMemberCed,
Can you check your log file (<eclipse install>\workspace\.metadata\.log) and copy out the last two entries starting with !SESSION———– for us into a message here? Also, if the file that is causing Eclipse to crash isn’t too long, can you copy-paste that here as well?
ced_vranckxMemberhere is the struts that causes the problem:
<?xml version=”1.0″ encoding=”UTF-8″?>
<!DOCTYPE struts-config PUBLIC “-//Apache Software Foundation//DTD Struts Configuration 1.1//EN” “http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd”>
<!–
This is the Struts configuration file for the “EurekaWeb” application
–>
<struts-config>
<data-sources />
<!– ======== Form Bean Definitions ================================== –>
<form-beans>
<!– Login form bean –>
<form-bean name=”eurekaLogin” type=”be.eureka.beans.EurekaLogin” />
<form-bean name=”loginForm” type=”be.eureka.web.forms.session.LoginForm” />
<!– blank form bean –>
<form-bean name=”blankForm” type=”be.eureka.web.forms.BlankForm” />
<form-bean name=”projectNews” type=”java.util.Collection” />
<form-bean name=”annexList” type=”be.eureka.web.forms.projects.CheckListForm” />
<form-bean name=”projectCommentForm” type=”be.eureka.web.forms.projects.ProjectCommentForm” />
<form-bean name=”linkToFolderForm” type=”be.eureka.web.forms.uploader.LinkToFolderForm” />
<form-bean name=”searchForm” type=”be.eureka.web.forms.searchers.SearchForm” />
<form-bean name=”projectForm” type=”be.eureka.dto.EurekaProject” />
<form-bean name=”projectList” type=”be.eureka.web.forms.projects.ProjectListForm” />
<form-bean name=”projectSearchForm” type=”be.eureka.web.forms.projects.ProjectSearchForm” />
<form-bean name=”projectAdminForm” type=”be.eureka.web.forms.projects.ProjectAdminForm” />
<form-bean name=”pamProjectForm” type=”be.eureka.web.forms.pam.PamProjectForm” />
<form-bean name=”publishForm” type=”be.eureka.web.forms.pam.PamProjectForm” />
<form-bean name=”pamMemberForm” type=”be.eureka.web.forms.pam.PamMemberForm” />
<form-bean name=”epcMemberForm” type=”be.eureka.web.forms.epc.EpcMemberForm” />
<form-bean name=”epcMemberReasonForm” type=”be.eureka.web.forms.epc.EpcMemberReasonForm” />
<form-bean name=”epcProjectForm” type=”be.eureka.web.forms.epc.EpcProjectForm” />
<form-bean name=”epcProjectReasonForm” type=”be.eureka.web.forms.epc.EpcProjectReasonForm” />
<form-bean name=”eurekaSecurityForm” type=”be.eureka.web.forms.security.EurekaSecurityForm” />
<form-bean name=”browseEurekaImage” type=”be.eureka.web.forms.searchers.BrowseImageForm”>
<form-property name=”projectType” type=”boolean” initial=”false” />
<form-property name=”eventKeyword” type=”java.lang.String” />
<form-property name=”areas” type=”Long []” />
<form-property name=”generalKeyword” type=”java.lang.String” />
<form-property name=”otherType” type=”boolean” initial=”false” />
<form-property name=”projectKeyword” type=”java.lang.String” />
<form-property name=”eventType” type=”boolean” initial=”false” />
</form-bean>
<form-bean name=”contactSearchForm” type=”be.eureka.web.forms.contact.ContactSearchForm” />
<form-bean name=”contactListForm” type=”be.eureka.web.forms.contact.ContactListForm” />
<form-bean name=”organisationDetailsForm” type=”be.eureka.web.forms.contact.OrganisationDetailsForm” />
<form-bean name=”contactForm” type=”be.eureka.web.forms.contact.ContactForm” />
<form-bean name=”passwordChangeForm” type=”be.eureka.web.forms.contact.PasswordChangeForm”>
<form-property name=”passwd” type=”java.lang.String” />
<form-property name=”passwdConfirm” type=”java.lang.String” />
</form-bean>
<form-bean name=”fundingForm” type=”be.eureka.web.forms.funding.FundingForm” />
<form-bean name=”finalReportForm” type=”be.eureka.web.forms.finalReport.FinalReportForm” />
<!–ifs-document-forms–>
<form-bean name=”eurekaAgendaForm” type=”be.eureka.web.forms.uploader.EurekaAgendaForm” />
<!–/ifs-document-forms–>
</form-beans>
<global-exceptions />
<global-forwards>
<forward name=”projectsHome” path=”.projects.info” />
<!– depreciated, there is no reason to put global for it use failure at all time –>
<forward name=”globalfailure” path=”/npc/error.jsp” />
<forward name=”failure” path=”/npc/error.jsp” redirect=”true” />
<forward name=”login” path=”.restricted.login” />
<forward name=”projectInfo” path=”.project.general” />
</global-forwards>
<!– ========== Action Mapping Definitions ============================== –>
<action-mappings>
<!– Restricted site–>
<action path=”/imageLibrary” forward=”/BrowseImageAction.do” />
<action path=”/home” forward=”/projects.do” />
<action path=”/projects” forward=”/AcProjectsInfo.do” />
<action path=”/profile” forward=”/ProfileUpdateInit.do” />
<action path=”/projectInfo” forward=”.project.general” />
<action path=”/projectOutline” forward=”.project.outline” />
<action path=”/projectMainContact” forward=”.project.maincontact” />
<action path=”/projectParticipants” forward=”.project.participants” />
<action path=”/projectPAM” forward=”/AcPamProjectFind.do” />
<action path=”/projectEPC” forward=”/AcEpcProjectFind.do” />
<action path=”/projectComments” forward=”/AcProjectComments.do” />
<action path=”/contact” forward=”/contactSearch.do” />
<action
path=”/AcLogout”
type=”be.eureka.web.actions.session.LogoutAction”
validate=”false”>
<forward name=”success” path=”.restricted.login”/>
</action>
<!– FinalReport–>
<action
name=”finalReportForm”
path=”/finalReport”
type=”be.eureka.web.actions.finalReport.FinalReportInitAction”
validate=”false”>
<forward name=”view” path=”.restricted.finalReport.view”/>
<forward name=”update” path=”.restricted.finalReport.update”/>
</action>
<action
name=”finalReportForm”
path=”/finalReportUpdate”
input=”.restricted.finalReport.update”
type=”be.eureka.web.actions.finalReport.FinalReportUpdateAction”
validate=”false”>
<forward name=”success” path=”.restricted.finalReport.view”/>
</action><!– Fundings –>
<action
name=”fundingForm”
path=”/fundingList”
type=”be.eureka.web.actions.funding.FundingAction”
validate=”false”>
<forward name=”success” path=”.restricted.funding.list”/>
</action>
<action
path=”/fundingDetails”
type=”be.eureka.web.actions.funding.FundingDetailsAction”
validate=”false” >
<forward name=”success” path=”.restricted.funding.detail”/>
</action>
<action
attribute=”fundingForm”
input=”.restricted.funding.detail”
name=”fundingForm”
path=”/fundingUpdateInit”
type=”be.eureka.web.actions.funding.FundingUpdateInitAction”
validate=”false”>
<forward
name=”success”
path=”.restricted.funding.update”
contextRelative=”true” />
</action>
<action
input=”.restricted.funding.update”
attribute=”fundingForm”
name=”fundingForm”
path=”/fundingUpdate”
type=”be.eureka.web.actions.funding.FundingUpdateAction”
validate=”true”
scope=”session”>
<forward name=”success” path=”/fundingDetails.do” />
<forward name=”cancel” path=”/fundingList.do” />
</action>
<!– End Fundings –><!– Projects Info –>
<action path=”/AcProjectAnnexes” type=”be.eureka.web.actions.projects.AnnexesInitAction” name=”annexList” scope=”session” validate=”false”>
<forward name=”form” path=”.projects.checklists” />
</action><action path=”/AcProjectAnnexesResults” type=”be.eureka.web.actions.projects.AnnexesDisplayAction” name=”annexList” scope=”session” validate=”false”>
<forward name=”renderAnnexes” path=”/AcProjectAnnexes” />
</action><action path=”/AcProjectComments” type=”be.eureka.web.actions.projects.ProjectCommentsAction” name=”projectCommentForm” validate=”false”>
<forward name=”success” path=”.project.comment” />
</action>
<action path=”/AcAddProjectComment” input=”.project.comment” type=”be.eureka.web.actions.projects.AddProjectCommentAction” name=”projectCommentForm” validate=”true”>
<forward name=”success” path=”/AcProjectComments.do” />
</action>
<action path=”/AcSwitchSearcher” type=”be.eureka.web.actions.projects.SwitchSearcherAction” validate=”false”>
<forward name=”success” path=”/projects.do” />
</action>
<action path=”/AcProjectsInfo” scope=”request” type=”be.eureka.web.actions.projects.ProjectsInfoAction” validate=”false”>
<forward name=”success” path=”.projects.info” />
</action>
<!– Contact –>
<!– contact list purpose –>
<action
path=”/contactList” scope=”request” type=”be.eureka.web.actions.RedirectAction” validate=”false”>
<forward name=”go” path=”/servlet/contactList”/>
</action>
<action
path=”/contactSearch” scope=”request” type=”be.eureka.web.actions.RedirectAction” validate=”false”>
<forward name=”go” path=”.contact.list”/>
</action>
<action path=”/AcFindContact” scope=”request” name=”contactSearchForm” input=”/contactSearch.jsp” type=”be.eureka.web.actions.contact.ContactSearchAction” validate=”true”>
<forward name=”success” path=”/AcContactDetails.do” />
<forward name=”list” path=”.contact.list” />
</action>
<action input=”.contact.manager” path=”/AcUpdateContact” name=”contactForm” scope=”session” type=”be.eureka.web.actions.contact.ContactUpdateAction” validate=”true”>
<forward name=”success” path=”.contact.list” />
</action>
<action attribute=”contactSearchForm” name=”contactSearchForm” scope=”session” path=”/AcContactDetails” type=”be.eureka.web.actions.contact.ContactDetailAction”>
<forward name=”view” path=”.contact.detail” />
<forward name=”manager” path=”.contact.manager” />
</action>
<action
path=”/AcAddOrganisationInit”
type=”be.eureka.web.actions.contact.OrganisationAddInitAction”>
<forward
name=”success”
path=”/orgtype.jsp”
contextRelative=”true” />
</action>
<action
attribute=”organisationDetailsForm”
name=”organisationDetailsForm”
path=”/AcAddOrganisation”
type=”be.eureka.web.actions.contact.OrganisationAddAction” >
<forward
name=”success”
path=”.contact.orgdetail”
contextRelative=”true” />
</action>
<action
attribute=”organisationDetailsForm”
name=”organisationDetailsForm”
path=”/AcOrgContactUpdate”
type=”be.eureka.web.actions.contact.OrganisationContactUpdateAction”
validate=”false”>
<forward name=”success” path=”/profile.do” />
</action>
<action
path=”/AcUpdateOrgContactInit”
name=”organisationDetailsForm”
type=”be.eureka.web.actions.contact.UpdateOrgContactInitAction”
validate=”false”>
<forward name=”success” path=”.restricted.profile.organisation” />
</action>
<action
path=”/AcDeleteOrganisation”
name=”organisationDetailsForm”
type=”be.eureka.web.actions.contact.DeleteOrganisationContactAction”
validate=”false”>
<forward name=”success” path=”/contactSearch.jsp” />
</action>
<action
name=”organisationDetailsForm”
path=”/ProfileUpdateInit”
type=”be.eureka.web.actions.contact.ProfileUpdateInitAction”
validate=”false”>
<forward
name=”success”
path=”.restricted.profile”
contextRelative=”true” />
<forward
name=”failure”
path=”/error.jsp”
redirect=”true” />
</action>
<action
name=”passwordChangeForm”
path=”/passwordChangeInit”
type=”be.eureka.web.actions.RedirectAction”
validate=”false”>
<forward name=”go” path=”.restricted.password” />
</action>
<action
attribute=”passwordChangeForm”
input=”.restricted.password”
name=”passwordChangeForm”
path=”/passwordChange”
type=”be.eureka.web.actions.contact.PasswordChangeAction”
validate=”true”>
<forward name=”success” path=”.restricted.profile” />
</action>
<action
attribute=”organisationDetailsForm”
name=”organisationDetailsForm”
input=”.restricted.profile”
path=”/ProfileUpdateAction”
type=”be.eureka.web.actions.contact.ProfileUpdateAction”
validate=”true”>
<forward name=”success” path=”/ProfileUpdateInit.do” />
</action>
<action
name=”contactListForm”
parameter=”memId”
path=”/contactListChangeInit”
type=”be.eureka.web.actions.contact.ContactListChangeActionInit”>
<forward
name=”success”
path=”/contactListChange.jsp”
contextRelative=”true”/>
</action>
<action
attribute=”contactListForm”
name=”contactListForm”
input=”contactListChange.jsp”
path=”/ContactListChangeAction”
type=”be.eureka.web.actions.contact.ContactListChangeAction”
validate=”false”>
<forward name=”success” path=”/contactSearch.jsp” />
</action>
<action
attribute=”contactListForm”
input=”contactListChange.jsp”
name=”contactListForm”
path=”/ContactListInsDummyAction”
type=”be.eureka.web.actions.contact.ContactListInsDummyAction”
validate=”false”>
<forward name=”success” path=”/contactListChange.jsp” />
</action>
<action
attribute=”contactSearchForm”
name=”contactSearchForm”
path=”/AcSearchContactInit”
scope=”session”
type=”be.eureka.web.actions.RedirectAction”
validate=”false”>
<forward name=”go” path=”.contact.list” contextRelative=”true”/>
</action>
<!– /Contacts –><!– Pam –>
<action path=”/AcPamProjectFind” input=”.project.pam.main.update” name=”pamProjectForm” scope=”session”
type=”be.eureka.web.actions.pam.PamProjectFindAction” validate=”false”>
<forward name=”update” path=”.project.pam.main.update.page1″ />
<forward name=”lightDisplay” path=”.project.pam.main.display.light” />
</action>
<action path=”/AcPamMemberFind” name=”pamMemberForm” scope=”session” type=”be.eureka.web.actions.pam.PamMemberFindAction” validate=”false”>
<forward name=”update” path=”.project.pam.member.update” />
<forward name=”display” path=”.project.pam.member.display” />
<forward name=”projectPam” path=”/AcPamProjectFind.do” />
</action>
<action path=”/AcPamMemberUpdate” input=”.project.pam.member.update” name=”pamMemberForm” scope=”session” type=”be.eureka.web.actions.pam.PamMemberUpdateAction” validate=”true”>
<forward name=”page1″ path=”.project.pam.member.update.page1″ />
<forward name=”page2″ path=”.project.pam.member.update.page2″ />
<forward name=”page3″ path=”.project.pam.member.update.page3″ />
<forward name=”page4″ path=”.project.pam.member.update.page4″ />
</action>
<action path=”/AcPamProjectUpdate” input=”.project.pam.main.update” name=”pamProjectForm” scope=”session” type=”be.eureka.web.actions.pam.PamProjectUpdateAction” validate=”false”>
<forward name=”AcPamProjectFind” path=”/AcPamProjectFind.do” />
<forward name=”Page1″ path=”.project.pam.main.update.page1″ />
<forward name=”Page2″ path=”.project.pam.main.update.page2″ />
<forward name=”Page3″ path=”.project.pam.main.update.page3″ />
<forward name=”Page4″ path=”.project.pam.main.update.page4″ />
<forward name=”Page5″ path=”.project.pam.main.update.page5″ />
<forward name=”Page6″ path=”.project.pam.main.update.page6″ />
<forward name=”Page7″ path=”.project.pam.main.update.page7″ />
<forward name=”Page8″ path=”.project.pam.main.update.page8″ />
<forward name=”Page9″ path=”.project.pam.main.update.page9″ />
<forward name=”Page10″ path=”.project.pam.main.update.page10″ />
</action>
<action path=”/AcPamProjectPublish” input=”.project.pam.main.update” name=”publishForm” scope=”session” type=”be.eureka.web.actions.pam.PamProjectPublishAction” validate=”true”>
<forward name=”AcPamProjectFind” path=”/AcPamProjectFind.do” />
</action><!– Epc –>
<action path=”/AcEpcMemberFind” name=”epcMemberForm” scope=”request” type=”be.eureka.web.actions.epc.EpcMemberFindAction” validate=”false”>
<forward name=”update” path=”.project.epc.member.update” />
<forward name=”display” path=”.project.epc.member.display” />
</action>
<action path=”/AcEpcMemberUpdate” input=”.project.epc.member.update” name=”epcMemberForm” scope=”session” type=”be.eureka.web.actions.epc.EpcMemberUpdateAction” validate=”true”>
<forward name=”AcEpcMemberFind” path=”.project.epc.member.update” />
</action>
<action path=”/AcEpcProjectFind” input=”.project.epc.main.update” name=”epcProjectForm” scope=”request” type=”be.eureka.web.actions.epc.EpcProjectFindAction” validate=”false”>
<forward name=”update” path=”.project.epc.main.update” />
<forward name=”lightDisplay” path=”.project.epc.main.display.light” />
<forward name=”fullDisplay” path=”.project.epc.main.display.full” />
</action>
<action path=”/AcEpcProjectUpdate” input=”.project.epc.main.update” name=”epcProjectForm” scope=”session” type=”be.eureka.web.actions.epc.EpcProjectUpdateAction” validate=”true”>
<forward name=”AcEpcProjectFind” path=”/AcEpcProjectFind.do” />
</action>
<!– Project –>
<action path=”/AcSearchProject” input=”/projectSearch.jsp” name=”projectSearchForm” scope=”request” type=”be.eureka.web.actions.projects.SearchProjectAction” validate=”false”>
<forward name=”list” path=”.projects.search.results” />
<forward name=”form” path=”/AcShowProject.do” />
</action>
<action path=”/AcShowProject” input=”/showProject.jsp” name=”projectSearchForm” scope=”request” type=”be.eureka.web.actions.projects.ShowProjectAction” validate=”false”>
<forward name=”general” path=”.project.general” />
<forward name=”admin” path=”/AcProjectAdminInit.do” />
<forward name=”failure” path=”.projects.info” />
</action>
<action path=”/AcProjectAdminInit” input=”.project.admin” name=”projectAdminForm” scope=”request” type=”be.eureka.web.actions.projects.ProjectAdminInfoAction” validate=”false”>
<forward name=”general” path=”.project.general” />
<forward name=”adminPC” path=”.project.admin.PC” />
<forward name=”adminAEF” path=”.project.admin.AEF” />
<forward name=”failure” path=”.projects.info” />
</action>
<action path=”/AcProjectAdminUpdate” input=”.project.admin” name=”projectAdminForm” scope=”request” type=”be.eureka.web.actions.projects.ProjectAdminUpdateAction” validate=”true”>
<forward name=”form” path=”/AcShowProject.do” />
</action><!– FileSystem –>
<action path=”/init” type=”be.eureka.web.actions.session.InitAction”>
<forward name=”success” path=”/projects.do” />
</action>
<action path=”/index” type=”be.eureka.web.actions.RedirectAction”>
<forward name=”go” path=”.restricted.login” />
</action>
<action path=”/AcLogin” input=”.restricted.login” name=”loginForm” scope=”request” type=”be.eureka.web.actions.session.LoginAction” validate=”true”>
<forward name=”success” path=”/projects.do” />
<forward name=”failure” path=”/AcLogin.do” />
</action>
<!–eureka-agenda-actions–>
<action path=”/eurekaOfficialDocuments” type=”be.eureka.web.actions.uploader.EurekaAgendaGetAction” validate=”false” name=”eurekaAgendaForm”>
<forward name=”success” path=”.officalDocuments.detail”/>
</action>
<action path=”/eurekaFindOfficialDocuments” type=”be.eureka.web.actions.uploader.EurekaAgendaFindAction” validate=”false” name=”eurekaAgendaForm”>
<forward name=”success” path=”.officalDocuments.detail”/>
<forward name=”failure” path=”.officalDocuments.search”/>
</action>
<action path=”/eurekaChangePageOfficialDocuments” type=”be.eureka.web.actions.RedirectAction” validate=”false” name=”eurekaAgendaForm”>
<forward name=”go” path=”.officalDocuments.search”/>
</action>
<!–/eureka-agenda-actions–>
<action path=”/AcDeleteUserWeb” attribute=”contactSearchForm” name=”contactSearchForm” type=”be.eureka.web.actions.contact.ContactDeleteInitAction”>
<forward name=”success” path=”/deleteUser.jsp” contextRelative=”true” />
</action>
<action path=”/AcDeleteUser” parameter=”ifsuserid” type=”be.eureka.web.actions.contact.DeleteUserIFS” validate=”false”>
<forward name=”success” path=”/AcDeleteUserWeb.do” />
</action>
</action-mappings>
<controller />
<!– ========== Message Resources Definitions =========================== –>
<message-resources parameter=”ApplicationResources” />
<plug-in className=”org.apache.struts.tiles.TilesPlugin”>
<set-property property=”definitions-config” value=”/WEB-INF/tiles-config/npc/general-tiles.xml,/WEB-INF/tiles-config/npc/epc-tiles.xml,/WEB-INF/tiles-config/npc/contact-tiles.xml,/WEB-INF/tiles-config/npc/projects-tiles.xml,/WEB-INF/tiles-config/npc/officalDocuments-tiles.xml,/WEB-INF/tiles-config/npc/funding-tiles.xml,/WEB-INF/tiles-config/npc/pam-tiles.xml,/WEB-INF/tiles-config/npc/finalReport-tiles.xml”/>
<set-property property=”moduleAware” value=”true” />
</plug-in>
<plug-in className=”be.eureka.web.plugins.DateConverterPlugIn”>
<set-property property=”dateFormat” value=”dd/MM/yyyy” />
</plug-in>
</struts-config>and the log message:
!SESSION Mar 09, 2004 11:00:34.55 ———————————————-
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:C:/eclipse-SDK-2.1.2-win32/eclipse/
!ENTRY org.eclipse.team.cvs.core 2 -21 Mar 09, 2004 11:00:34.55
!MESSAGE Host ‘davinci.eureka.be’ is running CVS NT (version 2.0.34) which is not fully supported. However, most functionality is available.
Riyad KallaMemberCed,
Thank you for the post, I was able to reproduce this immediately. We’ll look into it ASAP.
support-michaelKeymasterDefinitely a repeatable problem. I’m betting there is a cycle in the resulting graph and our “new” llayout algorithm is running away in an infinite loop. I PR’ed this and we will research further.
ced_vranckxMemberHi,
only to say that I’ve found what gives that problem, and I must admit that it is because of “wrong” development (one action is forwarded to itself in case of error).
This forward was useless, so I remove it and then it works fine.Thanks for the time you spent looking for the bug…. 🙂
Riyad KallaMemberCed,
Thank you for closing the loop for us, I’ll update the devs but we’ll try and get a fix in for loops just so this doesn’t happen with other people. Maybe we can mark a cycle in red or something… -
AuthorPosts