dev@glassfish.java.net

Re: V3: NPE on start-domain

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Fri, 29 Feb 2008 15:43:55 -0500

Marina Vatkina wrote:
> I did '\rm -rf ~/.m2/repository/com/sun/grizzly'. But now I did a clean
> build and it fixed the problem.

Great...sorry for the trouble :-)

-- Jeanfrancois

>
> thanks,
> -marina
>
> Jeanfrancois Arcand wrote:
>> No idea. Have you deleted all under ~/.m2/com/sun/grizzly/*
>>
>> That one I'm not getting it, so it seems you have a mismatch of jars.
>>
>> -- Jeanfrancois
>>
>> Marina Vatkina wrote:
>>
>>> No good - now I'm getting
>>>
>>> INFO: Glassfish v3 started in 1453 ms
>>> Exception in thread "Thread-6" java.lang.NoSuchFieldError:
>>> portUnificationFilter
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:150)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initController(SelectorThread.java:673)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.initController(GrizzlyServiceListener.java:107)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:825)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:246)
>>>
>>> Exception in thread "Thread-10" java.lang.NoSuchFieldError:
>>> portUnificationFilter
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:150)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initController(SelectorThread.java:673)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.initController(GrizzlyServiceListener.java:107)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:825)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:246)
>>>
>>> Exception in thread "Thread-8" java.lang.NoSuchFieldError:
>>> portUnificationFilter
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.configureFilters(GrizzlyServiceListener.java:150)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initController(SelectorThread.java:673)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyServiceListener.initController(GrizzlyServiceListener.java:107)
>>>
>>> at
>>> com.sun.grizzly.http.SelectorThread.initEndpoint(SelectorThread.java:825)
>>>
>>> at
>>> com.sun.enterprise.v3.services.impl.GrizzlyProxy$1.run(GrizzlyProxy.java:246)
>>>
>>>
>>> -marina
>>>
>>> Jeanfrancois Arcand wrote:
>>>
>>>>
>>>>
>>>> Kedar Mhaswade wrote:
>>>>
>>>>> Jeanfrancois Arcand wrote:
>>>>>
>>>>>> Delete ~/.m2/repository/com/sun/grizzly
>>>>>>
>>>>>> and rebuild. We re-promoted a jar yesterday that fixed this problem.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> -- Jeanfrancois
>>>>>>
>>>>>> Marina Vatkina wrote:
>>>>>>
>>>>>>> After complete rebuild (minus removed config test), I'm getting
>>>>>>> this NPE:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> JF,
>>>>>
>>>>> but assuming this was "mvn install", shouldn't the latest
>>>>> stable binaries get downloaded as part of build?
>>>>
>>>>
>>>>
>>>> No, because we re-released an official version and Maven would not
>>>> pick it up if it already downloaded 1.7.2. Yes, this is a bad
>>>> practice from us :-)
>>>>
>>>> We usually *avoid* doing that but right now it is better to do that
>>>> than to put v3 in limbo because we have made a lot of changes since
>>>> 1.7.2, and we don't have enough QL to cover our changes right now in
>>>> v3 :-). Next time we gonna either switch to a SNAPSHOT or 1.7.3 :-)
>>>>
>>>> A+
>>>>
>>>> -- Jeanfrancois
>>>>
>>>>
>>>>>
>>>>> - Kedar
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>