Hi,
        I am putting this problem here one more time.  I have a swing
application using
JNI.  Everything was working ok under blackdown jdk 1.1.7 with
swing-1.1.1 .  Now
i upgraded jdk to jdk 1.2(blackdown) so i don't have to have swing
because it is
already built in.  But now under jdk1.2 my application gives strange
exception error,


Exception occurred during event dispatching:
java.lang.IndexOutOfBoundsException: -1
        at java.util.BitSet.get(Compiled Code)
        at javax.swing.DefaultListSelectionModel.clear(Compiled Code)
        at javax.swing.DefaultListSelectionModel.setState(Compiled Code)

        at
javax.swing.DefaultListSelectionModel.removeIndexInterval(Compiled Code
)
        at
javax.swing.plaf.basic.BasicListUI$ListDataHandler.intervalRemoved(Comp
iled Code)
        at javax.swing.AbstractListModel.fireIntervalRemoved(Compiled
Code)
        at javax.swing.DefaultComboBoxModel.removeAllElements(Compiled
Code)
        at javax.swing.JComboBox.removeAllItems(Compiled Code)
        at Fsa.refreshAttrCombo(Compiled Code)
        at Fsa.addAttributes(Compiled Code)
        at Fsa.createComponents(Compiled Code)
        at Question$2.actionPerformed(Compiled Code)
        at javax.swing.AbstractButton.fireActionPerformed(Compiled Code)

        at
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled
 Code)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Compiled
Code)
        at javax.swing.DefaultButtonModel.setPressed(Compiled Code)
        at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled Code)
        at java.awt.Component.processMouseEvent(Compiled Code)
        at java.awt.Component.processEvent(Compiled Code)
        at java.awt.Container.processEvent(Compiled Code)
        at java.awt.Component.dispatchEventImpl(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled
Code)
        at java.awt.LightweightDispatcher.processMouseEvent(Compiled
Code)
        at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code)
        at java.awt.Container.dispatchEventImpl(Compiled Code)
        at java.awt.Window.dispatchEventImpl(Compiled Code)
        at java.awt.Component.dispatchEvent(Compiled Code)
        at java.awt.EventQueue.dispatchEvent(Compiled Code)
        at java.awt.EventDispatchThread.run(Compiled Code)


I tried to run in debugg mode but it died!!!!

black:rpatel% jdb Fsa
Initializing jdb...
0xb0:class(Fsa)
> run Fsa -interactive -outfile logfile
running ...
main[1]
Current thread "main" died. Execution continuing...
>
Fsa exited


I am using Linux6.0(glibc2.0) jdk1.2(blackdown).
Is there any known problem with this transition??

-Raj


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to