[JBoss JIRA] Created: (JBIDE-3340) java.lang.StackOverflowError when delete value in CSS Class Dialog in width field under Linux and OS X
by Maxim Areshkau (JIRA)
java.lang.StackOverflowError when delete value in CSS Class Dialog in width field under Linux and OS X
------------------------------------------------------------------------------------------------------
Key: JBIDE-3340
URL: https://jira.jboss.org/jira/browse/JBIDE-3340
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.cr1
Environment: OS Linux, OS X
Reporter: Maxim Areshkau
Assignee: Igor Zhukov
Priority: Critical
Fix For: 3.0.0.cr1
extWidthCombo.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent event) {
String width = widthText.getText();
if (width != null && !width.trim().equals(Constants.EMPTY)) {
String tmp = extWidthCombo.getText();
if (tmp != null) {
styleAttributes.addAttribute(CSSConstants.WIDTH, width + tmp);
}
} else {
extWidthCombo.select(0);
return;
}
if (!updateDataFromStyleAttributes) {
notifyListeners();
}
}
});
Error in else block, we in modify listener modify value so it's caused stack overflow.
Also we should remove copy/past code. Code in ModifyListener always equals or almost equals to other modify listeners for combo attributes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (JBIDE-2627) Add "Server Locations" option to JBoss WTP Adapter to prevent JBoss contamination
by Francisco Jose Peredo Noguez (JIRA)
Add "Server Locations" option to JBoss WTP Adapter to prevent JBoss contamination
---------------------------------------------------------------------------------
Key: JBIDE-2627
URL: https://jira.jboss.org/jira/browse/JBIDE-2627
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Affects Versions: 2.1.2
Reporter: Francisco Jose Peredo Noguez
When doing development of serveral independent applications over the JBoss AS, that JBoss AS installation get contaminated by those applications
If I create workspaces1, and inside it I create dynamic webproject 1, and run it on JBoss, then I switch to workspace2, and create dynamic webproject 2, and run it on JBoss, since it is the same JBoss instance, both dynamic webproject 1 and dynamic webproject 2 will start (and there is no way, from inside eclipse to undeploy dynamic webproject 1 unless I go back to workspaces1 and undeploy it.
But, if one is working with Tomcat, there is no problem, applications do not "contaminate" the shared Tomcat, why is that? well the Tomcat WTP Adapter has a configuration option enabled by default under "Server Location", that reads: "Use workspace metadata (does not modify Tomcat installation)". I would like to have an option like that for JBoss AS.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months