Hi All,
I faced a strange problem just now. Jboss3.0 + win2k + ORACLE9i + SSB +
CMP EB + classes12.zip
I have got a Session Bean which makes a call to an CMP Entity Bean to
Update the record. I pass some java.lang.Double Values
To the Entity Bean from Session Bean. In Session Bean, We convert
BigDecimal Values in Double. If I check for null
And set the value like this:
java.math.BigDecimal obj = issue.getAvgDaysInComposition();
if (obj != null)
{
local.setAvgDaysInComposition( new
Double(obj.doubleValue()));
}
Then it works fine and ejbStore completed successfully.
But, if I code like this:
local.setAvgDaysInRapidEdit( new Double(
issue.getAvgDaysInRapidEdit().doubleValue() ) );
Then ejbStore() does not complete and it HANGS!!!
issue.getAvgDaysInRapidEdit() is null and calling
issue.getAvgDaysInRapidEdit().doubleValue() does not throw any NULL
POINTER but it waits indefinitely.
ANOTHER ISSUE: On Some m/c, even the NULL checked code hangs.
Any idea???
TIA,
Saroj
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user