The following exception is thrown when the apply button is pressed for clustering or heatmap using the PKinase test set.
(latest rev 75ad37e00ec1c5e86b49da81610c438ee509ae00)
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at edu.udo.scaffoldhunter.view.components.clustering.StartClusteringPane
l$ValidationProgressListener.finished(StartClusteringPanel.java:798)
at edu.udo.scaffoldhunter.view.components.clustering.StartClusteringPane
l$ValidationProgressListener.finished(StartClusteringPanel.java:777)
at edu.udo.scaffoldhunter.util.ProgressSupport.finished(ProgressSupport.
java:62)
at edu.udo.scaffoldhunter.gui.util.ProgressWorker$5.run(ProgressWorker.j
ava:135)
at edu.udo.scaffoldhunter.gui.util.ProgressWorker.finished(ProgressWorke
r.java:139)
at edu.udo.scaffoldhunter.gui.util.ProgressWorker.done(ProgressWorker.ja
va:197)
at edu.udo.scaffoldhunter.gui.util.SwingWorker$4.run(SwingWorker.java:78
1)
at edu.udo.scaffoldhunter.gui.util.SwingWorker$DoSubmitAccumulativeRunna
ble.run(SwingWorker.java:935)
at edu.udo.scaffoldhunter.gui.util.AccumulativeRunnable.run(Accumulative
Runnable.java:114)
at edu.udo.scaffoldhunter.gui.util.SwingWorker$DoSubmitAccumulativeRunna
ble.actionPerformed(SwingWorker.java:958)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$300(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Everything works fine here.
Can you please provide some information about the clustering settings, i.e. Properties and DIstance. Furthermore, did you tried to cluster the complete dataset with 50k Molecules?
The only way a null may be returned here is, that another exceptions occured before. Did you noticed any popup window with some exceptipn. Is anything logged? May this be an OutOfMemory Exception? They sometimes behave quite strage.
I was now able to reproduce this with undefined properties in the dataset:
-> It is fixed in [ee02a65]
The problem was the return of an unmodifiableSet in Subset#getMolecules. This caused the DbManager filtering to crash, as it tried to insert something in this list. (It now uses an explicit add-Method)
This error was introduced after the last release. Therefore it should not have affected any "End-User".
closing as "no milestone" as this has not affected any release.