Solved

Error in flash applet for HVAC equipment

Posted on 2010-09-13
6
1,499 Views
Last Modified: 2013-11-24
I have a client that asked me to look at a problem that he is having accessing a HVAC interface. The guy who programmed it is saying that it must be a problem on the clients end. However I think that it is a problem on his end, but I have no programming experience  and would like some opinions.  

What happens is that you log into a web portal for the HVAC unit and it launches a Java applicaion called Niagra Central. The applet shell seems to launch but the content never loads. From what I can see it is due to a corrupted dependency that it is trying to load, but I could be totally off. Here is the error that is given from the client end. I dont have access to the server end.

I have tried this on 2 different PC's with IE8, Firefox, and Chrome. All of them have the same error. However it works on a Mac that someone tested it from, dont know the version.

Does this look like a server side error and what can I tell this guy?
javax.baja.xml.XException: Cannot load module 'jci=jciFxDriver' [7:83]

   at javax.baja.io.BogDecoder.err(BogDecoder.java)

   at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)

   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

   at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)

   at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

   at javax.baja.io.BogDecoder.decode(BogDecoder.java)

   at javax.baja.sync.LoadOp.decode(LoadOp.java)

   at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)

   at com.tridium.fox.sys.broker.BBrokerChannel.syncFromMaster(BBrokerChannel.java)

   at com.tridium.fox.sys.broker.BBrokerChannel.load(BBrokerChannel.java)

   at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxLoadCallbacks.loadSlots(BFoxComponentSpace.java)

   at com.tridium.sys.schema.ComponentSlotMap.loadSlots(ComponentSlotMap.java)

   at javax.baja.sys.BComplex.loadSlots(BComplex.java)

   at javax.baja.naming.BSlotScheme.resolve(BSlotScheme.java)

   at javax.baja.naming.BOrd.resolve(BOrd.java)

   at javax.baja.naming.BOrd.resolve(BOrd.java)

   at com.tridium.workbench.shell.BNiagaraWbShell.resolve(BNiagaraWbShell.java)

   at com.tridium.workbench.shell.NHyperlinkInfo.resolve(NHyperlinkInfo.java)

   at com.tridium.workbench.shell.NHyperlinkInfo.hyperlink(NHyperlinkInfo.java)

  javax.baja.sys.ModuleException: Cannot resolve dependency jciParser-0 for jciFxDriver-Johnson Controls-3.3.22.34

     at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

     at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

     at java.security.AccessController.doPrivileged(Native Method)

     at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

     at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

     at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)

     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

     at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)

     at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

     at javax.baja.io.BogDecoder.decode(BogDecoder.java)

     at javax.baja.sync.LoadOp.decode(LoadOp.java)

     at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)

     at com.tridium.fox.sys.broker.BBrokerChannel.syncFromMaster(BBrokerChannel.java)

     at com.tridium.fox.sys.broker.BBrokerChannel.load(BBrokerChannel.java)

     at com.tridium.fox.sys.broker.BFoxComponentSpace$FoxLoadCallbacks.loadSlots(BFoxComponentSpace.java)

     at com.tridium.sys.schema.ComponentSlotMap.loadSlots(ComponentSlotMap.java)

     at javax.baja.sys.BComplex.loadSlots(BComplex.java)

     at javax.baja.naming.BSlotScheme.resolve(BSlotScheme.java)

    javax.baja.sys.ModuleException: Cannot resolve dependency jcin2-0 for jciParser-Johnson Controls-3.3.22.34

       at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

       at java.security.AccessController.doPrivileged(Native Method)

       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

       at java.security.AccessController.doPrivileged(Native Method)

       at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

       at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

       at javax.baja.io.BogDecoder.loadModule(BogDecoder.java)

       at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

       at javax.baja.io.BogDecoder.parseSlots(BogDecoder.java)

       at javax.baja.io.BogDecoder.parseSlot(BogDecoder.java)

       at javax.baja.io.BogDecoder.decode(BogDecoder.java)

       at javax.baja.sync.LoadOp.decode(LoadOp.java)

       at javax.baja.sync.SyncBuffer.decode(SyncBuffer.java)

      javax.baja.sys.ModuleException: Cannot open jar: C:\Users\myusername\niagara\wbapplet\modules\jcin2-3.3.22.34.jar

         at com.tridium.sys.module.ModuleManager.makeModule(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.find(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

         at java.security.AccessController.doPrivileged(Native Method)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

         at java.security.AccessController.doPrivileged(Native Method)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

         at java.security.AccessController.doPrivileged(Native Method)

         at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

         at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

        java.util.zip.ZipException: error in opening zip file

           at java.util.zip.ZipFile.open(Native Method)

           at java.util.zip.ZipFile.<init>(Unknown Source)

           at java.util.zip.ZipFile.<init>(Unknown Source)

           at com.tridium.util.jar.JarFile.<init>(JarFile.java)

           at com.tridium.sys.module.ModuleManager.makeModule(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.find(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

           at java.security.AccessController.doPrivileged(Native Method)

           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.run(ModuleManager.java)

           at java.security.AccessController.doPrivileged(Native Method)

           at com.tridium.sys.module.ModuleManager$PrivilegedLoader.load(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.loadModule(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.resolve(ModuleManager.java)

           at com.tridium.sys.module.ModuleManager.doLoad(ModuleManager.java)

Open in new window

0
Comment
Question by:ryan80
  • 3
  • 2
6 Comments
 
LVL 22

Expert Comment

by:NovaDenizen
ID: 33702564
0
 
LVL 12

Author Comment

by:ryan80
ID: 33703006
I did look that over before, but the reason in the detail log seemed to boils down to a incompatibility issue with an extension, where mine seems to be a zip issue. I still think that it could be something like a zip file issue on the server but I would like to be a little more sure.
0
 
LVL 22

Expert Comment

by:NovaDenizen
ID: 33703119
 javax.baja.sys.ModuleException: Cannot open jar: C:\Users\myusername\niagara\wbapplet\modules\jcin2-3.3.22.34.jar

I think there's something wrong with this jar file.  It's missing or corrupt or incomplete or locked or permissions aren't set correctly or something.  
0
 
LVL 12

Author Comment

by:ryan80
ID: 33703266
Now I have tried this from multiple machines with Windows 7 and XP. Do you think that this would be a client side or server side issue?

I have read places where if the zip file isnt compressed with java tools than there can bee issues opening it?
0
 
LVL 22

Accepted Solution

by:
NovaDenizen earned 500 total points
ID: 33703521
A jar file is actually a zip file with a few added constraints.  You need a zip library to programmatically use the contents of a jar file.  I suppose there could be problems if someone rolled their own jar file using a generic zip utility, but it's more likely that they use an official jar utility.  It's also remotely possible that there is a software incompatibility between the jar utility that created the jcin jar and the jre that is trying to use it, but I find it much more likely that there is a file integrity issue and the jcin.jar file is simply not available or valid.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now