You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# query-bean-generator-issue
2
2
3
-
This project illustrate an issue with the ebean query bean generator. Issue as of `ebean` version `15.8.2` can be reproduced by running `mvn compile` on this example project.
3
+
This project illustrate an issue with the ebean query bean generator. Issue as of `ebean` version `15.8.2` can be reproduced by running `mvn compile` on this example project. Issue has been raised at ebean-orm/ebean#3582.
4
4
5
5
When generating querybeans along side specific other annotation processors (in this case [manifold-exceptions](https://github.com/manifold-systems/manifold/tree/master/manifold-deps-parent/manifold-exceptions)), the `querybean-generator` logs an error while trying to write `embedded.example.EbeanEntityRegister` and fails the build (error details below).
6
6
@@ -47,4 +47,4 @@ With `manifol-exception` added to the path processors, the querybeans generation
The stack trace suggests that this issue happens when the underlying `JavacFiler` is trying to log the exact same `[WARNING]` observed above when running `querybean-generator` version `15.8.2` without `manifold-exceptions` during `JavacFiler.createSourceOrClassFile`. When attempting this, the logging framework found that its `DeferredDiagnosticHandler`'s `deferred` queue is `null` and threw an `NPE` which was captured and formatted into the `[ERROR]` seen above. A quick look at the code suggests that `deferred` queue is only set to `null` when `DeferredDiagnosticHandler.reportDeferredDiagnostics` is called to prevent accidental ongoing use.
50
+
The stack trace suggests that this issue happens when the underlying `JavacFiler` is trying to log the exact same `[WARNING]` observed above when running `querybean-generator` version `15.8.2` without `manifold-exceptions` during `JavacFiler.createSourceOrClassFile`. When attempting this, the logging framework found that its `DeferredDiagnosticHandler`'s `deferred` queue is `null` and threw an `NPE` which was captured and formatted into the `[ERROR]` seen above. A quick look at the code suggests that `deferred` queue is only set to `null` when `DeferredDiagnosticHandler.reportDeferredDiagnostics` is called to prevent accidental ongoing use.
0 commit comments