New issue 157 by taroleo: Failed to deploy utgb (utgb server command)
http://code.google.com/p/utgb/issues/detail?id=157
What steps will reproduce the problem?
1. utgb server
What is the expected output? What do you see instead?
utgb server -g [18:43:06
Mar 23 2011]
[INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building browser 1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-war-plugin:2.0:exploded (default-cli) @ browser ---
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to
C:\Users\leo\work\hg\wormtss-pipeline\browser\target\utgb
[INFO] Copy webapp webResources to
C:\Users\leo\work\hg\wormtss-pipeline\browser\target\utgb
[INFO] Assembling webapp browser in
C:\Users\leo\work\hg\wormtss-pipeline\browser\target\utgb
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.099s
[INFO] Finished at: Wed Mar 23 18:43:18 JST 2011
[INFO] Final Memory: 6M/117M
[INFO]
------------------------------------------------------------------------
[SilkParser] plugin import not found
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:394)
at
org.utgenome.shell.UTGBShellCommand.createContextXML(UTGBShellCommand.java:157)
at org.utgenome.shell.Server.execute(Server.java:75)
at
org.utgenome.shell.UTGBShellCommandBase.execute(UTGBShellCommandBase.java:39)
at
org.xerial.util.opt.CommandModuleBase.execute(CommandModuleBase.java:271)
at
org.xerial.util.opt.CommandLauncher.execute(CommandLauncher.java:87)
at org.utgenome.shell.UTGBShell.runCommand(UTGBShell.java:122)
at org.utgenome.shell.UTGBShell.runCommand(UTGBShell.java:132)
at org.utgenome.shell.UTGBShell.main(UTGBShell.java:145)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
Please use labels and text to provide additional information.
Comment #1 on issue 157 by taroleo: Failed to deploy utgb (utgb server
command)
http://code.google.com/p/utgb/issues/detail?id=157
This problem is caused by context class loader change made by invoking
MavenCLI (embedded Maven client), which wrongly set the context class
loader of the current thread to the Maven's one, resulting in a problem,
SilkParser failed to find Import function class in org.xerial.silk when
reading config files, and subsequent calls to utgb commands were not
properlly configured.