Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: resolved recursive call issue #521

Conversation

dearrudam
Copy link
Contributor

Changes

  • Fixed recursive call issue on CustomRepositoryHandler;

Here is the completed maven log: mvn.log

A piece of the maven log that shows the mentioned issue:

[INFO] Running org.eclipse.jnosql.databases.mongodb.integration.CustomRepositoryIntegrationTest
[ERROR] Tests run: 6, Failures: 0, Errors: 6, Skipped: 0, Time elapsed: 4.824 s <<< FAILURE! -- in org.eclipse.jnosql.databases.mongodb.integration.CustomRepositoryIntegrationTest
[ERROR] org.eclipse.jnosql.databases.mongodb.integration.CustomRepositoryIntegrationTest.shouldDelete -- Time elapsed: 0.925 s <<< ERROR!
java.lang.StackOverflowError
	at java.base/java.lang.StackStreamFactory$AbstractStackWalker.callStackWalk(Native Method)
	at java.base/java.lang.StackStreamFactory$AbstractStackWalker.beginStackWalk(StackStreamFactory.java:424)
	at java.base/java.lang.StackStreamFactory$AbstractStackWalker.walkHelper(StackStreamFactory.java:267)
	at java.base/java.lang.StackStreamFactory$AbstractStackWalker.walk(StackStreamFactory.java:259)
	at java.base/java.lang.StackWalker.walk(StackWalker.java:543)
	at java.logging/java.util.logging.LogRecord$CallerFinder.get(LogRecord.java:784)
	at java.logging/java.util.logging.LogRecord.inferCaller(LogRecord.java:757)
	at java.logging/java.util.logging.LogRecord.getSourceClassName(LogRecord.java:351)
	at java.logging/java.util.logging.SimpleFormatter.format(SimpleFormatter.java:163)
	at java.logging/java.util.logging.StreamHandler.publish0(StreamHandler.java:241)
	at java.logging/java.util.logging.StreamHandler.publish(StreamHandler.java:224)
	at java.logging/java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:95)
	at java.logging/java.util.logging.Logger.log(Logger.java:983)
	at java.logging/java.util.logging.Logger.doLog(Logger.java:1010)
	at java.logging/java.util.logging.Logger.log(Logger.java:1033)
	at java.logging/java.util.logging.Logger.info(Logger.java:1806)
	at org.eclipse.jnosql.mapping.semistructured.query.CustomRepositoryHandler.invoke(CustomRepositoryHandler.java:84)
	at jdk.proxy2/jdk.proxy2.$Proxy133.getById(Unknown Source)
....

Signed-off-by: Maximillian Arruda <dearrudam@gmail.com>
@genie-jnosql
Copy link
Collaborator

Can one of the admins verify this patch?

@otaviojava otaviojava merged commit 453d2d8 into eclipse-jnosql:main Jun 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants