Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-22386

InfinispanBean.isExpired fails with SE 15

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • Clustering
    • None
    • False
    • False
    • Undefined

      One of the failures on our runs using SE 15[1] is:

      org.mockito.exceptions.base.MockitoException: 
      Cannot call abstract real method on java object!
      Calling real methods is only possible when mocking non abstract method.
        //correct example:
        when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
      org.mockito.exceptions.base.MockitoException: 
      
      Cannot call abstract real method on java object!
      Calling real methods is only possible when mocking non abstract method.
        //correct example:
        when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
      	at org.wildfly.clustering.ejb.infinispan.bean.InfinispanBean.isExpired(InfinispanBean.java:79)
      	at org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanTestCase.isExpired(InfinispanBeanTestCase.java:97)
      

      [1] https://ci.wildfly.org/viewLog.html?buildId=255309&tab=buildResultsDiv&buildTypeId=WF_Ee9LinuxJdk15

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: