diego7 / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

envelope headerOut. headerIn function will crash on platform of hTC M8 with lollipop version #205

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.When use envelope.headerIn or envelope.headerOut will cause crash

What is the expected output? What do you see instead?
1.expected correct header in and header out.
2.no instance field headerIn....
  no instance field headerOut...

What version of the product are you using? On what operating system?
HTC M8 with lollipop build version 21

Please provide any additional information below.
I think it may be problem of htc M8 lollipop only, but it's weird, just to make 
sure.

Original issue reported on code.google.com by joeyLai...@gmail.com on 28 Jan 2015 at 7:34

GoogleCodeExporter commented 8 years ago
There is no way to determine whats going on from this issue. You need to debug 
this yourself .. and if it happens only on that device and not others .. its 
not a ksoap problem most likely.

Original comment by mosa...@gmail.com on 29 Jan 2015 at 12:21

GoogleCodeExporter commented 8 years ago
I encountered the same problem, too.
This problem seems like there is a class with the same name 
"SoapSerializationEnvelope" in M8 framework and the class in M8 is referenced 
first.
After trying to change the class name in ksoap2, this problem seems like to be 
solved.
Unfortunately, there is another problem occurred after changing the class name.
The error log says:
java.lang.IllegalAccessError: Illegal class access: 
'org.ksoap2.serialization.SoapSerializationEnvelop' attempting to access 
'org.ksoap2.serialization.DM'

Does anyone know what is going on?

Original comment by andrewha...@gmail.com on 30 Jan 2015 at 2:45

GoogleCodeExporter commented 8 years ago
Ahh.. they might have added ksoap2 android in their firmware.. that would 
explain it. Not sure that is anything you can do beyond shading the whole 
ksoap2-android package you use and any dependencies into your own namespace. A 
rather huge undertaking.. 

Original comment by mosa...@gmail.com on 30 Jan 2015 at 6:04

GoogleCodeExporter commented 8 years ago
OK. I got it. Thanks for help.

Original comment by andrewha...@gmail.com on 2 Feb 2015 at 3:22

GoogleCodeExporter commented 8 years ago
thanks for help.

Original comment by joeyLai...@gmail.com on 2 Feb 2015 at 5:20

GoogleCodeExporter commented 8 years ago
Hello, we seem to a similar problem. We access a .net Webservice with our app 
using koap2 since years without any problems, but on a HTC M8 with lollipop all 
webservice parameters are received as "null" or "0". 

What did you do to fix it ? Thanks for any help. 

Original comment by reinhard...@gmail.com on 4 Feb 2015 at 1:04

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please check my temporary solution: 
http://stackoverflow.com/questions/28339539/app-crash-on-lollipop-for-web-servic
e-call-htc/28370875#28370875

Original comment by muzaffer...@gmail.com on 6 Feb 2015 at 5:02

GoogleCodeExporter commented 8 years ago
Thanks, your solution works 100 %,and it's a proof that HTC has added ksoap2 to 
their framework. Thanks again.

Original comment by reinhard...@gmail.com on 9 Feb 2015 at 4:12

GoogleCodeExporter commented 8 years ago
I am also having this issue.. as per analytic Im getting NoSuchMethodException 
on call() method of Transport.

I'm using ksoap2-3.3.3 

Original comment by vdkhakhk...@gmail.com on 11 Feb 2015 at 12:56