document tracker 4.5 error

When I try ti import or export anything from the document tracker I receive following exception.

Exception occurred during event dispatching:
java.lang.AbstractMethodError: javax/swing/filechooser/FileView.getName
at javax.swing.JFileChooser.getName(JFileChooser.java:1097)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$DirectoryComboBo
xRenderer.getListCellRendererComponent(WindowsFileChooserUI.java:627)
at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI
.java:1177)
at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.getMinimumSize(Wind
owsComboBoxUI.java:56)
at javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBox
UI.java:895)
at javax.swing.JComponent.getPreferredSize(JComponent.java, Compiled Cod
e)
at COM.activesw.visual.layout.GBLayout.GetLayoutInfo(GBLayout.java, Comp
iled Code)
at COM.activesw.visual.layout.GBLayout.preferredLayoutSize(GBLayout.java
, Compiled Code)
at java.awt.Container.preferredSize(Container.java, Compiled Code)
at java.awt.Container.getPreferredSize(Container.java, Compiled Code)
at javax.swing.JComponent.getPreferredSize(JComponent.java, Compiled Cod
e)
at COM.activesw.visual.layout.GBLayout.GetLayoutInfo(GBLayout.java, Comp
iled Code)
at COM.activesw.visual.layout.GBLayout.ArrangeGrid(GBLayout.java, Compil
ed Code)
at COM.activesw.visual.layout.GBLayout.layoutContainer(GBLayout.java, Co
mpiled Code)
at java.awt.Container.layout(Container.java, Compiled Code)
at java.awt.Container.doLayout(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validate(Container.java, Compiled Code)
at java.awt.Window.pack(Window.java:267)
at javax.swing.JFileChooser.showDialog(JFileChooser.java:531)
at com.wm.ite.util.ActiveFileChooser.showDialog(ActiveFileChooser.java:7
6)
at COM.activesw.tools.eventTracker.EventTrackerFileDlg.showSaveDialog(Ev
entTrackerFileDlg.java:70)
at COM.activesw.tools.eventTracker.OutgoingMgr.exportToFile(OutgoingMgr.
java, Compiled Code)
at COM.activesw.tools.eventTracker.OutgoingMgr.update(OutgoingMgr.java:9
78)
at java.util.Observable.notifyObservers(Observable.java:146)
at COM.activesw.tools.eventTracker.ApplicationMgr.sendMessage(Applicatio
nMgr.java:186)
at COM.activesw.tools.eventTracker.EventTracker$WinActionListener.action
Performed(EventTracker.java:1118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
66)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
)
at javax.swing.AbstractButton.doClick(AbstractButton.java:226)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:754)
at java.awt.Component.processMouseEvent(Component.java:3160)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Com
piled Code)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Comp
iled Code)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled
Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, C
ompiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)
java.lang.AbstractMethodError: javax/swing/filechooser/FileView.isTraversable
at javax.swing.JFileChooser.isTraversable(JFileChooser.java:1159)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicD
irectoryModel.java:279)
java.lang.AbstractMethodError: javax/swing/filechooser/FileView.isTraversable
at javax.swing.JFileChooser.isTraversable(JFileChooser.java:1159)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicD
irectoryModel.java:279)
java.lang.AbstractMethodError: javax/swing/filechooser/FileView.isTraversable
at javax.swing.JFileChooser.isTraversable(JFileChooser.java:1159)
at javax.swing.plaf.basic.BasicDirectoryModel$LoadFilesThread.run(BasicD
irectoryModel.java:279)
Exception occurred during event dispatching:
java.lang.AbstractMethodError: javax/swing/filechooser/FileView.getName
at javax.swing.JFileChooser.getName(JFileChooser.java:1097)
at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$DirectoryComboBo
xRenderer.getListCellRendererComponent(WindowsFileChooserUI.java:627)
at javax.swing.plaf.basic.BasicComboBoxUI.getDisplaySize(BasicComboBoxUI
.java:1177)
at com.sun.java.swing.plaf.windows.WindowsComboBoxUI.getMinimumSize(Wind
owsComboBoxUI.java:56)
at javax.swing.plaf.basic.BasicComboBoxUI.getPreferredSize(BasicComboBox
UI.java:895)
at javax.swing.JComponent.getPreferredSize(JComponent.java, Compiled Cod
e)
at COM.activesw.visual.layout.GBLayout.GetLayoutInfo(GBLayout.java, Comp
iled Code)
at COM.activesw.visual.layout.GBLayout.preferredLayoutSize(GBLayout.java
, Compiled Code)
at java.awt.Container.preferredSize(Container.java, Compiled Code)
at java.awt.Container.getPreferredSize(Container.java, Compiled Code)
at javax.swing.JComponent.getPreferredSize(JComponent.java, Compiled Cod
e)
at COM.activesw.visual.layout.GBLayout.GetLayoutInfo(GBLayout.java, Comp
iled Code)
at COM.activesw.visual.layout.GBLayout.ArrangeGrid(GBLayout.java, Compil
ed Code)
at COM.activesw.visual.layout.GBLayout.layoutContainer(GBLayout.java, Co
mpiled Code)
at java.awt.Container.layout(Container.java, Compiled Code)
at java.awt.Container.doLayout(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validateTree(Container.java, Compiled Code)
at java.awt.Container.validate(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, C
ompiled Code)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

I am using jdk1.4.0_01. I tried setting the path to jdk1.3 which comes as part of webmethods installation.
Am I doing something wrong. By the way I have downloaded document tracker from webmethods advantage download site.

Hello,
I am trying to import/export from Document Tracker 4.5 and it looks like I’m running into some of the same issues that you were. Did you even find a resolution to your problem?

thanks

You have to modify the documentTracker.bat file to point it at a JRE/JDK 1.3.1 instance.

There is “no plan to make this work with JDK/JRE 1.4.x at this time” according to a support inquiry that I made.

Hi, thanks for the input. I have the same problem. Could you be a little more specific as in how exactly I should modify the eventTracker.bat file.
Thanks,

cdrc

Seems I answered my own question … again :slight_smile:
What worked for me was that I started the Event Tracker by clicking on the eventTracker.bat file instead of clicking on the EventTracker.exe file.
Strange is that the appearance of the Event Tracker program is different depending on the way you start it. If it is started with the eventTracker.bat file, the buttons, tabs, dialog windows, fonts, etc. are all bigger than when opened by clicking on EventTracker.exe
I dunno the reason but maybe they are using different Swing libraries. I also have jdk 1.4 installed (although 1.3 is currently the version I’m using) and maybe the EventTracker.exe is using the 1.4 libraries in some odd way.
Any ideas?
regards,
cdrc

All you have to do in the document tracker BAT file is to point it at the right JVM. In the BAT file you will find a java command and parameters for the EventTracker class and required jars. Windows will run the first java command that it encounters in the environment’s default paths. So you could, for instance, insert a line in the BAT file before the java command to add the directory containing the JDK 1,3,1’s executables to the front of the path variable. DocumentTracker.BAT would then look something like:

cd …\lib
SET PATH=C:\jdk1.3.1_01\bin;%path%
java -cp .;…/depends/client.jar;…/depends/ite2.jar;…/lib;…/jars/documenttracker45.jar COM.activesw.tools.eventTracker.EventTracker
cd …\bin

Of course, if you are happy to have 1.3 as your default JVM on the machine then just amend the path in your system environment variables through the control panel.

It seems that Document Tracker gives many splendid and odd results with JDK 1.4 and it doesn’t work either with JDK 1.2, so you really have no choice but to run it with JDK 1.3. With 1.4 I had not just the import/export problem but also extremely erratic behaviour just repainting the screen when working with longer document types, where you have to scroll. There does seem to be a big compatibility issue with older swing components in 1.4.

About using the EXE file, there is a way to get this working too, even though you have installed JDK 1.4 on the box as well as 1.3, so long as you do not wish to run Java applications requiring 1.4 as Windows native. DocumentTracker.exe is executed via the javaw command in the WINNT\SYSTEM32 directory. When you installed JDK 1.3 on the machine it will have copied its version of javaw into this directory. When you installed JDK 1.4 it will have copied its own version of javaw over the top. You can copy the 1.3 version back over it from, say, C:\jdk1.3.1_01\bin. You then just have to do a little registry hack to point javaw at the right directory for 1.3. You can get details on this at http://java.sun.com/j2se/1.3/runtime_win32.html.

Best,

Jules