#745 Problem installing AX version into 3.5 J2

William Cheadle Fri 4 Oct

I'm new to Haystack. Was wondering if someone has had this experience and can help guide me through it.

I downloaded the AX version and installed it successfully onto a couple of 3.8 Jaces. Then I upgraded a J2 from 3.4 to 3.5 and tried installing it. The first clue something was wrong was when the pallette would not open up after I installed the jar file. Now, I'm getting this message when I open up my 3.5 workbench:

com.tridium.file.types.bog.CannotLoadBogException: local:|module://nhaystack/module.palette

at com.tridium.file.types.bog.BBogFile.doOpen(BBogFile.java:109)
at javax.baja.file.BSubSpaceFile.open(BSubSpaceFile.java:117)
at javax.baja.file.BSubSpaceFile.getNavChildren(BSubSpaceFile.java:239)
at javax.baja.workbench.nav.tree.NavTreeNode.buildChildren(NavTreeNode.java:219)
at javax.baja.workbench.nav.tree.NavTreeNode.getChildren(NavTreeNode.java:195)
at javax.baja.workbench.nav.tree.NavTreeNode.getChildCount(NavTreeNode.java:132)
at javax.baja.workbench.nav.tree.DefaultNavTreeModel.getRootCount(DefaultNavTreeModel.java:66)
at javax.baja.ui.tree.BTree.doLayout(BTree.java:333)
at javax.baja.ui.tree.BTree.computePreferredSize(BTree.java:298)
at javax.baja.ui.pane.BScrollPane.doLayout(BScrollPane.java:423)
at javax.baja.ui.pane.BTreePane.doLayout(BTreePane.java:98)
at javax.baja.ui.BWidget.layout(BWidget.java:903)
at javax.baja.ui.BWidget.layout(BWidget.java:912)
at javax.baja.ui.BWidget.layout(BWidget.java:912)
at javax.baja.ui.pane.BToolPane.doLayout(BToolPane.java:103)
at javax.baja.ui.BWidget.layout(BWidget.java:903)
at javax.baja.ui.BWidget.layout(BWidget.java:912)
at javax.baja.ui.BWidget.layout(BWidget.java:912)
at javax.baja.ui.BWidget.layout(BWidget.java:912)
javax.baja.xml.XException: Cannot instantiate type 'nh:HSite' [15:32]
   at javax.baja.io.ValueDocDecoder$BogDecoderPlugin.err(ValueDocDecoder.java:950)
   at javax.baja.io.ValueDocDecoder$BogTypeResolver.newInstance(ValueDocDecoder.java:1169)
   at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:591)
   at javax.baja.io.ValueDocDecoder.parseSlots(ValueDocDecoder.java:459)
   at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:650)
   at javax.baja.io.ValueDocDecoder.decode(ValueDocDecoder.java:213)
   at javax.baja.io.ValueDocDecoder$BogDecoderPlugin.decodeDocument(ValueDocDecoder.java:910)
   at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:196)
   at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:185)
   at com.tridium.file.types.bog.BBogFile.doOpen(BBogFile.java:97)
   at javax.baja.file.BSubSpaceFile.open(BSubSpaceFile.java:117)
   at javax.baja.file.BSubSpaceFile.getNavChildren(BSubSpaceFile.java:239)
   at javax.baja.workbench.nav.tree.NavTreeNode.buildChildren(NavTreeNode.java:219)
   at javax.baja.workbench.nav.tree.NavTreeNode.getChildren(NavTreeNode.java:195)
   at javax.baja.workbench.nav.tree.NavTreeNode.getChildCount(NavTreeNode.java:132)
   at javax.baja.workbench.nav.tree.DefaultNavTreeModel.getRootCount(DefaultNavTreeModel.java:66)
   at javax.baja.ui.tree.BTree.doLayout(BTree.java:333)
   at javax.baja.ui.tree.BTree.computePreferredSize(BTree.java:298)
   at javax.baja.ui.pane.BScrollPane.doLayout(BScrollPane.java:423)
  javax.baja.sys.TypeException: java.lang.NoClassDefFoundError: javax/baja/nre/util/TextUtil nhaystack:HSite=nhaystack.site.BHSite
     at com.tridium.sys.module.NModule.getType(NModule.java:154)
     at javax.baja.io.ValueDocDecoder.typeResolverNewInstance(ValueDocDecoder.java:1187)
     at javax.baja.io.ValueDocDecoder$BogTypeResolver.newInstance(ValueDocDecoder.java:1155)
     at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:591)
     at javax.baja.io.ValueDocDecoder.parseSlots(ValueDocDecoder.java:459)
     at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:650)
     at javax.baja.io.ValueDocDecoder.decode(ValueDocDecoder.java:213)
     at javax.baja.io.ValueDocDecoder$BogDecoderPlugin.decodeDocument(ValueDocDecoder.java:910)
     at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:196)
     at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:185)
     at com.tridium.file.types.bog.BBogFile.doOpen(BBogFile.java:97)
     at javax.baja.file.BSubSpaceFile.open(BSubSpaceFile.java:117)
     at javax.baja.file.BSubSpaceFile.getNavChildren(BSubSpaceFile.java:239)
     at javax.baja.workbench.nav.tree.NavTreeNode.buildChildren(NavTreeNode.java:219)
     at javax.baja.workbench.nav.tree.NavTreeNode.getChildren(NavTreeNode.java:195)
     at javax.baja.workbench.nav.tree.NavTreeNode.getChildCount(NavTreeNode.java:132)
     at javax.baja.workbench.nav.tree.DefaultNavTreeModel.getRootCount(DefaultNavTreeModel.java:66)
     at javax.baja.ui.tree.BTree.doLayout(BTree.java:333)
     at javax.baja.ui.tree.BTree.computePreferredSize(BTree.java:298)
    java.lang.NoClassDefFoundError: javax/baja/nre/util/TextUtil
       at nhaystack.res.Resources.loadTags(Resources.java:97)
       at nhaystack.res.Resources.<clinit>(Resources.java:74)
       at nhaystack.site.BHSite.<clinit>(BHSite.java:95)
       at java.lang.Class.forName0(Native Method)
       at java.lang.Class.forName(Class.java:348)
       at com.tridium.sys.module.NModule.loadClass(NModule.java:72)
       at com.tridium.sys.module.NModule.getType(NModule.java:130)
       at javax.baja.io.ValueDocDecoder.typeResolverNewInstance(ValueDocDecoder.java:1187)
       at javax.baja.io.ValueDocDecoder$BogTypeResolver.newInstance(ValueDocDecoder.java:1155)
       at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:591)
       at javax.baja.io.ValueDocDecoder.parseSlots(ValueDocDecoder.java:459)
       at javax.baja.io.ValueDocDecoder.parseSlot(ValueDocDecoder.java:650)
       at javax.baja.io.ValueDocDecoder.decode(ValueDocDecoder.java:213)
       at javax.baja.io.ValueDocDecoder$BogDecoderPlugin.decodeDocument(ValueDocDecoder.java:910)
       at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:196)
       at javax.baja.io.ValueDocDecoder.decodeDocument(ValueDocDecoder.java:185)
       at com.tridium.file.types.bog.BBogFile.doOpen(BBogFile.java:97)
       at javax.baja.file.BSubSpaceFile.open(BSubSpaceFile.java:117)
       at javax.baja.file.BSubSpaceFile.getNavChildren(BSubSpaceFile.java:239)

Any ideas?

Paul Quinn Sat 5 Oct

I have only been successful using the NHaystack version 1.2.5 on AX version 3.5.

For reference to the community, I have not been successful with any version of NHaystack on AX versions 3.4 or older.

Christian Tremblay Sat 5 Oct

New versions rely on modules that were not available in older versions (ex. concurrent.jar)

And the version of Java used inside the Jaces changed, which produces breaking changes regarding TextUtil (and some others I guess).

Login or Signup to reply.