dlmarion opened a new issue, #5818:
URL: https://github.com/apache/accumulo/issues/5818

   **Describe the bug**
   Enabled trace logging in the test module and ran the following command:
   ```
   mvn clean verify -Dit.test=UserFatePoolsWatcherIT_SimpleSuite#testIncrease1 
-Dtest=foo -Dspotbugs.skip
   ```
   
   The test failed with the following error:
   ```
   [ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 
12.26 s <<< FAILURE! -- in 
org.apache.accumulo.test.fate.user.UserFatePoolsWatcherIT_SimpleSuite
   [ERROR] 
org.apache.accumulo.test.fate.user.UserFatePoolsWatcherIT_SimpleSuite.testIncrease1
 -- Time elapsed: 0.881 s <<< ERROR!
   org.apache.accumulo.core.client.AccumuloException: Internal error processing 
executeFateOperation
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.handleFateOperation(TableOperationsImpl.java:433)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:451)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.doFateOperation(TableOperationsImpl.java:441)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.doTableFateOperation(TableOperationsImpl.java:1826)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.create(TableOperationsImpl.java:287)
        at 
org.apache.accumulo.test.fate.FateTestUtil.createFateTable(FateTestUtil.java:75)
        at 
org.apache.accumulo.test.fate.user.UserFatePoolsWatcherIT_SimpleSuite.executeTest(UserFatePoolsWatcherIT_SimpleSuite.java:55)
        at 
org.apache.accumulo.test.fate.FateTestRunner.executeTest(FateTestRunner.java:33)
        at 
org.apache.accumulo.test.fate.FatePoolsWatcherITBase.testIncrease1(FatePoolsWatcherITBase.java:72)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
        Suppressed: java.lang.IllegalStateException: Incorrect use of 
UserFateStore, table UserFatePoolsWatcherIT_SimpleSuite_testIncrease10 does not 
exist.
                at 
org.apache.accumulo.core.fate.user.UserFateStore.lambda$new$0(UserFateStore.java:119)
                at 
com.google.common.base.Suppliers$NonSerializableMemoizingSupplier.get(Suppliers.java:198)
                at 
org.apache.accumulo.core.fate.user.UserFateStore.close(UserFateStore.java:715)
                at 
org.apache.accumulo.test.fate.user.UserFatePoolsWatcherIT_SimpleSuite.executeTest(UserFatePoolsWatcherIT_SimpleSuite.java:52)
                ... 7 more
   Caused by: org.apache.thrift.TApplicationException: Internal error 
processing executeFateOperation
        at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:81)
        at 
org.apache.accumulo.core.manager.thrift.FateService$Client.recv_executeFateOperation(FateService.java:135)
        at 
org.apache.accumulo.core.manager.thrift.FateService$Client.executeFateOperation(FateService.java:116)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.executeFateOperation(TableOperationsImpl.java:322)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.lambda$doFateOperation$0(TableOperationsImpl.java:456)
        at 
org.apache.accumulo.core.clientImpl.TableOperationsImpl.handleFateOperation(TableOperationsImpl.java:401)
        ... 13 more
   
   ```
   
   And the following stack trace was in the Manager log:
   ```
   2025-08-22T15:14:59,909 112 [thrift.ProcessFunction] ERROR: Internal error 
processing executeFateOperation
   com.google.gson.JsonIOException: Failed making field 
'java.time.Duration#seconds' accessible; either increase its visibility or 
write a custom TypeAdapter for its declaring type.
   See 
https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible
           at 
com.google.gson.internal.reflect.ReflectionHelper.makeAccessible(ReflectionHelper.java:76)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:388)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
 ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.getAdapter(Gson.java:628) 
~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:201)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:395)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
 ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.getAdapter(Gson.java:628) 
~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:201)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:395)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
 ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.getAdapter(Gson.java:628) 
~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:201)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:395)
 ~[gson-2.12.1.jar:?]
           at 
com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:161)
 ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.getAdapter(Gson.java:628) 
~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.toJson(Gson.java:928) ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.toJson(Gson.java:899) ~[gson-2.12.1.jar:?]
           at com.google.gson.Gson.toJson(Gson.java:848) ~[gson-2.12.1.jar:?]
           at 
org.apache.accumulo.manager.tableOps.TraceRepo.toLogString(TraceRepo.java:126) 
~[accumulo-manager-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.core.logging.FateLogger$1.seedTransaction(FateLogger.java:167)
 ~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at org.apache.accumulo.core.fate.Fate.seedTransaction(Fate.java:387) 
~[accumulo-core-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
           at 
org.apache.accumulo.manager.FateServiceHandler.executeFateOperation(FateServiceHandler.java:252)
 ~[accumulo-manager-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
   ```
   
   **Versions (OS, Maven, Java, and others, as appropriate):**
    - Affected version(s) of this project: 4.0.0
   


-- 
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: notifications-unsubscr...@accumulo.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to