You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@deltaspike.apache.org by Thomas Kernstock <t....@e-technologies.at> on 2020/02/25 19:44:36 UTC

Update to Deltaspike 1.9.3 ?

Hi guys,

I have a weird problem but since I don�t know if it�s my fault I don�t want to create a new issue.

I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a Webproject for Payarafish, developing with Eclipse IDE 2019-12 with JBoss Tools 4.13.0 Final on JDK 8.

Simplified I have 2 projects - one which contains JPA entities and common classes which I inject in the JSF (=second) project. Everything is fine up to now.

But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I receive a nullpointer exception:
Plug-In: org.jboss.tools.cdi.core
Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project '123_Web'.
Session Date in Error Message:
eclipse.buildId=4.14.0.I20191210-0610
java.version=1.8.0_221
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

After that, Eclipse shows a warning on all @Injects from my JPA project -> �No bean is eligible for injection to the injection point [JSR-365 §5.2.2]�

As soon as revert to 1.8.2 an rebuild the project everything is fine again.

Any ideas what could be wrong? Is this a known issue?

best regards
Thomas

Re: Update to Deltaspike 1.9.3 ?

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
No problem, you might not be the only one having the problem.
Great to hear all is working well again!

LieGrue,
strub


> Am 26.02.2020 um 16:23 schrieb Thomas Kernstock <t....@e-technologies.at>:
> 
> Hi Guys
> 
> I'm sooooo sorry. Please forget my mail. 
> 
> It was simply a problem in 2 of the eclipse configuration files that isn't obviously shown in the project explorer view in eclipse. After correcting the entries everything works fine.
> 
> Sorry again.
> 
> Br
> Thomas
> 
> -----Ursprüngliche Nachricht-----
> Von: Thomas Andraschko <an...@gmail.com> 
> Gesendet: Mittwoch, 26. Februar 2020 11:38
> An: users@deltaspike.apache.org
> Betreff: Re: Update to Deltaspike 1.9.3 ?
> 
> Did you try deltaspike.bean-manager.delegate_lookup = false?
> 
> Am Mi., 26. Feb. 2020 um 10:51 Uhr schrieb Thomas Kernstock <
> t.kernstock@e-technologies.at>:
> 
>> Servus Mark,
>> 
>> unfortunately not. The only thing that's logged in the eclipse logfile is:
>> 
>> !ENTRY org.eclipse.core.resources 4 75 2020-02-25 20:06:53.890 
>> !MESSAGE Errors occurred during the build.
>> !SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2020-02-25 20:06:53.890 
>> !MESSAGE Errors running builder 'CDI (Contexts and Dependency 
>> Injection) Builder' on project '123_Web'.
>> !STACK 0
>> java.lang.NullPointerException
>> 
>> I also couldn't find a way to get a more detailed info or stacktrace 
>> on this error.
>> Sorry.
>> 
>> Lg
>> Thomas
>> 
>> 
>> -----Ursprüngliche Nachricht-----
>> Von: Mark Struberg <st...@yahoo.de.INVALID>
>> Gesendet: Dienstag, 25. Februar 2020 22:42
>> An: users@deltaspike.apache.org
>> Betreff: Re: Update to Deltaspike 1.9.3 ?
>> 
>> Hi Thomas!
>> 
>> Do you have a stacktrace?
>> 
>> LieGrue,
>> strub
>> 
>> 
>>> Am 25.02.2020 um 20:44 schrieb Thomas Kernstock <
>> t.kernstock@e-technologies.at>:
>>> 
>>> Hi guys,
>>> 
>>> I have a weird problem but since I don’t know if it’s my fault I 
>>> don’t
>> want to create a new issue.
>>> 
>>> I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a
>> Webproject for Payarafish, developing with Eclipse IDE 2019-12 with 
>> JBoss Tools 4.13.0 Final on JDK 8.
>>> 
>>> Simplified I have 2 projects - one which contains JPA entities and
>> common classes which I inject in the JSF (=second) project. Everything 
>> is fine up to now.
>>> 
>>> But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I 
>>> receive
>> a nullpointer exception:
>>> Plug-In: org.jboss.tools.cdi.core
>>> Errors running builder 'CDI (Contexts and Dependency Injection) Builder'
>> on project '123_Web'.
>>> Session Date in Error Message:
>>> eclipse.buildId=4.14.0.I20191210-0610
>>> java.version=1.8.0_221
>>> java.vendor=Oracle Corporation
>>> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT 
>>> Framework arguments:  -product org.eclipse.epp.package.jee.product
>>> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
>>> org.eclipse.epp.package.jee.product
>>> 
>>> After that, Eclipse shows a warning on all @Injects from my JPA 
>>> project
>> -> “No bean is eligible for injection to the injection point [JSR-365
>> ยง5.2.2]”
>>> 
>>> As soon as revert to 1.8.2 an rebuild the project everything is fine
>> again.
>>> 
>>> Any ideas what could be wrong? Is this a known issue?
>>> 
>>> best regards
>>> Thomas
>> 
>> 


