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
Updating from 0.9.8 to 0.9.12 breaks #277
Comments
Experiencing same issue. Trace:
Code: public static <T> Stream<Class<? extends T>> discover(Class<T> businessEntityType) {
Reflections reflections = new Reflections(BUSINESS_ENTITY_PACKAGE);
return reflections.getSubTypesOf(businessEntityType).stream()
.filter(type -> EXCLUDE_ENTITY_PACKAGES.stream().noneMatch(p -> type.getName().startsWith(p)))
.filter(type -> !Modifier.isAbstract(type.getModifiers()))
.map(type -> type.asSubclass(businessEntityType));
} |
Does anyone know how to make it works in spring boot for fat jar? Current output: Seems like it doesn't see any class in provided package. Upgraded from 0.9.11 to 0.9.12. |
Same issue. The bug was introduced in The bug was introduced here: |
I think the issue is not there I was debugging and it is having issue to get the inputstream from the jar file, in the class that is failing so it cannot read the class and it cannot add the scanner to the store which is what it does in the scan method of SubTypesScanner |
The bug of reflections library is described here ronmamo/reflections#277 Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
There's a bug at org.reflections: ronmamo/reflections#277 Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
Bumps gradle from 4.2.2 to 7.0.1. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... * Update Android Studio and update to Java 11 * Update UnMockPlugin * Remove TileServicesTests There's a bug at org.reflections: ronmamo/reflections#277 * Disable daemon Signed-off-by: mueller-ma <mueller-ma@users.noreply.github.com>
apologize for this annoyance. scanner was not configured exception - this is a known issue in 0.9.12, a simple workaround is to check if the |
fixed on 0.10 |
When I try to upgrade reflections from 0.9.8 to the version after 0.9.9. The following code breaks.
The code should pass, but it throws an error:
The text was updated successfully, but these errors were encountered: