]
Brett Meyer resolved SRAMP-594.
-------------------------------
Fix Version/s: 0.7.0.Final
Resolution: Done
s-ramp:getMetaData command returns npe
--------------------------------------
Key: SRAMP-594
URL:
https://issues.jboss.org/browse/SRAMP-594
Project: S-RAMP
Issue Type: Bug
Affects Versions: 0.6.0.Final
Reporter: Gary Brown
Assignee: Brett Meyer
Fix For: 0.7.0.Final
After working through section 7 in the user guide, I had set the description property on
an artifact and then exited the cli.
When I went back into the console and connected, I then issued the command:
s-ramp:getMetaData feed:15
and got:
{noformat}
java.lang.NullPointerException
at
org.overlord.sramp.shell.commands.core.GetMetaDataCommand.execute(GetMetaDataCommand.java:71)
at org.overlord.sramp.shell.SrampShell.run(SrampShell.java:103)
at org.overlord.sramp.shell.SrampShell.main(SrampShell.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.simontuffs.onejar.Boot.run(Boot.java:340)
at com.simontuffs.onejar.Boot.main(Boot.java:166)
{noformat}