Skip to Main Content

Developer Community

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

Migrating from MAF_2.4.0.0.4.2 (Jdev_12.2.1.0.0) to MAF_2.6.6.0.0 (Jdev_12.2.1.3.0)

hassen akremiJan 30 2024

Hi all,

after migrating the project, i deployed it and installed the APK file, then when i try to login into the session it popup an error messagge, cause the invoke to the DataControl has not been recognized. these are the logs of the error:

01-29 16:07:19.692 1157 1749 D SensorManager: TYPE_LIGHT (5): 210.000000
01-29 16:07:19.697 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.718 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.737 1157 1749 D SensorManager: TYPE_LIGHT (5): 211.000000
01-29 16:07:19.738 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.760 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.781 1157 1749 D SensorManager: TYPE_LIGHT (5): 210.000000
01-29 16:07:19.781 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.795 7508 8103 D JVM : [SEVERE - oracle.adfmf.framework - AmxBindingContext - loadDataControlById] Impossibile caricare il controllo dati LoginDC a causa dell''errore seguente: java.lang.NullPointerException.
01-29 16:07:19.795 7508 8103 D JVM : java.lang.reflect.InvocationTargetException
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at java.lang.reflect.Method.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.contract.adf.application.EmbeddedGenericInvokeRequestHandler.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.contract.adf.application.GenericInvokeRequestHandler.process(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.FeatureContext.handle(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.FeatureContextMessageHandler._handleRequestMessage(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.FeatureContextMessageHandler._handleMessage(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.FeatureContextMessageHandler._handleMessages(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.adfmf.framework.FeatureContextMessageHandler.lambda$run$0(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at java.lang.Thread.run(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : Caused by: WARNING [oracle.adfmf.framework.exception.AdfException] - Error Invoking Web Service (2). Please try later. - LoginDCImpossibile caricare il controllo dati LoginDC a causa dell''errore seguente: java.lang.NullPointerException.
01-29 16:07:19.795 7508 8103 D JVM : at mobile.UserInfo.retrieveUser(UserInfo.java:122)
01-29 16:07:19.795 7508 8103 D JVM : at mobile.LoginBean.callLoginWS(LoginBean.java:104)
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at java.lang.reflect.Method.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at de.odysseus.el.tree.impl.ast.AstProperty.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at de.odysseus.el.tree.impl.ast.AstEval.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at de.odysseus.el.TreeMethodExpression.invoke(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.maf.api.amx.taghandler.UITagHandler.handleAmxEvent(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : at oracle.maf.impl.amx.Dispatch.processAmxEvent(Unknown Source)
01-29 16:07:19.795 7508 8103 D JVM : ... 16 more
01-29 16:07:19.795 7508 8103 D JVM : [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - invoke] Errore InvocationTargetException: oracle.adfmf.framework.exception.AdfException
01-29 16:07:19.795 7508 8103 D JVM : [SEVERE - oracle.adfmf.framework - GenericInvokeRequestHandler - process] Rilevata AdfException del processo: oracle.adfmf.framework.exception.AdfException
01-29 16:07:19.802 7508 8909 I System.out: [SEVERE - oracle.adfmf.framework - ADFMobileShell - invokeJavaMethod] Eccezione: WARNING [oracle.adfmf.framework.exception.AdfException] - Error Invoking Web Service (2). Please try later. - LoginDCImpossibile caricare il controllo dati LoginDC a causa dell''errore seguente: java.lang.NullPointerException.
01-29 16:07:19.804 1163 1163 E cnss-daemon: Failed to get sock name Socket operation on non-socket
01-29 16:07:19.807 7508 7508 I System.out: [SEVERE - oracle.adfmf.framework - adf.mf.internal - logError] Si è verificato un errore durante la richiesta.
01-29 16:07:19.817 7508 7508 I System.out: Uncaught (in promise) undefined
01-29 16:07:19.824 1157 9898 D WifiConnectivityMonitor.DnsThread: [|206] []
01-29 16:07:19.825 1157 9845 D WifiConnectivityMonitor: DNS resultType : 0, responseTime : 206
01-29 16:07:19.825 1157 9843 D WifiConnectivityMonitor: updateBssidLatestDnsResultType - result: 0
01-29 16:07:19.826 1157 1749 D SensorManager: TYPE_LIGHT (5): 210.000000

can someone please suggest what is going wrong with the datacontrol?

it seems that the Web Services methods are not correctly binded, can you tell how it should be done?

Comments
Post Details
Added on Jan 30 2024
0 comments
52 views