SAP Knowledge Base Article - Preview

3113696 - SWPM (MIGMON) failed with error: java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'arr$'

Symptom

System copy of AS ABAP System failed in ABAP export or import phase - using Software Provisioning Manager (SAP Note: 1680045).

sapinst_dev.log or export/import_monitor.java.log contain this error entries, (/<sapinst_instdir>/.../sapinst_dev.log):

...

Execution of the command "\\...\sapinst_exe.<###>\jre\bin\java.exe -classpath migmon.jar;migmonctrl.jar;createorderby.jar -showversion -Xmx1024m com.sap.inst.migmon.exp.ExportMonitor -sapinst" finished with return code 101. Output: 
java version "1.6.0_141"
Java(TM) SE Runtime Environment (build 6.1.101)
SAP Java Server VM (build 6.1.101 25.51-b12, Mar 28 2017 14:03:43 - 61_REL - optU - windows amd64 - 6 - bas2:287331 (mixed mode))
java.lang.NullPointerException: while trying to get the length of a null array loaded from local variable 'arr$'
 at com.sap.inst.migmonctrl.util.DirectoryContent.list(DirectoryContent.java:52)
 at com.sap.inst.migmonctrl.util.DirectoryContent.get(DirectoryContent.java:39)
 at com.sap.inst.migmonctrl.dvd.DvdForExport.setExtFileDirectory(DvdForExport.java:47)
 at com.sap.inst.migmonctrl.MigmonCtrlExport.initializeFile(MigmonCtrlExport.java:50)
 at com.sap.inst.migmon.exp.ExportMonitor.startAppJob(ExportMonitor.java:809)
 at com.sap.inst.lib.app.CommandLineApp.doMain(CommandLineApp.java:116)
 at com.sap.inst.migmon.exp.ExportMonitor.main(ExportMonitor.java:899)

...


Read more...

Environment

AS ABAP System based on SAP NetWeaver 7.##  on WIN OS

Keywords

KBA , BC-INS-MIG , OS/DB Migrations with SWPM and DB refresh , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.