Community
Participate
Working Groups
testConnectionRemoval fails on RSE HEAD: java.lang.NullPointerException at org.eclipse.rse.internal.ui.view.SystemTableViewPart.systemResourceChanged(SystemTableViewPart.java:1557) at org.eclipse.rse.ui.internal.model.SystemResourceChangeManager.notify(SystemResourceChangeManager.java:74) at org.eclipse.rse.ui.internal.model.SystemRegistry.fireEvent(SystemRegistry.java:2552) at org.eclipse.rse.tests.internal.RSEConnectionManager.removeConnection(RSEConnectionManager.java:181) at org.eclipse.rse.tests.core.connection.RSEConnectionTestCase.testConnectionRemoval(RSEConnectionTestCase.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Created attachment 75855 [details] Patch fixing the issue Attached patch fixes the problem. When listening for events, SystemTableViewPart would treat EVENT_DELETE the same as EVENT_DELETE_MANY, but they have different kinds of source parameter.
Patch committed: [199585] Fix NPE during testConnectionRemoval unit test SystemTableViewPart.java 1.22