-
Bug
-
Resolution: Fixed
-
P2
-
5.0, 6
-
b50
-
generic, x86
-
generic, linux, windows_2000
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2119927 | 5.0u6 | Shannon Hickey | P2 | Resolved | Fixed | b03 |
J2SE Version (please include all output from java -version flag):
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b32)
Java HotSpot(TM) Client VM (build 1.5.0-beta2-b32, mixed mode)
Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one)
No, it works fine with 1.4.2
Operating System Configuration Information (be specific):
Windows 2000
Solaris Sparc
Bug Description:
When running the Apache Axis tcpmon utility (a Swing based utility),
it throws an NullPointerException exception:
C:\>\j2sdk1.5.0\bin\java -classpath c:\axis-1_1rc2\axis-1_1RC2\lib\axis.jar
org.apache.axis.utils.tcpmon
java.lang.NullPointerException
at org.apache.axis.utils.tcpmon$8.valueChanged(tcpmon.java:1426)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:187)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:167)
at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSel
ectionModel.java:214)
at
javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSele
ctionModel.java:408)
at
javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSele
ctionModel.java:417)
at
javax.swing.DefaultListSelectionModel.removeSelectionIntervalImpl(Def
aultListSelectionModel.java:510)
at
javax.swing.DefaultListSelectionModel.removeSelectionInterval(Default
ListSelectionModel.java:482)
at javax.swing.JTable.checkLeadAnchor(JTable.java:2963)
at javax.swing.JTable.tableRowsInserted(JTable.java:3079)
at javax.swing.JTable.tableChanged(JTable.java:3013)
at
javax.swing.table.AbstractTableModel.fireTableChanged(AbstractTableMo
del.java:280)
at
javax.swing.table.AbstractTableModel.fireTableRowsInserted(AbstractTa
bleModel.java:215)
at
javax.swing.table.DefaultTableModel.insertRow(DefaultTableModel.java:
349)
at
javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.java:323
)
at
javax.swing.table.DefaultTableModel.addRow(DefaultTableModel.java:334
)
at org.apache.axis.utils.tcpmon$Listener.<init>(tcpmon.java:1474)
at org.apache.axis.utils.tcpmon$5.actionPerformed(tcpmon.java:431)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:18
34)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.jav
a:2152)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
istener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5463)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3052)
at java.awt.Component.processEvent(Component.java:5228)
at java.awt.Container.processEvent(Container.java:1961)
at java.awt.Component.dispatchEventImpl(Component.java:3931)
at java.awt.Container.dispatchEventImpl(Container.java:2019)
at java.awt.Component.dispatchEvent(Component.java:3779)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4203
)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3883)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3813)
at java.awt.Container.dispatchEventImpl(Container.java:2005)
at java.awt.Window.dispatchEventImpl(Window.java:1757)
at java.awt.Component.dispatchEvent(Component.java:3779)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:234)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:163)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Steps to Reproduce (be specific):
1. Start tcpmon by entering the command-line:
java -classpath axis.jar org.apache.axis.utils.tcpmon
2. Enter in some values in the fields:
Listen Port# -> 9999
Target Hostname -> www.cnn.com
Target Port# -> 80
And click Add.
3. NPE exception thrown
- backported by
-
JDK-2119927 REGRESSION: JVM crash with NPE exception when run apache Axis tcpmon utility
-
- Resolved
-
- duplicates
-
JDK-6315267 javax.swing.JTable.setRowSorter(RowSorter) method doesn't clear selection in some cases
-
- Closed
-
-
JDK-6319952 REGRESSION: 5.0 can throw a RTE if a ListSelectionListener is used and setModel() is executed
-
- Closed
-
-
JDK-6236783 JTable constructor calls columnSelectionChanged()
-
- Closed
-
- relates to
-
JDK-6340202 REGRESSION: Testcase 4890345 is failing with 50u6_b3 but passing with 50u6_b2
-
- Resolved
-
-
JDK-4905083 PIT:F2 does not take focus on the Editable combo in table
-
- Closed
-
-
JDK-5053379 J2SE 1.5 b1 JTable calls ListSelectionModel.setAnchorSelectionIndex(-1)
-
- Closed
-
-
JDK-4303294 Implement discontinuous selection from the keyboard for list-like components
-
- Resolved
-