PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Internal error of WDJava framework:
Internal error of WDJava framework:
Débuté par Rogelio, 28 mar. 2018 03:10 - 2 réponses
Posté le 28 mars 2018 - 03:10
Hello there, am using the express version ofe the winmobile 22 platform for testing and posibly purchasing the product.
we have created a WCF .NET soap service that is working perfectly with any other client we have used. and it also works fine with Windev 100% on the Local Machine using the Emulator. but as soon as you put the application for testing on an android physical device you get the following error:

"Internal Error of WDJava framework. : Attempt to invoke virtual method 'Java.Util.Iterator java.util.LinkedList.Iterator' on a null object reference.

Now something i want to make really clear is that i comented ALL THE CODE, and just left the declaration of the Werservice object like so:

Login is MobileLogin
LoginResp is MobileLogin_RESP

That is it !!, just by declaring that when the APK is installed on a physical device then it gets that error, the weird thing is that on the local machine everything goes fine !! you can call the service and everything works 100% fine. That error ONLY comes when you install the app on physical hardware. I have available the WSDL url is someone from PC SOFT would like to test why is this happening.

By the way just the 2 lines above cause the Crash and the error if you deploy any app declaring the webservice objects like that

Thanks
Posté le 28 mars 2018 - 13:18
Hi Rogelio,

this is the USER forum

If you want help from pcsoft, you need to contact them using the
"Request to technical support" option of the help menu.

As for your problem. I have never encountered the same one BUT when
something is working in the simulator and not on the hardware, it's most
often an ANSI/UNICODE issue, as discussed here:

http://fabriceharari.com/UK/Page_Article.awp…


Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.

More information on http://www.fabriceharari.com


Le 3/27/2018 à 7:10 PM, Rogelio a écrit :
Hello there,  am using the express version ofe the winmobile 22 platform
for testing and posibly purchasing the product.
we have created a WCF .NET soap service that is working perfectly with
any other client we have used. and it also works fine with Windev 100%
on the Local Machine using the Emulator. but as soon as you put the
application for testing on an android physical device you get the
following error:

"Internal Error of WDJava framework. : Attempt to invoke virtual method
'Java.Util.Iterator java.util.LinkedList.Iterator' on a null object
reference.

Now something i want to make really clear is that i comented ALL THE
CODE, and just left the declaration of the Werservice object like so:

Login is MobileLogin
LoginResp is MobileLogin_RESP

That is it !!, just by declaring that when the APK is installed on a
physical device then it gets that error, the weird thing is that on the
local machine everything goes fine !! you can call the service and
everything works 100% fine. That error ONLY comes when you install the
app on physical hardware. I have available the WSDL url is someone from
PC SOFT would like to test why is this happening.

By the way just the 2 lines above cause the Crash and the error if you
deploy any app declaring the webservice objects like that

Thanks
Posté le 27 août 2019 - 10:58
Bonjour,

Deux forums que je vois et deux fois la même réponse de M Harrari
Il faudrait quand même quelquefois qu'il regarde le problème car cela peut être problématique de répondre sans étudier. L'objectif est-il de se faire connaître en répondant le plus possible ?

Typiquement, cela arrive quand à l'exécution android on pointe sur Null. En gros, cela arrive si on a défini une adresse de fichier où manque l'extension, un fichier est absent à la génération, un pointeur qui n'est pas initialisé, une classe qui n'est pas instanciée..