AW: Update to Deltaspike 1.9.3 ?

Posted by Thomas Kernstock <t....@e-technologies.at>.
Hi Guys

I'm sooooo sorry. Please forget my mail. 

It was simply a problem in 2 of the eclipse configuration files that isn't obviously shown in the project explorer view in eclipse. After correcting the entries everything works fine.

Sorry again.

Br
Thomas

-----Ursprüngliche Nachricht-----
Von: Thomas Andraschko <an...@gmail.com> 
Gesendet: Mittwoch, 26. Februar 2020 11:38
An: users@deltaspike.apache.org
Betreff: Re: Update to Deltaspike 1.9.3 ?

Did you try deltaspike.bean-manager.delegate_lookup = false?

Am Mi., 26. Feb. 2020 um 10:51 Uhr schrieb Thomas Kernstock <
t.kernstock@e-technologies.at>:

> Servus Mark,
>
> unfortunately not. The only thing that's logged in the eclipse logfile is:
>
> !ENTRY org.eclipse.core.resources 4 75 2020-02-25 20:06:53.890 
> !MESSAGE Errors occurred during the build.
> !SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2020-02-25 20:06:53.890 
> !MESSAGE Errors running builder 'CDI (Contexts and Dependency 
> Injection) Builder' on project '123_Web'.
> !STACK 0
> java.lang.NullPointerException
>
> I also couldn't find a way to get a more detailed info or stacktrace 
> on this error.
> Sorry.
>
> Lg
> Thomas
>
>
> -----Ursprüngliche Nachricht-----
> Von: Mark Struberg <st...@yahoo.de.INVALID>
> Gesendet: Dienstag, 25. Februar 2020 22:42
> An: users@deltaspike.apache.org
> Betreff: Re: Update to Deltaspike 1.9.3 ?
>
> Hi Thomas!
>
> Do you have a stacktrace?
>
> LieGrue,
> strub
>
>
> > Am 25.02.2020 um 20:44 schrieb Thomas Kernstock <
> t.kernstock@e-technologies.at>:
> >
> > Hi guys,
> >
> > I have a weird problem but since I don’t know if it’s my fault I 
> > don’t
> want to create a new issue.
> >
> > I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a
> Webproject for Payarafish, developing with Eclipse IDE 2019-12 with 
> JBoss Tools 4.13.0 Final on JDK 8.
> >
> > Simplified I have 2 projects - one which contains JPA entities and
> common classes which I inject in the JSF (=second) project. Everything 
> is fine up to now.
> >
> > But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I 
> > receive
> a nullpointer exception:
> > Plug-In: org.jboss.tools.cdi.core
> > Errors running builder 'CDI (Contexts and Dependency Injection) Builder'
> on project '123_Web'.
> > Session Date in Error Message:
> > eclipse.buildId=4.14.0.I20191210-0610
> > java.version=1.8.0_221
> > java.vendor=Oracle Corporation
> > BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT 
> > Framework arguments:  -product org.eclipse.epp.package.jee.product
> > Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
> > org.eclipse.epp.package.jee.product
> >
> > After that, Eclipse shows a warning on all @Injects from my JPA 
> > project
> -> “No bean is eligible for injection to the injection point [JSR-365
> ยง5.2.2]”
> >
> > As soon as revert to 1.8.2 an rebuild the project everything is fine
> again.
> >
> > Any ideas what could be wrong? Is this a known issue?
> >
> > best regards
> > Thomas
>
>

Re: Update to Deltaspike 1.9.3 ?

Posted by Thomas Andraschko <an...@gmail.com>.
Did you try deltaspike.bean-manager.delegate_lookup = false?

Am Mi., 26. Feb. 2020 um 10:51 Uhr schrieb Thomas Kernstock <
t.kernstock@e-technologies.at>:

