Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327749 - [r-OSGi] NPE on shutdown (in TCPChannelFactory)
Summary: [r-OSGi] NPE on shutdown (in TCPChannelFactory)
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.providers (show other bugs)
Version: 3.2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.4.0   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-14 06:01 EDT by R. Oldenburg CLA
Modified: 2010-10-14 06:21 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (4.57 KB, application/octet-stream)
2010-10-14 06:21 EDT, Markus Kuppe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description R. Oldenburg CLA 2010-10-14 06:01:00 EDT
Build Identifier: Helios Service Release 1 - 20100917-0705

Seems to be a revival of BUG 234444...
https://bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=234444

ch.ethz.iks.r_osgi.remote_1.0.0.RC4_v20100913-1814) which is installed together with the current ECF version seems to still contain the problematic code:

ch.ethz.iks.r_osgi.impl.TCPChannelFactory.deactivate(TCPChannelFactory.java:96):
thread.interrupt();

Instead it presumably should be:
if (thread != null) {
    thread.interrupt();
}


Reproducible: Always

Steps to Reproduce:
1. Create Project with R_OSGI-Remoting (In my case RCP-Client, OSGI-Backend with Hibernate and ECF with DS and R_OSGI remoting)
2. Exit Client after remoting is successfully working
Comment 1 Markus Kuppe CLA 2010-10-14 06:21:54 EDT
This happens if the patch/fix is not reported upstream (http://r-osgi.sf.net).

https://sourceforge.net/tracker/?func=detail&aid=3087310&group_id=158382&atid=807609
Comment 2 Markus Kuppe CLA 2010-10-14 06:21:56 EDT
Created attachment 180868 [details]
mylyn/context/zip