1

I'm running my java application as bundle on osgi framework, i made a commands to use in the console, most of them working normally a little throwing this exception :

osgi> create name refaat
gogo: InvocationTargetException: null
osgi> 

as you see there is no trace provided by the InvocationTargetException and i don't know where is the issue here, how can i trace that exception or trace the exception it wrapped?

Muhammed Refaat
  • 8,914
  • 14
  • 83
  • 118

1 Answers1

2

After your failing command, you can run

$exception printstacktrace

or just

$exception

to get the exception information. Otherwise try the log(s) of your OSGI runtime.

http://felix.apache.org/site/rfc-147-overview.html

Sheena Artrip
  • 1,990
  • 12
  • 16