Working on resolving OSGi wiring problem:
13:07:30.359 INFO o.l.igb.appstore.IgbAppServer - contextRoot: manageApp
Exception in thread "NanoHttpd Request Processor (#1)" 13:07:30.379 INFO o.l.igb.appstore.IgbAppServer - contextRoot: manageApp
java.lang.LinkageError: loader constraint violation: when resolving interface method "org.lorainelab.igb.plugin.manager.service.PluginManagerService.manageApp(Lcom/google/gson/JsonObject;)Lfi/iki/elonen/NanoHTTPD$Response;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/lorainelab/igb/appstore/IgbAppServer, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/lorainelab/igb/plugin/manager/service/PluginManagerService, have different Class objects for the type com/google/gson/JsonObject used in the signature
at org.lorainelab.igb.appstore.IgbAppServer.manageApp(IgbAppServer.java:123)
at org.lorainelab.igb.appstore.IgbAppServer.processRequest(IgbAppServer.java:94)
at org.lorainelab.igb.appstore.IgbAppServer.serve(IgbAppServer.java:64)
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:904)
at fi.iki.elonen.NanoHTTPD$1$1.run(NanoHTTPD.java:188)
at java.lang.Thread.run(Thread.java:748)
Exception in thread "NanoHttpd Request Processor (#2)" java.lang.LinkageError: loader constraint violation: when resolving interface method "org.lorainelab.igb.plugin.manager.service.PluginManagerService.manageApp(Lcom/google/gson/JsonObject;)Lfi/iki/elonen/NanoHTTPD$Response;" the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) of the current class, org/lorainelab/igb/appstore/IgbAppServer, and the class loader (instance of org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5) for the method's defining class, org/lorainelab/igb/plugin/manager/service/PluginManagerService, have different Class objects for the type com/google/gson/JsonObject used in the signature
at org.lorainelab.igb.appstore.IgbAppServer.manageApp(IgbAppServer.java:123)
at org.lorainelab.igb.appstore.IgbAppServer.processRequest(IgbAppServer.java:94)
at org.lorainelab.igb.appstore.IgbAppServer.serve(IgbAppServer.java:64)
at fi.iki.elonen.NanoHTTPD$HTTPSession.execute(NanoHTTPD.java:904)
at fi.iki.elonen.NanoHTTPD$1$1.run(NanoHTTPD.java:188)
at java.lang.Thread.run(Thread.java:748)
Committed first draft of code on my fork.
https://bitbucket.org/rpatil14/riddhifork-igb/commits/d428f322450564d1e4a85457bf7ddc250b1c33da
I will be now testing the entire flow and fix issues if any
[~aloraine]