# Exception: Error Unpacking

**URL:** <https://forum.inductiveautomation.com/t/exception-error-unpacking/15118>\
**Category:** Module Development\
**Created:** [August 20, 2017, 9:39am UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118 "2017-08-20T09:39:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mark.om](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mark.om](https://forum.inductiveautomation.com/u/mark.om)\
**Post date:** [August 20, 2017, 9:39am UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118/1 "2017-08-20T09:39:32Z")

</div>

Hello

I have downloaded the module examples from [https://github.com/inductiveautomation/ignition-sdk-examples](https://github.com/inductiveautomation/ignition-sdk-examples). I have selected the scripting-rpc-example as one to use as a base. The first step is to simply build and install this example without **any** modification.

I have managed to build it via the instructions (e.g. Maven Test, then Maven Build ‘package’). After a few hours I managed to sign the resultant jar successfully (not a very intuitive process!).

So all good so far. I then install the module and run designer… well I had ‘hoped’ to run designer. Instead it fell in a steaming pile of unmentionables. During the designer launch process it errors with “Error launching application: Exception: Error unpacking \_\_2993506771\_\_scripting-rpc-common-1.8.0jar”.

Not certain why. Any ideas?

Java 1.8.0.144

If I unzip the 'ScriptingRPC-signed.jar I see:

scripting-rpc-gateway-1.8.0.jar  
scripting-rpc-designer-1.8.0.jar.pack.gz  
scripting-rpc-common-1.8.0.jar.pack.gz  
scripting-rpc-common-1.8.0.jar  
scripting-rpc-client-1.8.0.jar.pack.gz  
signatures.properties  
module.xml  
certificates.p7b

in module.xml:

\<?xml version="1.0" encoding="UTF-8"?\>com.inductiveautomation.ignition.examples.scripting-rpcScriptingRPCA module that adds a scripting function that uses RPC...1.7.07.7.0scripting-rpc-gateway-1.8.0.jarscripting-rpc-common-1.8.0.jarscripting-rpc-common-1.8.0.jar.pack.gzscripting-rpc-client-1.8.0.jar.pack.gzscripting-rpc-designer-1.8.0.jar.pack.gzcom.inductiveautomation.examples.scriptingrpc.client.ModuleHookcom.inductiveautomation.examples.scriptingrpc.designer.ModuleHookcom.inductiveautomation.examples.scriptingrpc.ModuleHook

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 20, 2017, 1:18pm UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118/2 "2017-08-20T13:18:27Z")

</div>

Can you launch the designer with the Java console enabled and paste the output here? and maybe the resulting module file you’ve built too?

---

<div class="post-metadata">

**Author:** ![mark.om](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mark.om](https://forum.inductiveautomation.com/u/mark.om)\
**Post date:** [August 20, 2017, 9:22pm UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118/3 "2017-08-20T21:22:43Z")

</div>

Kevin

thanks for the reply.

[ScriptingRPC-signed.modl](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/b36c458e61302b59dbfef2b952d7b387265e36f0.modl) (14.1 KB)

[consoleoutput.txt](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8f5f0e1280a1bac93f1fe8195a058d77676b29e3.txt) (20.5 KB)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 20, 2017, 11:56pm UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118/4 "2017-08-20T23:56:56Z")

</div>

It looks like the source of the problem are these errors:

```auto
Caused by: java.util.zip.ZipException: duplicate entry: META-INF/maven/com.inductiveautomation.ignition.examples/scripting-rpc-client/pom.properties

```

You seem to have the same problem as the guy in [this thread](http://forum.inductiveautomation.com/t/module-creation-problem-in-7-9-4-beta-1/14654/5).

[I suggested building from the command line with Eclipse closed, as it seemed others have faced this issue and it’s got something to do with Windows and Eclipse.](http://forum.inductiveautomation.com/t/module-creation-problem-in-7-9-4-beta-1/14654/9?u=kevin.herron)

Try that and see if it works?

---

<div class="post-metadata">

**Author:** ![mark.om](https://avatars.discourse-cdn.com/v4/letter/m/a87d85/32.png) [@mark.om](https://forum.inductiveautomation.com/u/mark.om)\
**Post date:** [August 23, 2017, 11:07am UTC](https://forum.inductiveautomation.com/t/exception-error-unpacking/15118/5 "2017-08-23T11:07:06Z")

</div>

Kevin

Thanks again. You are correct it was a Windows/Eclipse issue. I gave up on Windows and used Ubuntu eclipse and all works well now.

Thanks
