Solved

Error in flash applet for HVAC equipment

Posted on 2010-09-13
6
1,490 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
factorial example challenge 10 62
pairstar challenge 2 42
word0 challenge 4 54
wordmultiple challenge 12 93
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

744 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

11 Experts available now in Live!

Get 1:1 Help Now