> Servus Mark,
>
> unfortunately not. The only thing that's logged in the eclipse logfile is:
>
> !ENTRY org.eclipse.core.resources 4 75 2020-02-25 20:06:53.890
> !MESSAGE Errors occurred during the build.
> !SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2020-02-25 20:06:53.890
> !MESSAGE Errors running builder 'CDI (Contexts and Dependency Injection)
> Builder' on project '123_Web'.
> !STACK 0
> java.lang.NullPointerException
>
> I also couldn't find a way to get a more detailed info or stacktrace on
> this error.
> Sorry.
>
> Lg
> Thomas
>
>
> -----Ursprüngliche Nachricht-----
> Von: Mark Struberg <st...@yahoo.de.INVALID>
> Gesendet: Dienstag, 25. Februar 2020 22:42
> An: users@deltaspike.apache.org
> Betreff: Re: Update to Deltaspike 1.9.3 ?
>
> Hi Thomas!
>
> Do you have a stacktrace?
>
> LieGrue,
> strub
>
>
> > Am 25.02.2020 um 20:44 schrieb Thomas Kernstock <
> t.kernstock@e-technologies.at>:
> >
> > Hi guys,
> >
> > I have a weird problem but since I don’t know if it’s my fault I don’t
> want to create a new issue.
> >
> > I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a
> Webproject for Payarafish, developing with Eclipse IDE 2019-12 with JBoss
> Tools 4.13.0 Final on JDK 8.
> >
> > Simplified I have 2 projects - one which contains JPA entities and
> common classes which I inject in the JSF (=second) project. Everything is
> fine up to now.
> >
> > But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I receive
> a nullpointer exception:
> > Plug-In: org.jboss.tools.cdi.core
> > Errors running builder 'CDI (Contexts and Dependency Injection) Builder'
> on project '123_Web'.
> > Session Date in Error Message:
> > eclipse.buildId=4.14.0.I20191210-0610
> > java.version=1.8.0_221
> > java.vendor=Oracle Corporation
> > BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT
> > Framework arguments:  -product org.eclipse.epp.package.jee.product
> > Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product
> > org.eclipse.epp.package.jee.product
> >
> > After that, Eclipse shows a warning on all @Injects from my JPA project
> -> “No bean is eligible for injection to the injection point [JSR-365
> ยง5.2.2]”
> >
> > As soon as revert to 1.8.2 an rebuild the project everything is fine
> again.
> >
> > Any ideas what could be wrong? Is this a known issue?
> >
> > best regards
> > Thomas
>
>

AW: Update to Deltaspike 1.9.3 ?

Posted by Thomas Kernstock <t....@e-technologies.at>.
Servus Mark,

unfortunately not. The only thing that's logged in the eclipse logfile is:

!ENTRY org.eclipse.core.resources 4 75 2020-02-25 20:06:53.890
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 org.jboss.tools.cdi.core 4 75 2020-02-25 20:06:53.890
!MESSAGE Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project '123_Web'.
!STACK 0
java.lang.NullPointerException

I also couldn't find a way to get a more detailed info or stacktrace on this error.
Sorry.

Lg
Thomas


-----Ursprüngliche Nachricht-----
Von: Mark Struberg <st...@yahoo.de.INVALID> 
Gesendet: Dienstag, 25. Februar 2020 22:42
An: users@deltaspike.apache.org
Betreff: Re: Update to Deltaspike 1.9.3 ?

Hi Thomas!

Do you have a stacktrace?

LieGrue,
strub


> Am 25.02.2020 um 20:44 schrieb Thomas Kernstock <t....@e-technologies.at>:
> 
> Hi guys,
> 
> I have a weird problem but since I don’t know if it’s my fault I don’t want to create a new issue.
> 
> I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a Webproject for Payarafish, developing with Eclipse IDE 2019-12 with JBoss Tools 4.13.0 Final on JDK 8.
> 
> Simplified I have 2 projects - one which contains JPA entities and common classes which I inject in the JSF (=second) project. Everything is fine up to now.
> 
> But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I receive a nullpointer exception:
> Plug-In: org.jboss.tools.cdi.core
> Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project '123_Web'.
> Session Date in Error Message:
> eclipse.buildId=4.14.0.I20191210-0610
> java.version=1.8.0_221
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT 
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product 
> org.eclipse.epp.package.jee.product
> 
> After that, Eclipse shows a warning on all @Injects from my JPA project -> “No bean is eligible for injection to the injection point [JSR-365 ยง5.2.2]”
> 
> As soon as revert to 1.8.2 an rebuild the project everything is fine again.
> 
> Any ideas what could be wrong? Is this a known issue?
> 
> best regards
> Thomas


Re: Update to Deltaspike 1.9.3 ?

Posted by Mark Struberg <st...@yahoo.de.INVALID>.
Hi Thomas!

Do you have a stacktrace?

LieGrue,
strub


> Am 25.02.2020 um 20:44 schrieb Thomas Kernstock <t....@e-technologies.at>:
> 
> Hi guys,
> 
> I have a weird problem but since I don’t know if it’s my fault I don’t want to create a new issue.
> 
> I'm using Deltaspike 1.8.2, Primefaces 7.0 and Omnifaces 3.3 in a Webproject for Payarafish, developing with Eclipse IDE 2019-12 with JBoss Tools 4.13.0 Final on JDK 8.
> 
> Simplified I have 2 projects - one which contains JPA entities and common classes which I inject in the JSF (=second) project. Everything is fine up to now.
> 
> But when I simply replace Deltaspike 1.8.2 by Deltaspike 1.9.3 I receive a nullpointer exception:
> Plug-In: org.jboss.tools.cdi.core
> Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project '123_Web'.
> Session Date in Error Message:
> eclipse.buildId=4.14.0.I20191210-0610
> java.version=1.8.0_221
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_AT
> Framework arguments:  -product org.eclipse.epp.package.jee.product
> Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product
> 
> After that, Eclipse shows a warning on all @Injects from my JPA project -> “No bean is eligible for injection to the injection point [JSR-365 ยง5.2.2]”
> 
> As soon as revert to 1.8.2 an rebuild the project everything is fine again.
> 
> Any ideas what could be wrong? Is this a known issue?
> 
> best regards
> Thomas