Hi Neil,
Yes, I am connected to the Internet
I am able to browser GitHub with my browser
Please find the relevant error message from error log
========================
Message : Failed to load from template loader: Load workspace templates from
GitHub repositories
Exception Stack trace:
org.osgi.util.promise.FailedPromisesException: java.io.IOException:
java.lang.NullPointerException
at org.osgi.util.promise.Promises$All.run(Promises.java:176)
at org.osgi.util.promise.PromiseImpl.notifyCallbacks(PromiseImpl.java:137)
at org.osgi.util.promise.PromiseImpl.resolve(PromiseImpl.java:119)
at org.osgi.util.promise.PromiseImpl$Then.run(PromiseImpl.java:234)
at org.osgi.util.promise.PromiseImpl.notifyCallbacks(PromiseImpl.java:137)
at org.osgi.util.promise.PromiseImpl.resolve(PromiseImpl.java:119)
at org.osgi.util.promise.Deferred.fail(Deferred.java:104)
at org.bndtools.templating.jgit.GitHub$1.run(GitHub.java:34)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: java.lang.NullPointerException
at org.bndtools.templating.jgit.Cache.download(Cache.java:54)
at org.bndtools.templating.jgit.GitHub$1.run(GitHub.java:30)
... 5 more
Caused by: java.lang.NullPointerException
at aQute.lib.io.IO.copy(IO.java:159)
at aQute.lib.io.IO.copy(IO.java:146)
at aQute.lib.io.IO.read(IO.java:281)
at org.bndtools.templating.jgit.Cache.download(Cache.java:27)
... 6 more
Session data:
eclipse.buildId=4.5.2.M20160212-1500
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_IN
Framework arguments: -product org.eclipse.epp.package.rcp.product
Command-line arguments: -os linux -ws gtk -arch x86 -product
org.eclipse.epp.package.rcp.product
========================
________________________________
From: [email protected] <[email protected]> on behalf
of Neil Bartlett <[email protected]>
Sent: 16 August 2016 14:05:57
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
Since you have those entries in the Eclipse Preferences -> Bndtools ->
Workspace Templates panel, it’s possible that an error is occurring while
reading from them.
Are you connected to the internet? Can you browse GitHub with your Web Browser?
Are there any relevant error messages in the Eclipse Error Log view? (You can
open this with Window menu -> Show View -> Other -> General -> Error Log).
Thanks,
Neil
On 16 Aug 2016, at 09:17,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
I did not quite understand that...Can you please help me to cross this barrier
please...
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> on
behalf of Peter Kriens <[email protected]<mailto:[email protected]>>
Sent: 16 August 2016 13:29:54
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
This is about Workspace Templates …
On 16 aug. 2016, at 09:58,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
Hi Peter,
Please find my preferences screen shots attached..
The URL https://github.com/osgi <https://github.com/osgi> in the
"Repositories" was added by me. Still *NO* good result :(
Where does the system look for while loading templates ? May be, we need to add
the right URL there ? Please suggest..
Thanks,
Manoj
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> on
behalf of Peter Kriens <[email protected]<mailto:[email protected]>>
Sent: 16 August 2016 12:59:12
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
Not sure what is going on but you’re missing the templates from the
Preferences/Bndtools/Workspace Template. Did you edit that list?
You should ensure that the `workspace` repository from https://github.com/osgi
is included.
Kind regards,
Peter Kriens
On 16 aug. 2016, at 06:49,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
Hi,
I am unable to select the workspace template as specified in the QST (Quick
Start Tutorial) as I am not getting the options as shown in QST. Please help
Please see the options I am getting in the attachment..
Thanks,
Manoj
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> on
behalf of Peter Kriens <[email protected]<mailto:[email protected]>>
Sent: 12 August 2016 20:07:33
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
You should try to follow the Quick Start tutorial in detail. Looking at your
workspace you’re clearly NOT using an enRoute workspace since the ext and other
directories is missing. So I assume you’ve created a workspace out of nothing?
The QS defines quite explicitly how to start from a workspace. If you have
problems creating the OSGi enRoute workspace you have to show us the steps of
what you did.
Kind regards,
Peter Kriens
On 12 aug. 2016, at 15:59,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
Neil,
Check this attachment..Let me know if you need more info....
Thanks,
Manoj
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> on
behalf of Neil Bartlett <[email protected]<mailto:[email protected]>>
Sent: 12 August 2016 19:23:55
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
Manoj,
You don’t have any libraries on your build path.
What does the content of bnd.bnd look like for this project?
Regards,
Neil
On 12 Aug 2016, at 14:45,
[email protected]<mailto:[email protected]> wrote:
Hi Peter,
I am new to OSGi.. Following the Quick Start tutorial that you suggested...
How do I resolve these errors shown in the attachment?
Thanks,
Manoj
________________________________
From: [email protected]<mailto:[email protected]>
<[email protected]<mailto:[email protected]>> on
behalf of Peter Kriens <[email protected]<mailto:[email protected]>>
Sent: 01 August 2016 16:50:44
To: OSGi Developer Mail List
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
As I said on SO, you should follow the OSGi enRoute Quick Start tutorial and
then the Base tutorial. This should give you sufficient background to debug
your problem yourself.
Kind regards,
Peter Kriens
On 1 aug. 2016, at 12:43,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
Hi Peter,
I am failing to install jetty http service somehow.
Can you point me to the right bundle (dependencies included) to install jetty
http service in my equinox.
Thanks,
Manoj
From: [email protected]<mailto:[email protected]>
[mailto:[email protected]] On Behalf Of Peter Kriens
Sent: 01 August 2016 12:06
To: OSGi Developer Mail List
<[email protected]<mailto:[email protected]>>
Subject: Re: [osgi-dev] Help
** This mail has been sent from an external source **
There are many potential problems so it is hard to diagnose with this
information.
There are extensive tutorials available on [OSGi enRoute][1] that will give you
enough understanding to debug your problem. The default template is actually a
REST interface from a Javascript GUI.
Kind regards,
Peter Kriens
[1]: http://enroute.osgi.org<http://enroute.osgi.org/>
On 1 aug. 2016, at 06:49,
<[email protected]<mailto:[email protected]>>
<[email protected]<mailto:[email protected]>> wrote:
Hi All,
I am new to OSGi. I am trying to write a sample interface hello (consisting of
a method helloWorld() that returns a simple "Hello" string) accessible via
REST API.
* I am on Eclipse (mars) running Equinox 4.2 OSGi
* I have installed Jersey.all ( implementation of JAX-RS- API)
* I have installed the OSGI-JAX-RS connector ( to publish the interface as a
REST API)
* I also have the Jetty HTTP Service running
But I am unable to get the desired results when I say:
"http://localhost:9090/services/hello" (9090 has been configured in the run
configuration, Arguments Tab) from a browser
It gives the following error... Where am I going wrong?
============================================
HTTP ERROR 404
Problem accessing /services/hello Reason:
Proxy servlet /services/hello
Powered by Jetty://
============================================
Thanks,
Manoj
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/>
_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com<http://www.wipro.com/>_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/> <Screenshot
from 2016-08-12 19:12:58.png>_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/><Screenshot from
2016-08-12 19:27:41.png>_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/><Screenshot from
2016-08-16 10:16:55.png>_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/><Screenshot from
2016-08-16 13:24:48.png><Screenshot from 2016-08-16
13:24:55.png>_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com<http://www.wipro.com/>
_______________________________________________
OSGi Developer Mail List
[email protected]<mailto:[email protected]>
https://mail.osgi.org/mailman/listinfo/osgi-dev
The information contained in this electronic message and any attachments to
this message are intended for the exclusive use of the addressee(s) and may
contain proprietary, confidential or privileged information. If you are not the
intended recipient, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately and destroy all copies of this message and
any attachments. WARNING: Computer viruses can be transmitted via email. The
recipient should check this email and any attachments for the presence of
viruses. The company accepts no liability for any damage caused by any virus
transmitted by this email. www.wipro.com
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev