Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 8.4.0 Major Release
-
Labels:None
-
Epic Link:
-
Sprint:Sprint 20
Description
Under Preferences within the data sources tab, a null pointer exception is generated when adding or editing a source with an incorrect URL format, such as just "http" (with no colon or slashes).
See the comment below for the exception.
12:54:55.715 ERROR c.a.genometry.thread.CThreadWorker - null
java.lang.NullPointerException: null
at com.lorainelab.quickload.util.QuickloadUtils.isValidRequest(QuickloadUtils.java:183) ~[na:na]
at com.lorainelab.quickload.util.QuickloadUtils.getInputStream(QuickloadUtils.java:203) ~[na:na]
at com.lorainelab.quickload.util.QuickloadUtils.loadSupportedGenomeVersionInfo(QuickloadUtils.java:100) ~[na:na]
at com.lorainelab.quickload.QuickloadDataProvider.populateSupportedGenomeVersionInfo(QuickloadDataProvider.java:93) ~[na:na]
at com.lorainelab.quickload.QuickloadDataProvider.initialize(QuickloadDataProvider.java:71) ~[na:na]
at com.affymetrix.igb.general.DataProviderManager.initializeDataProvider(DataProviderManager.java:241) ~[na:na]
at com.affymetrix.igb.general.DataProviderManager.addDataProvider(DataProviderManager.java:234) ~[na:na]
at com.affymetrix.igb.prefs.AddDataProvider$5.runInBackground(AddDataProvider.java:297) ~[na:na]
at com.affymetrix.igb.prefs.AddDataProvider$5.runInBackground(AddDataProvider.java:276) ~[na:na]
at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) ~[na:na]
at javax.swing.SwingWorker$1.call(Unknown Source) [na:1.8.0_40]
at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_40]
at javax.swing.SwingWorker.run(Unknown Source) [na:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_40]
at java.lang.Thread.run(Unknown Source) [na:1.8.0_40]
12:54:55.789 ERROR c.a.igb.prefs.AddDataProvider - java.lang.NullPointerException
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(Unknown Source) ~[na:1.8.0_40]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[na:1.8.0_40]
at javax.swing.SwingWorker.get(Unknown Source) ~[na:1.8.0_40]
at com.affymetrix.igb.prefs.AddDataProvider$5.finished(AddDataProvider.java:311) ~[na:na]
at com.affymetrix.genometry.thread.CThreadWorker.done(CThreadWorker.java:51) [genometry-8.4.0.jar:na]
at javax.swing.SwingWorker$5.run(Unknown Source) [na:1.8.0_40]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source) [na:1.8.0_40]
at sun.swing.AccumulativeRunnable.run(Unknown Source) [na:1.8.0_40]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source) [na:1.8.0_40]
at javax.swing.Timer.fireActionPerformed(Unknown Source) [na:1.8.0_40]
at javax.swing.Timer$DoPostEvent.run(Unknown Source) [na:1.8.0_40]
at java.awt.event.InvocationEvent.dispatch(Unknown Source) [na:1.8.0_40]
at java.awt.EventQueue.dispatchEventImpl(Unknown Source) [na:1.8.0_40]
at java.awt.EventQueue.access$500(Unknown Source) [na:1.8.0_40]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_40]
at java.awt.EventQueue$3.run(Unknown Source) [na:1.8.0_40]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_40]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) [na:1.8.0_40]
at java.awt.EventQueue.dispatchEvent(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(Unknown Source) [na:1.8.0_40]
at java.awt.EventDispatchThread.run(Unknown Source) [na:1.8.0_40]
Caused by: java.lang.NullPointerException: null
at com.lorainelab.quickload.util.QuickloadUtils.isValidRequest(QuickloadUtils.java:183) ~[na:na]
at com.lorainelab.quickload.util.QuickloadUtils.getInputStream(QuickloadUtils.java:203) ~[na:na]
at com.lorainelab.quickload.util.QuickloadUtils.loadSupportedGenomeVersionInfo(QuickloadUtils.java:100) ~[na:na]
at com.lorainelab.quickload.QuickloadDataProvider.populateSupportedGenomeVersionInfo(QuickloadDataProvider.java:93) ~[na:na]
at com.lorainelab.quickload.QuickloadDataProvider.initialize(QuickloadDataProvider.java:71) ~[na:na]
at com.affymetrix.igb.general.DataProviderManager.initializeDataProvider(DataProviderManager.java:241) ~[na:na]
at com.affymetrix.igb.general.DataProviderManager.addDataProvider(DataProviderManager.java:234) ~[na:na]
at com.affymetrix.igb.prefs.AddDataProvider$5.runInBackground(AddDataProvider.java:297) ~[na:na]
at com.affymetrix.igb.prefs.AddDataProvider$5.runInBackground(AddDataProvider.java:276) ~[na:na]
at com.affymetrix.genometry.thread.CThreadWorker.doInBackground(CThreadWorker.java:73) [genometry-8.4.0.jar:na]
at javax.swing.SwingWorker$1.call(Unknown Source) ~[na:1.8.0_40]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.8.0_40]
at javax.swing.SwingWorker.run(Unknown Source) ~[na:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:1.8.0_40]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.8.0_40]
at java.lang.Thread.run(Unknown Source) ~[na:1.8.0_40]