Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    NPE -- buildIncludeFromDefinitions

    Hello,
    After the update to the latest version (2010/10/09 (sgwt power)), I get the following Error Message while DS update.

    Code:
     
    === 2010-10-10 00:46:10,917 [l0-4] DEBUG SQLDataSource - [builtinApplication.DSB2BBH_update] update operation affected 1 rows
    === 2010-10-10 00:46:10,917 [l0-4] INFO  SQLDataSource - [builtinApplication.DSB2BBH_update] primaryKeys: {pkid=829}
    === 2010-10-10 00:46:10,917 [l0-4] INFO  SQLDataSource - [builtinApplication.DSB2BBH_update] mainDataBase getLastRow(): using default operationBinding
    === 2010-10-10 00:46:10,917 [l0-4] WARN  RequestContext - dsRequest.execute() failed: 
    java.lang.NullPointerException
    	at com.isomorphic.datasource.DSRequest.buildIncludeFromDefinitions(DSRequest.java:2717)
    	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1307)
    	at com.isomorphic.sql.SQLDataSource.getLastRow(SQLDataSource.java:455)
    	at com.isomorphic.sql.SQLDataSource.SQLExecute(SQLDataSource.java:1370)
    	at com.isomorphic.sql.SQLDataSource.execute(SQLDataSource.java:257)
    	at com.isomorphic.application.AppBase.executeDefaultDSOperation(AppBase.java:721)
    	at com.isomorphic.application.AppBase.executeAppOperation(AppBase.java:658)
    	at com.isomorphic.application.AppBase.execute(AppBase.java:491)
    	at com.isomorphic.datasource.DSRequest.execute(DSRequest.java:1401)
    	at com.isomorphic.servlet.IDACall.handleDSRequest(IDACall.java:173)
    	at com.isomorphic.servlet.IDACall.processRPCTransaction(IDACall.java:130)
    	at com.isomorphic.servlet.IDACall.processRequest(IDACall.java:95)
    	at com.isomorphic.servlet.IDACall.doPost(IDACall.java:54)
    The DSResponse.STATUS_SUCCESS is -1 and in the implementation of "EditFailedHandler" Class I get the following message

    event.getDsResponse().getErrors():
    Code:
     
    Exception occurred: convertToMap - unable to convert JavaScript object passed in to a Mapnull
    BUT, the update is performed successfully.


    DSRequst from Developer Console
    Code:
    {
     "actionURL":"http://127.0.0.1:8888/tt/tttt/sc/IDACall", 
        "showPrompt":true, 
        "transport":"xmlHttpRequest", 
        "promptStyle":"dialog", 
        "bypassCache":true, 
        "data":{
            "criteria":{
                "pkid":829
            }, 
            "values":{
                "pkid":829, 
                "instgagtfininstnidbic":"HYdd2"
            }, 
            "operationConfig":{
                "dataSource":"DSB2BBH", 
                "repo":null, 
                "operationType":"update"
            }, 
            "componentId":"B2B_BH_SCF_isc_OID_3", 
            "appID":"builtinApplication", 
            "operation":"DSB2BBH_update", 
            "oldValues":{
                "fkbhid":864, 
                "bhtyp":"pacs_008", 
                "useridCreator":"test", 
                "ttintrbksttlmamt":280, 
                "ttintrbksttlmamtccy":"EUR", 
                "technicalfieldlastupdate":"2010-10-09T22:43:37", 
                "technicalfieldcreated":"2010-09-16T19:22:31", 
                "credttm":"2010-09-16T19:22:31", 
                "orgnlNbOfTxs":7, 
                "intrbksttlmdt":"2010-09-16", 
                "sttlminfsttlmmtd":"CLRG", 
                "useridLastupdate":"test", 
                "technicalfieldautocreated":false, 
                "bhversion":"2010", 
                "environment":"Test", 
                "technicalfieldtxcounter":7, 
                "pkid":829, 
                 "nboftxs":7
            }
        }
    }
    Response from Developer Console
    Code:
    [
        {
            isDSResponse:true, 
            invalidateCache:false, 
            status:-1, 
            data:null
        }
    ]
    What does this mean? With the build of 09/15/2010 still everything worked.

    Thanks for an answer.
    Cheers,
    Timo

    #2
    This bug was introduced as a side effect of some pretty substantial new functionality that touches a lot of code in this area and is actually still work-in-progress. A fix for the bug has been committed and will be present in tomorrow's nightly.

    Comment

    Working...
    X