Yes, please do.  And please indicate your RDBMS.

drew

Darren Kraker wrote:
Thanks Drew for the quick response that did the trick. Should I enter this as an issue in JIRA?

On Oct 22, 2008, at 5:36 PM, Drew Wills wrote:

Darren,

Darren Kraker wrote:
Same error when I tried java 1.5. Any one see anything like this or could perhaps suggest a solution?

Yes, I think we've seen this error once or twice before... it always seems to be at a time when I can't turn any attention to it myself.

Here's the exact expression referenced by your stack trace:

 [import_layout_v3-0.crn:32]
 <parameter value="${groovy(Integer.valueOf(STRUCTURE_STYLESHEET_ID))}"/>

Under the hood, Import/Export in uPortal usually uses the getObject() method on java.sql.ResultSet to pull individual field values from JDBC. The JDBC driver is responsible for instantiating (and returning) an object of the appropriate type to hold that value.

Most RDBMS platforms marshal this value (up_ss_struct.ss_id) as an Integer, but some seem to provide it as a BigDecimal.

I believe you can change that line to this...

 <parameter value="${groovy(STRUCTURE_STYLESHEET_ID.intValue())}"/>

because both Integer and BigDecimal have an intValue() method.

You will likely encounter this issue again, with another field, before you're through.

drew wills


--
Andrew Wills
UNICON, Inc.
Office:  (480) 558-2476
http://cernunnos.googlecode.com/

--
You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev



--
Andrew Wills
UNICON, Inc.
Office:  (480) 558-2476
http://cernunnos.googlecode.com/

--
You are currently subscribed to [email protected] as: [EMAIL 
PROTECTED]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/uportal-dev

Reply via email to