kitswas commented on PR #2712:
URL: https://github.com/apache/accumulo/pull/2712#issuecomment-1134955212

   ```
   [ERROR] Errors: 
   [ERROR]   CompactionCoordinatorTest.testCoordinatorColdStart:274 » 
NullPointer
   [ERROR]   
CompactionCoordinatorTest.testCoordinatorColdStartNoCompactions:217 » 
NullPointer
   [ERROR]   
CompactionCoordinatorTest.testCoordinatorRestartNoRunningCompactions:347 » 
NullPointer
   [ERROR]   
CompactionCoordinatorTest.testCoordinatorRestartOneRunningCompaction:427 » 
NullPointer
   [ERROR]   CompactionCoordinatorTest.testGetCompactionJob:510 » NullPointer
   [ERROR]   CompactionCoordinatorTest.testGetCompactionJobNoJobs:581 » 
NullPointer
   ```
   
   The culprit is the line
   ```java
   AccumuloConfiguration conf = 
PowerMock.createNiceMock(AccumuloConfiguration.class);
   ```
   6 copies of this line exist in the file 
[`CompactionCoordinatorTest.java`](https://github.com/apache/accumulo/blob/main/server/compaction-coordinator/src/test/java/org/apache/accumulo/coordinator/CompactionCoordinatorTest.java),
 each responsible for a `NullPointerError` shown above.
   
   Tried replacing the abstract class `AccumuloConfiguration` with child 
classes (`DefaultConfiguration` and `SiteConfiguration`) but to no avail.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to