Issue 157 in utgb: Failed to deploy utgb (utgb server command)

2 views
Skip to first unread message

ut...@googlecode.com

unread,
Mar 23, 2011, 5:47:16 AM3/23/11
to utgb-...@googlegroups.com
Status: Accepted
Owner: taroleo
Labels: Type-Defect Priority-Critical Milestone-utgb-toolkit-1.5
AffectedVersion-1.5.2 OpSys-All Component-utgb-core FixedVersion-NA

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.


ut...@googlecode.com

unread,
Mar 23, 2011, 11:17:31 PM3/23/11
to utgb-...@googlegroups.com
Updates:
Status: Fixed
Labels: -Component-utgb-core -FixedVersion-NA Component-utgb-shell
FixedVersion-1.5.4

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.

Reply all
Reply to author
Forward
0 new messages