Skip to main content

Failure creating advertisment

2 replies [Last post]
gavinx
Offline
Joined: 2008-01-07

Hi to all,
I am new to JXTA, and i'm trying to study following some basic tutorials...and my question is when i use the command "mkadv" in JXTA Shell 2.4.1, the consequent reponses turn out to be like this:

JXTA>mypipeadv = mkadv pipeadv
# mkadv - Failure creating advertisment
java.lang.NullPointerException
at net.jxta.impl.shell.bin.mkadv.mkadv.startApp(mkadv.java:134)
at net.jxta.impl.shell.ShellApp.exec(ShellApp.java:699)
at net.jxta.impl.shell.bin.Shell.Shell.processCmd(Shell.java:781)
at net.jxta.impl.shell.bin.Shell.Shell.processPipeCmd(Shell.java:897)
at net.jxta.impl.shell.bin.Shell.Shell.processMultipleCmd(Shell.java:804)
at net.jxta.impl.shell.bin.Shell.Shell.runShell(Shell.java:948)
at net.jxta.impl.shell.bin.Shell.Shell.run(Shell.java:181)
at java.lang.Thread.run(Unknown Source)

I upgrade the shell context to 2.5 and nothing changed...
Someone please help or offer some hints, THANKS...

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
raynergomes
Offline
Joined: 2012-05-04

I have same problem!!! Do you found/knew the answer? Thanks.

cuizhf
Offline
Joined: 2007-07-22

JXTA Shell has been obsolete since v2.5 and the newest version of JXTA is v2.7, so I recommend you don't use this tool, use JXTA v2.5 or v2.6 for development instead of v2.4, as for v2.7, in my opinion, it has some bugs which can lead to unexpected exceptions, so you'd better not use it.