Anonymous | Login | Signup for a new account | 12-17-2024 11:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002455 | [Hessian] | major | always | 02-21-08 19:19 | 07-11-08 09:09 | ||||
Reporter | mbergens | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.3 | ||||||
Summary | 0002455: The bug 2024 is still occuring with the version 3.1.3 of Java library and the latest of Flex library | ||||||||
Description |
This bug: http://bugs.caucho.com/bug_view_page.php?bug_id=2024 [^] is still happening by me, running the version 3.1.3 of the java jar downloaded from here: http://hessian.caucho.com/ [^] and the latest snapshot of the Flex library downloaded from the same place. I do this: getUserService = new HessianService("flex"); var asyncToken: AsyncToken = getUserService.getRandomUser.send(); asyncToken.addResponder(this); No error on the java side, the method is called as expected and completes successfully. But on the Flex side, both public function fault(data:Object):void { and public function result(data:Object):void { are called by Hessian, the result gets correct results but the fault gets this error: Error 0001009: Cannot access a property or method of a null object reference. This is actually major issue for me: how in the world do I decide if there is an error or not?? Has the bug 2024 been fixed as it is reported fixed? If it has been fixed, has the change any impact on the Flex code, if it does, has it been fixed on the Java side only? |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Notes | |
(0002792) mbergens 02-21-08 20:27 edited on: 02-22-08 16:25 |
stack traces and error messages: hessian-flash-3.1.2.swc - Error 0001009: Cannot access a property or method of a null object reference. [RPC Fault faultString="Error 0001009: Cannot access a property or method of a null object reference." faultCode="InvokeFailed" faultDetail="null"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\flex_201_borneo\sdk\frameworks\mx\rpc\AbstractInvoker.as:236] [^] at hessian.client::HessianOperation/send()[/home/emil/code/resin/modules/flash/src/hessian/client/HessianOperation.as:116] with the snap for flex: Key producerSendError was not found in resource bundle messaging [RPC Fault faultString="Key producerSendError was not found in resource bundle messaging" faultCode="InvokeFailed" faultDetail="null"] at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::invoke()[E:\dev\flex_201_borneo\sdk\frameworks\mx\rpc\AbstractInvoker.as:236] [^] at hessian.client::HessianOperation/send()[/home/emil/code/resin/modules/flash/src/hessian/client/HessianOperation.as:132] |
(0002945) bdespres 04-07-08 13:04 |
This seems to be the same root problem as bug 0002511 [http://bugs.caucho.com/view.php?id=2511] [^] It looks like HessianOperation.send() is making a call to mx_internal::invoke() that it shouldn't be making. The following change fixes the problem for me (against both Flex 2.0.1 and Flex 3): *************** *** 129,135 **** msg.headers = new Object(); msg.headers.DSMessageStore = new Object(); ! var token:AsyncToken = mx_internal::invoke(msg); var stream:URLStream = new URLStream(); _tokens[stream] = token; --- 129,135 ---- msg.headers = new Object(); msg.headers.DSMessageStore = new Object(); ! var token:AsyncToken = new AsyncToken(msg); var stream:URLStream = new URLStream(); _tokens[stream] = token; |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
37 total queries executed. 31 unique queries executed. |