To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=20067


User bc changed the following:

                  What    |Old value                 |New value
================================================================================
               Assigned to|bc                        |tl
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Feb  7 06:27:42 -0800 
2005 -------
BC: On my behalf I added the following code. After retrieving the double value
of the column I have a chance to subsequently query if the value was null, If
yes I return void:

DblValue = new Double(xResultSetRow.getDouble(ColIndex) + (double)
super.getNullDateCorrection());
if (xResultSetRow.wasNull())
        return Any.VOID;
else
        return DblValue;

However the method  setDataArray from the interface XCellRangeData returns a
Runtime Exception, when a field of the Array has the value 'Any.Void', or 'null'
or '"

XCellRangeData xDataArray = (XCellRangeData)
UnoRuntime.queryInterface(XCellRangeData.class, xNewRange);
                                        xDataArray.setDataArray(datalist);



com.sun.star.uno.RuntimeException: 
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown 
Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at
com.sun.star.lib.uno.protocols.urp.Unmarshal.readExceptionValue(Unmarshal.java:464)
        at 
com.sun.star.lib.uno.protocols.urp.Unmarshal.readAnyValue(Unmarshal.java:400)
        at 
com.sun.star.lib.uno.protocols.urp.Unmarshal.readValue(Unmarshal.java:208)
        at com.sun.star.lib.uno.protocols.urp.urp.readReply(urp.java:190)
        at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:312)
        at com.sun.star.lib.uno.protocols.urp.urp.readMessage(urp.java:624)
        at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.invoke(java_remote_bridge.java:185)
        at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge$MessageDispatcher.run(java_remote_bridge.java:170)


BC->TL: As we discussed->toyou

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to