Support Article
Getting error on importing a zip file
SA-7377
Summary
You are using PRPC 6.2sp2 and have written a wrapper script over ImportImpl tool documented on PDN
https://pdn.pega.com/system-operations/how-to-import-and-export-zip-archives-from-a-command-line
Trying to execute the script results in error
Error Messages
SEVERE: Problem during method invocation (main)
Throwable occurred: com.pega.pegarules.pub.PRException: A problem occurred.
From: (unknown)
at com.pega.pegarules.deploy.internal.util.ImportImpl.main(ImportImpl.java:427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:439)
at com.pega.pegarules.pub.PegaRULES.main(PegaRULES.java:85)
Caused by: java.lang.NullPointerException
Steps to Reproduce
Not Applicable
Root Cause
This article serves PRPC versions earlier than PRPC 6. For similar instructions for PRPC 6.X and newer, please see :
https://pdn.pega.com/system-operations/how-to-import-or-export-an-archive-from-the-command-line
Resolution
Follow the instructions on https://pdn.pega.com/system-operations/how-to-import-or-export-an-archive-from-the-command-line for PRPC version 6.x
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.