Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-838

NPE in CdiExtensionPoints if any bean is in Java root package

    Details

      Description

      Any CDI deployment with beans in the root package fails.

      java.lang.NullPointerException
      	at org.jboss.errai.cdi.server.CDIExtensionPoints.observeResources(CDIExtensionPoints.java:203)
      	at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      

      The problematic call is type.getJavaClass().getPackage().getName().

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csa Christian Sadilek
                Reporter:
                christian.bauer Christian Bauer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: