Closed Frank12B closed 3 weeks ago
Ok I suppose both are using a version.properties, which is a bit fragile obviously. @edewit could you have a look? Maybe use a more specific file name for the version..
https://github.com/mvnpm/esbuild-java/blob/main/pom.xml#L152
@Frank12B thanks for reporting this!
@all-contributors please add @Frank12B for doc
@ia3andy
I've put up a pull request to add @Frank12B! :tada:
Thank you for maintaining such a useful piece of software!
@Frank12B could you give this a shot?
Hi, I added web bundler to my existing project and got errors during quarkusDev as long as
implementation 'io.quarkus:quarkus-smallrye-reactive-messaging-rabbitmq'
was on my classpath.I created a new small app with codestart with minimal dependencies and could reproduce this in any case.
Environment:
Stacktrace:
Caused by: java.lang.ExceptionInInitializerError at io.quarkiverse.web.bundler.deployment.DevModeBundlingProcessor.watch(DevModeBundlingProcessor.java:108) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at io.quarkus.deployment.ExtensionLoader$3.execute(ExtensionLoader.java:849) at io.quarkus.builder.BuildContext.run(BuildContext.java:256) at org.jboss.threads.ContextHandler$1.runWith(ContextHandler.java:18) at org.jboss.threads.EnhancedQueueExecutor$Task.doRunWith(EnhancedQueueExecutor.java:2516) at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2495) at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1521) at java.base/java.lang.Thread.run(Thread.java:840) at org.jboss.threads.JBossThread.run(JBossThread.java:483) Caused by: java.lang.NullPointerException: Make sure the version.properties contains 'esbuild.version'. at java.base/java.util.Objects.requireNonNull(Objects.java:235) at io.mvnpm.esbuild.Bundler.resolveEmbeddedVersion(Bundler.java:34) at io.mvnpm.esbuild.Bundler.<clinit>(Bundler.java:21) ... 13 more