Anonymous | Login | Signup for a new account | 11-21-2024 16:04 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 | |||||||
0004306 | [Hessian] | minor | always | 11-29-10 10:58 | 11-29-10 10:58 | |||||||
Reporter | ferg | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | ||||||||||
Summary | 0004306: EnumSet with null deserialization | |||||||||||
Description |
(rep by skoppolu) Getting below error message when calling service from hessian client proxy. Service invoking the object which having EnumSet references. But checked whether referring enumset having null references or not, through java test methods to call same service and getting results as expected, and found enumset having values and there is no null references . But through hessian service getting below error message. com.caucho.hessian.client.HessianRuntimeException: com.caucho.hessian.io.HessianFieldException: com.macys.platform.providers.promotion.PromotionBO .promotionSource: java.util.EnumSet cannot be assigned from null at com.caucho.hessian.client.HessianProxy.invoke(Hess ianProxy.java:232) at $Proxy9.getPromotionHistory(Unknown Source) at com.macys.platform.providers.promotion.service.Pro motionServiceComponentMgrTest.testGetPromotionHist oryByHessianEndPoint(PromotionServiceComponentMgrT est.java:959) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.junit.runners.model.FrameworkMethod$1.runRefle ctiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallabl e.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExpl osively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod .evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.e valuate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.ev aluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgn ored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild( BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild( BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner. java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRu nner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentR unner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRu nner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRu nner.java:184) at org.junit.internal.runners.statements.RunBefores.e valuate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.ev aluate(RunAfters.java:31) at org.junit.runners.ParentRunner.run(ParentRunner.ja va:236) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestR eference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecutio n.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRu nner.main(RemoteTestRunner.java:196) Caused by: com.caucho.hessian.io.HessianFieldException: com.macys.platform.providers.promotion.PromotionBO .promotionSource: java.util.EnumSet cannot be assigned from null at com.caucho.hessian.io.JavaDeserializer.logDeserial izeError(JavaDeserializer.java:596) at com.caucho.hessian.io.JavaDeserializer$ObjectField Deserializer.deserialize(JavaDeserializer.java:391 ) at com.caucho.hessian.io.JavaDeserializer.readObject( JavaDeserializer.java:233) at com.caucho.hessian.io.JavaDeserializer.readObject( JavaDeserializer.java:157) at com.caucho.hessian.io.Hessian2Input.readObjectInst ance(Hessian2Input.java:2051) at com.caucho.hessian.io.Hessian2Input.readObject(Hes sian2Input.java:1692) at com.caucho.hessian.io.Hessian2Input.readObject(Hes sian2Input.java:1679) at com.caucho.hessian.client.HessianProxy.invoke(Hess ianProxy.java:220) ... 29 more Caused by: java.lang.UnsupportedOperationException: com.caucho.hessian.io.CollectionDeserializer@feecc a at com.caucho.hessian.io.AbstractDeserializer.readObj ect(AbstractDeserializer.java:103) at com.caucho.hessian.io.Hessian2Input.readObjectInst ance(Hessian2Input.java:2051) at com.caucho.hessian.io.Hessian2Input.readObject(Hes sian2Input.java:1692) at com.caucho.hessian.io.Hessian2Input.readObject(Hes sian2Input.java:1679) at com.caucho.hessian.io.JavaDeserializer$ObjectField Deserializer.deserialize(JavaDeserializer.java:387 ) ... 35 more Edit/Delete Message |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
26 total queries executed. 24 unique queries executed. |