Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-8096

redeployingParentClassDoesNotCauseSubclassIncompatibilities encounters ClassNotFoundException exception

    XMLWordPrintableJSON

Details

    Description

      JUnit test failed in this CI run: https://concourse.apachegeode-ci.info/teams/main/pipelines/apache-develop-main/jobs/IntegrationTestOpenJDK8/builds/134#A

      org.apache.geode.internal.ClassPathLoaderJUnitTest > redeployingParentClassDoesNotCauseSubclassIncompatibilities FAILED
      
          java.lang.ClassNotFoundException: jddunit.function.classB
      
              at org.apache.geode.internal.ClassPathLoader.forName(ClassPathLoader.java:186)
      
              at org.apache.geode.internal.ClassPathLoader$1.loadClass(ClassPathLoader.java:366)
      
              at org.apache.geode.internal.ClassPathLoaderJUnitTest.redeployingParentClassDoesNotCauseSubclassIncompatibilities(ClassPathLoaderJUnitTest.java:242)
      

      I ran it 100 times in IntelliJ with no failures. On the theory that maybe we ran out of disk I visually traced through the paths dealing w/ (jar) files and didn't see anywhere where the product might have been swallowing exceptions. So I don't know what went wrong.

      Marked component as serialization because this is testing loading a Jar file that redefines a class which was the base class (of a derived class) loaded previously from a different jar file. Seems like the point of all that is mainly to support users updating their jar files without restarting their JVMs.

      Attachments

        Issue Links

          Activity

            People

              nnag Nabarun Nag
              burcham Bill Burcham
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: