My Oracle Support Banner

java.lang.NullPointerException - When Running Pack Command (Doc ID 2003033.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 12.1.3.0.0
Information in this document applies to any platform.

Symptoms


When attempting to run pack.sh command, the following error occurs.

2015-04-16 15:58:34,468 ERROR [runScript] com.oracle.cie.domain.script.ScriptExecutor - fail: write template to "/tmp/341509110317484876/packed_domain.jar"
java.lang.NullPointerException
at com.oracle.cie.domain.ApplicationBuilderHelper.addFilesToDomainView(ApplicationBuilderHelper.java:296)
at com.oracle.cie.domain.ApplicationBuilderHelper.addFilesToDomainView(ApplicationBuilderHelper.java:310)
at com.oracle.cie.domain.ApplicationBuilderHelper.setDomainDefaultFiles(ApplicationBuilderHelper.java:215)
at com.oracle.cie.domain.ApplicationBuilderHelper.getDomainView(ApplicationBuilderHelper.java:133)
at com.oracle.cie.domain.script.ScriptExecutor.doAppSelection(ScriptExecutor.java:4205)
at com.oracle.cie.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:906)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:605)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:549)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:558)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:342)
at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:662)
2015-04-16 15:58:34,470 ERROR [runScript] com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask - There was an error executing the script: /tmp/tmpPack8545979987179697473cws
com.oracle.cie.domain.script.ScriptException: java.lang.NullPointerException
at com.oracle.cie.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:939)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:608)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:549)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:111)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.runScriptWithExecutor(RunScriptTask.java:558)
at com.oracle.cie.wizard.domain.silent.tasks.RunScriptTask.execute(RunScriptTask.java:342)
at com.oracle.cie.wizard.silent.tasks.AbstractSilentTask.run(AbstractSilentTask.java:28)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.oracle.cie.domain.ApplicationBuilderHelper.addFilesToDomainView(ApplicationBuilderHelper.java:296)
at com.oracle.cie.domain.ApplicationBuilderHelper.addFilesToDomainView(ApplicationBuilderHelper.java:310)
at com.oracle.cie.domain.ApplicationBuilderHelper.setDomainDefaultFiles(ApplicationBuilderHelper.java:215)
at com.oracle.cie.domain.ApplicationBuilderHelper.getDomainView(ApplicationBuilderHelper.java:133)
at com.oracle.cie.domain.script.ScriptExecutor.doAppSelection(ScriptExecutor.java:4205)
at com.oracle.cie.domain.script.ScriptExecutor.writeTemplate(ScriptExecutor.java:906)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWriteTemplate(ScriptParserClassic.java:605)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.processWrite(ScriptParserClassic.java:549)
at com.oracle.cie.domain.script.ScriptParserClassic$StateMachine.execute(ScriptParserClassic.java:429)
at com.oracle.cie.domain.script.ScriptParserClassic.parseAndRun(ScriptParserClassic.java:148)
at com.oracle.cie.domain.script.ScriptParserClassic.doExecute(ScriptParserClassic.java:110)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:72)
at com.oracle.cie.domain.script.ScriptParser.execute(ScriptParser.java:35)
at com.oracle.cie.wizard.domain.helpers.Executor.runSilentScript(Executor.java:68)

 



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.