You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2009/01/30 13:42:00 UTC

[jira] Commented: (SLING-846) IllegalStateException: "The service registration is no longer valid" at launchpad tests shutdown

    [ https://issues.apache.org/jira/browse/SLING-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12668844#action_12668844 ] 

Felix Meschberger commented on SLING-846:
-----------------------------------------

Yes this is in fact the same as FELIX-869. Unfortunately the 1.4.0 and 1.4.1 releases of the framework have a bug in the ServiceReference.hasCode() method which causes it to throw the IllegalStateException if the service has been unregistered. I also noticed this and am working on a solution to this....

Currently -- for Sling -- we have two options: fall back to 1.0.4 or step up to 1.5.0-SNAPSHOT.

Falling back to 1.0.4 is not a very good option IMHO, for one reason is that from my guts feeling 1.4.1 is faster than 1.0.4 and contains lots of fixes and enhancements.

So I think we should go to 1.5.0-SNAPSHOT and thus help the Felix project to get the actual pile of work in the inner guts to be going to a great end.

> IllegalStateException: "The service registration is no longer valid" at launchpad tests shutdown
> ------------------------------------------------------------------------------------------------
>
>                 Key: SLING-846
>                 URL: https://issues.apache.org/jira/browse/SLING-846
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad
>         Environment: macosx, JDK 1.5
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>         Attachments: ise-trace.txt
>
>
> Got this while running a full build of the current trunk (revision 739236)
> 2009-01-30 10:15:00.098::INFO:  Shutdown hook executing
> 2009-01-30 10:15:00.527:/org.apache.sling.launchpad.testing-4-incubator-SNAPSHOT:WARN:  ERROR: EventDispatcher: Error during dispatch. (java.lang.IllegalStateException: The service registration is no longer valid.)
> Will attach the stack trace - I haven't checked yet if this happens every time or randomly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.