Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

MAF app can't be deployed to any kind of platforms.

user124Sep 9 2021 — edited Sep 9 2021

Screenshot_20210909_192752.pngOS: openSUSE Tumbleweed 20210902 (x64)
IDE: JDeveloper Studio Edition Version 12.2.1.3.0
MAF: 2.6.3
Java: 16.0.2
Trying to deploy sample app to android but process fails to do this. If somebody knows the fix - please, help.
[07:20:57 PM] ---- Deployment started. ----
[07:20:57 PM] Target platform is (Android).
[07:20:57 PM] Beginning deployment of MAF application "WorkBetter" to Android device using profile "Android1".
[07:20:57 PM] Capturing initial state of MAF application source files in application scope for future just-in-time "Clean All" analysis.
[07:20:57 PM] Unable to determine if application-wide files have changed since a previous deployment. This will require a just-in-time "Clean All" on MAF application build and deployment content to ensure a good deployment.
[07:20:57 PM] Performing just-in-time "Clean All" on MAF application build and deployment content to ensure a good deployment.
[07:20:57 PM] Checking state of Android Debug Bridge server...
[07:20:57 PM] Started Android Debug Bridge server.
[07:20:57 PM] Verifying a single Android device is online and connected to the ADB server...
[07:20:57 PM] Unable to obtain the version of ARM supported by the Android device. The application may not work correctly if the device does not support at least ARMv6.
[07:20:57 PM] Deleting some previously deployed content.
[07:20:58 PM] Creating file config.json
[07:20:58 PM] Cordova Plugman could not be found and needs to be installed.
[07:20:58 PM] This one-time installation may take a few minutes.
[07:20:58 PM] Installing Cordova Plugman...
[07:20:58 PM] Command-line executed: [/home/user0/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin/java, -jar, /home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/maf-helper.jar, installTools, -tools, /home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools]
[07:20:58 PM] Creating directory /home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/plugman
[07:20:58 PM] tar xC "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools" -f "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz"
[07:20:58 PM] Error Code: INTERNAL_ERROR
[07:20:58 PM] tar: /home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz: Функция open завершилась с ошибкой: No such file or directory
[07:20:58 PM] tar: Error is not recoverable: exiting now
[07:20:58 PM] Error: non-zero return code '2' returned for command '[/bin/bash, -c, tar xC "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools" -f "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz"]'
[07:20:58 PM] oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: null; NON_ZERO_RETURN_CODE; Error: non-zero return code '2' returned for command '[/bin/bash, -c, tar xC "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools" -f "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz"]'; INTERNAL_ERROR; INTERNAL_ERROR
[07:20:58 PM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities.installTools(Unknown Source)
[07:20:58 PM] at oracle.maf.mafhelper.MafHelperMain.main(Unknown Source)
[07:20:58 PM] Caused by: oracle.maf.mafhelper.api.MafHelperException: oracle.maf.mafhelper.api.MafHelperException: null; NON_ZERO_RETURN_CODE; Error: non-zero return code '2' returned for command '[/bin/bash, -c, tar xC "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools" -f "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz"]'; INTERNAL_ERROR
[07:20:58 PM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities._runProcess(Unknown Source)
[07:20:58 PM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities._executeCmd(Unknown Source)
[07:20:58 PM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities._executeCmd(Unknown Source)
[07:20:58 PM] at oracle.maf.mafhelper.internal.utils.MafHelperInternalUtilities._extractTarGz(Unknown Source)
[07:20:58 PM] ... 2 more
[07:20:58 PM] Caused by: oracle.maf.mafhelper.api.MafHelperException: null; NON_ZERO_RETURN_CODE; Error: non-zero return code '2' returned for command '[/bin/bash, -c, tar xC "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools" -f "/home/user0/Oracle/Middleware/Oracle_Home/jdeveloper/jdev/extensions/oracle.maf/tools/node-v12.20.1-linux-x86.tar.xz"]'
[07:20:58 PM] ... 6 more
[07:20:58 PM] Shutting down Android Debug Bridge server...
[07:20:58 PM] Deployment cancelled.
[07:20:58 PM] ---- Deployment incomplete ----.
[07:20:58 PM] An error occurred installing plugman. (oracle.adfmf.framework.dt.deploy.common.deployers.plugins.PlugmanInstallerDeployer)

Comments
Post Details
Added on Sep 9 2021
1 comment
137 views