Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Conflict Handler acceptClient error

Avatar

17-11-2008

When calling the acceptClient method on a conflict I get the error below.



The acceptServer method works just fine - and I am lost...



TypeError: Error #1009: Cannot access a property or method of a null object reference.

at mx.data::ConflictResolver/updateMessageForAcceptClient()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConflictResolver.as:458]

at mx.data::ConflictResolver/acceptClientForPullConflict()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConflictResolver.as:316]

at mx.data::ConflictResolver/acceptClient()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConflictResolver.as:84]

at mx.data::Conflict/acceptClient()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\Conflict.as:239]

at org.arauser.blackbelt.agency.delegates::ContactsDelegate/conflictHandler()[E:\projects\agency\flex_src\org\arauser\blackbelt\agency\delegates\ContactsDelegate.as:36]

at flash.events::EventDispatcher/dispatchEventFunction()

at flash.events::EventDispatcher/dispatchEvent()

at mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchConflictEvent()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\ConcreteDataService.as:2520]

at mx.data::DataStore/http://www.adobe.com/2006/flex/mx/internal::processConflict()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\DataStore.as:2539]

at mx.data::CommitResponder/result()[C:\depot\flex\branches\enterprise_corfu_rc\frameworks\projects\data\src\mx\data\CommitResponder.as:371]

at mx.rpc::AsyncRequest/acknowledge()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:74]

at NetConnectionMessageResponder/resultHandler()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:491]

at mx.messaging::MessageResponder/result()[E:\dev\3.1.0\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:199]