Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-1388

Can't extend Repository defined as an interface

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.9.1
    • 1.9.2
    • Data-Module
    • None

    Description

      When I define my repository of interface like this:

      @Repository
      public interface SuperRepository extends FullEntityRepository< MyEntity, Long>{}

      and try to extend it like this:

      @Repository
      public interface ExtendedRepository extends SuperRepository {} 

       

      I get initialization failure in: org.apache.deltaspike.data.impl.metaEntityMetadataInitializer#init(RepositoryMetadata)[39]

      Caused by: java.lang.NullPointerException
      rcs-cps | at deployment.rcs-cps-deployable.war//org.apache.deltaspike.data.impl.meta.EntityMetadataInitializer.init(EntityMetadataInitializer.java:39)
      rcs-cps | at deployment.rcs-cps-deployable.war//org.apache.deltaspike.data.impl.meta.EntityMetadataInitializer$Proxy$_$$_WeldClientProxy.init(Unknown Source)
      rcs-cps | at deployment.rcs-cps-deployable.war//org.apache.deltaspike.data.impl.meta.RepositoryMetadataInitializer.init(RepositoryMetadataInitializer.java:83)
      rcs-cps | at deployment.rcs-cps-deployable.war//org.apache.deltaspike.data.impl.meta.RepositoryMetadataInitializer$Proxy$_$$_WeldClientProxy.init(Unknown Source)
      rcs-cps | at deployment.rcs-cps-deployable.war//org.apache.deltaspike.data.impl.meta.RepositoryMetadataHandler.init(RepositoryMetadataHandler.java:50)

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              twyszomirski Tomasz Wyszomirski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m