Problem serializing Exceptions with OSGIObjectOutputStream

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem serializing Exceptions with OSGIObjectOutputStream

Peter Hermsdorf-2
Hi,

after upgrading to the latest ECF release i faced another problem with
the "new" serialization.

Serializing Exceptions lead to StackOverflow errors.

I created a bug report with test case
https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082


Bonus question: What was the intention/use case/requirement for
implementing "another serialization" (OSGIObjectOutputStream)?


Thanks, Bye Peter


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem serializing Exceptions with OSGIObjectOutputStream

Scott Lewis-2
On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:

> Hi,
>
> after upgrading to the latest ECF release i faced another problem with
> the "new" serialization.
>
> Serializing Exceptions lead to StackOverflow errors.
>
> I created a bug report with test case
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082
>
>
> Bonus question: What was the intention/use case/requirement for
> implementing "another serialization" (OSGIObjectOutputStream)?

To support OSGi R7 intents.   'osgi.basic' intent requires being able to
serialize Version, DTOs and a few other OSGi classes [1] when they
appear as arguments or return values.

Scott

[1]
https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic

>
>
> Thanks, Bye Peter
>
>
> _______________________________________________
> ecf-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ecf-dev


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem serializing Exceptions with OSGIObjectOutputStream

Scott Lewis-2
I've fixed the issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082

and added test code to verify.

I've also prepared the feature changes for a 3.14.4 release, which will
go to M2, given that M1 came out last Friday.

I would like to hear about people's view of timing for 3.14.4.   I would
like to wait a week or two (certainly before the end of October), so
more testing can occur, but am willing to build/release 3.14.4 sooner if
desired...and if Mat will agree to publish the new bundle to maven central.

Thanks,

Scott



On 10/12/2018 11:17 AM, Scott Lewis wrote:

> On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:
>> Hi,
>>
>> after upgrading to the latest ECF release i faced another problem
>> with the "new" serialization.
>>
>> Serializing Exceptions lead to StackOverflow errors.
>>
>> I created a bug report with test case
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082
>>
>>
>> Bonus question: What was the intention/use case/requirement for
>> implementing "another serialization" (OSGIObjectOutputStream)?
>
> To support OSGi R7 intents.   'osgi.basic' intent requires being able
> to serialize Version, DTOs and a few other OSGi classes [1] when they
> appear as arguments or return values.
>
> Scott
>
> [1]
> https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic
>
>>
>>
>> Thanks, Bye Peter
>>
>>
>> _______________________________________________
>> ecf-dev mailing list
>> [hidden email]
>> To change your delivery options, retrieve your password, or
>> unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
>
>
> _______________________________________________
> ecf-dev mailing list
> [hidden email]
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/ecf-dev


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem serializing Exceptions with OSGIObjectOutputStream

Peter Hermsdorf-2

Thanks for the fix.

Before end of October would be good. We are still testing for more issues.

Bye Peter


Am 14.10.2018 um 00:39 schrieb Scott Lewis:
I've fixed the issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082

and added test code to verify.

I've also prepared the feature changes for a 3.14.4 release, which will go to M2, given that M1 came out last Friday.

I would like to hear about people's view of timing for 3.14.4.   I would like to wait a week or two (certainly before the end of October), so more testing can occur, but am willing to build/release 3.14.4 sooner if desired...and if Mat will agree to publish the new bundle to maven central.

Thanks,

Scott



On 10/12/2018 11:17 AM, Scott Lewis wrote:
On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:
Hi,

after upgrading to the latest ECF release i faced another problem with the "new" serialization.

Serializing Exceptions lead to StackOverflow errors.

I created a bug report with test case https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082


Bonus question: What was the intention/use case/requirement for implementing "another serialization" (OSGIObjectOutputStream)?

To support OSGi R7 intents.   'osgi.basic' intent requires being able to serialize Version, DTOs and a few other OSGi classes [1] when they appear as arguments or return values.

Scott

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic



Thanks, Bye Peter

_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem serializing Exceptions with OSGIObjectOutputStream

Scott Lewis-2
It seems that the 2018-12 M2+0 is on Friday Nov 2 [1].

For inclusion in the platform +0 release it would probably be best for us to do the build/release during the previous week...i.e. week of Oct 22nd.

I've scheduled our 3.14.4 release for Oct 26 [2].

Scott

[1] https://wiki.eclipse.org/SimRel/2018-12/Simultaneous_Release_Plan
[2] https://projects.eclipse.org/projects/rt.ecf/releases/3.14.4

On 10/15/2018 6:23 AM, Peter Hermsdorf wrote:

Thanks for the fix.

Before end of October would be good. We are still testing for more issues.

Bye Peter


Am 14.10.2018 um 00:39 schrieb Scott Lewis:
I've fixed the issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082

and added test code to verify.

I've also prepared the feature changes for a 3.14.4 release, which will go to M2, given that M1 came out last Friday.

I would like to hear about people's view of timing for 3.14.4.   I would like to wait a week or two (certainly before the end of October), so more testing can occur, but am willing to build/release 3.14.4 sooner if desired...and if Mat will agree to publish the new bundle to maven central.

Thanks,

Scott



On 10/12/2018 11:17 AM, Scott Lewis wrote:
On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:
Hi,

after upgrading to the latest ECF release i faced another problem with the "new" serialization.

Serializing Exceptions lead to StackOverflow errors.

I created a bug report with test case https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082


Bonus question: What was the intention/use case/requirement for implementing "another serialization" (OSGIObjectOutputStream)?

To support OSGi R7 intents.   'osgi.basic' intent requires being able to serialize Version, DTOs and a few other OSGi classes [1] when they appear as arguments or return values.

Scott

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic



Thanks, Bye Peter


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev



_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev
Reply | Threaded
Open this post in threaded view
|

Re: Problem serializing Exceptions with OSGIObjectOutputStream

Scott Lewis-2
I've noticed/realized that EclipseCon Europe is the week of Oct 22, so I've moved 3.14.4 up to *October 20, 2018*

Please see updated [2].

Scott


On 10/15/2018 8:15 AM, Scott Lewis wrote:
It seems that the 2018-12 M2+0 is on Friday Nov 2 [1].

For inclusion in the platform +0 release it would probably be best for us to do the build/release during the previous week...i.e. week of Oct 22nd.

I've scheduled our 3.14.4 release for Oct 26 [2].

Scott

[1] https://wiki.eclipse.org/SimRel/2018-12/Simultaneous_Release_Plan
[2] https://projects.eclipse.org/projects/rt.ecf/releases/3.14.4

On 10/15/2018 6:23 AM, Peter Hermsdorf wrote:

Thanks for the fix.

Before end of October would be good. We are still testing for more issues.

Bye Peter


Am 14.10.2018 um 00:39 schrieb Scott Lewis:
I've fixed the issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082

and added test code to verify.

I've also prepared the feature changes for a 3.14.4 release, which will go to M2, given that M1 came out last Friday.

I would like to hear about people's view of timing for 3.14.4.   I would like to wait a week or two (certainly before the end of October), so more testing can occur, but am willing to build/release 3.14.4 sooner if desired...and if Mat will agree to publish the new bundle to maven central.

Thanks,

Scott



On 10/12/2018 11:17 AM, Scott Lewis wrote:
On 10/12/2018 5:48 AM, Peter Hermsdorf wrote:
Hi,

after upgrading to the latest ECF release i faced another problem with the "new" serialization.

Serializing Exceptions lead to StackOverflow errors.

I created a bug report with test case https://bugs.eclipse.org/bugs/show_bug.cgi?id=540082


Bonus question: What was the intention/use case/requirement for implementing "another serialization" (OSGIObjectOutputStream)?

To support OSGi R7 intents.   'osgi.basic' intent requires being able to serialize Version, DTOs and a few other OSGi classes [1] when they appear as arguments or return values.

Scott

[1] https://osgi.org/specification/osgi.cmpn/7.0.0/service.remoteservices.html#service.remoteservices-osgi.basic



Thanks, Bye Peter


_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev




_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev



_______________________________________________
ecf-dev mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/ecf-dev