Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: 9.0.1 Minor Release
-
Labels:None
-
Sprint:B - Summer 2018
Description
We tested the command socket (in v9.0.0 and v9.0.1):
- install the Command Socket plugin
- Copy the example script text into a script (make it executable)
- Run the script.
The terminal (where you run the script) says each ncat call was met with "Connection refused".
The IGB console (in IGB, *Help > Show Console* shows the following error:
Exception in thread "Thread-26" java.lang.NullPointerException
at java.net.URLDecoder.decode(URLDecoder.java:136)
at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:108)
at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:102)
at com.affymetrix.igb.swing.script.ScriptManager.runScriptString(ScriptManager.java:128)
at org.lorainelab.igbr.CommandProcessor.recieveIgbCommand(CommandProcessor.java:38)
at org.lorainelab.igbr.CommandProcessor.run(CommandProcessor.java:48)
at org.lorainelab.igbr.SocketCommandListener.run(SocketCommandListener.java:41)
at java.lang.Thread.run(Thread.java:745)
Re-test on 9.0.0 after removing all bundles from 9.0.0 bundle cache.
May relate to:
https://jira.transvar.org/browse/IGBF-1182
This bug may be a side effect of imposition of file filter that restricts script file name extensions. Was introduced in https://jira.transvar.org/browse/IGBF-1182
See:
https://bitbucket.org/lorainelab/integrated-genome-browser/src/master/core/igb-swing-ext/src/main/java/com/affymetrix/igb/swing/script/ScriptManager.java?fileviewer=file-view-default (master)
https://bitbucket.org/lorainelab/integrated-genome-browser/src/release-9.0.1/core/igb-swing-ext/src/main/java/com/affymetrix/igb/swing/script/ScriptManager.java?fileviewer=file-view-default (release-9.0.1)
FYI:
See https://confluence.atlassian.com/bitbucket/hyperlinking-to-source-code-in-bitbucket-824476709.html#HyperlinkingtosourcecodeinBitbucket-SourceviewURL for how to link directly to latest version of source code on a particular branch.