DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28438>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28438 java.lang.OutOfMemoryError in BetWixt Summary: java.lang.OutOfMemoryError in BetWixt Product: Commons Version: 1.0 Alpha Platform: PC OS/Version: Windows XP Status: NEW Severity: Blocker Priority: Other Component: Betwixt AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] BetWixt has java.lang.OutOfMemoryError issue when registry two linked classes. There is the scenario: There are two classes LookupHeader and LookupLine. LookupHeader has a list to hold LookupLine. LookupLine has two methods to set and get LookupHeader. The run time error message is: java.lang.OutOfMemoryError Exception in thread "main" Please help to solve this bug. Here is the sample Java code: import java.util.ArrayList; import java.util.List; public class LookupHeader { protected String lookupTypeKey; protected List lookupValueList; public String getLookupTypeKey() { return lookupTypeKey; } public void setLookupTypeKey(String key) { this.lookupTypeKey = key; } public List getLookupValues() { return lookupValueList; } public void addLookupValue(LookupLine line) { if (lookupValueList == null) { lookupValueList = new ArrayList(); } lookupValueList.add(line); } } public class LookupLine { protected Long lookupValueId; protected LookupHeader lookupHeader; public Long getLookupValueId() { return lookupValueId; } public void setLookupValueId(Long value) { this.lookupValueId = value; } public LookupHeader getLookupHeader() { return lookupHeader; } public void setLookupHeader(LookupHeader header) { this.lookupHeader = header; } } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
