Upgrade Mobilefirst CLI 6.3.0 to 7.0 -
are there known issues in upgrading mobilefirst 6.3 cli mobilefirst 7.0 cli ?
auto-upgrade fails following error in ubuntu 14.0.x, working fine 6.3.0.
error when running mfp build -dd
mobilefirst-cli verb cli process.argv=["/opt/ibm/mobilefirst-cli/ibmnode/bin/node","/opt/ibm/mobilefirst-cli/mobilefirst-cli/bin/mobilefirst-cli.js","build","-dd"] mobilefirst-cli verb cli opts={"ddebug":true,"argv":{"remain":["build"],"cooked":["build","--ddebug"],"original":["build","-dd"]}} mobilefirst-cli verb cli mobilefirst@7.0.0.00.20150312-0738 mobilefirst-cli verb cli node@v0.10.30 mobilefirst-cli verb ant variables -dbasedir=/home/ubuntu/xxxxxxxxx mobilefirst-cli verb ant variables -dworklight.jars.dir=/opt/ibm/mobilefirst-cli/mobilefirst-cli/node_modules/generator-worklight-server/lib mobilefirst-cli verb ant variables -dworklight.ant.tools.dir=/opt/ibm/mobilefirst-cli/mobilefirst-cli/node_modules/generator-worklight-server/ant-tools mobilefirst-cli verb ant variables -dworklight.hostname=x.x.x.x mobilefirst-cli verb ant variables -file=/opt/ibm/mobilefirst-cli/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml mobilefirst-cli verb ant task upgrade buildfile: /opt/ibm/mobilefirst-cli/mobilefirst-cli/node_modules/generator-worklight-server/lib/build.xml upgrade: [project-upgrader] fine: debug_perform_upgrade [project-upgrader] info: fwlst1022i: starting migrate xxxxxx project version 6.3.0.00.20150106-1717 version 7.0.0.00.20150312-0731. [project-upgrader] path found:6.3.0.0--->7.0.0.0 [project-upgrader] fine: debug_found_path [project-upgrader] error: unexpected error during upgrade: java.lang.nullpointerexception [project-upgrader] @ com.worklight.upgrader.upgraders.android.appandroidproguardconfupgrader.upgrade(appandroidproguardconfupgrader.java:57) [project-upgrader] @ com.worklight.upgrader.wlupgradeengine.executeupgrader(wlupgradeengine.java:368) [project-upgrader] @ com.worklight.upgrader.wlupgradeengine.performupgrade(wlupgradeengine.java:301) [project-upgrader] @ com.worklight.upgrader.wlupgradeengine.upgradeproject(wlupgradeengine.java:188) [project-upgrader] @ com.worklight.upgrader.ant.upgradertask.execute(upgradertask.java:100) [project-upgrader] @ org.apache.tools.ant.unknownelement.execute(unknownelement.java:291) [project-upgrader] @ sun.reflect.generatedmethodaccessor4.invoke(unknown source) [project-upgrader] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [project-upgrader] @ java.lang.reflect.method.invoke(method.java:606) [project-upgrader] @ org.apache.tools.ant.dispatch.dispatchutils.execute(dispatchutils.java:106) [project-upgrader] @ org.apache.tools.ant.task.perform(task.java:348) [project-upgrader] @ org.apache.tools.ant.target.execute(target.java:392) [project-upgrader] @ org.apache.tools.ant.target.performtasks(target.java:413) [project-upgrader] @ org.apache.tools.ant.project.executesortedtargets(project.java:1399) [project-upgrader] @ org.apache.tools.ant.project.executetarget(project.java:1368) [project-upgrader] @ org.apache.tools.ant.helper.defaultexecutor.executetargets(defaultexecutor.java:41) [project-upgrader] @ org.apache.tools.ant.project.executetargets(project.java:1251) [project-upgrader] @ org.apache.tools.ant.main.runbuild(main.java:811) [project-upgrader] @ org.apache.tools.ant.main.startant(main.java:217) [project-upgrader] @ org.apache.tools.ant.launch.launcher.run(launcher.java:280) [project-upgrader] @ org.apache.tools.ant.launch.launcher.main(launcher.java:109)
while upgrade issue using cli being investigated under apar pi37526, can open pmr follow it.
the error may happen if android\native folder missing project.properties file. verify whether file exists or doesn't exist in android\native folder of mfp project.
you can regenerate file using instructions here or via google adt's commandline tool.
as workaround, can import 6.3 project mobilefirst studio v7.0; can @ least confirm when using studio upgrade error mentioned in question not happen , proguard files being added upgraded project.
Comments
Post a Comment