vaadin / vaadin-gradle-plugin

Gradle plugin for Vaadin 14 applications. Takes care of front-end build, helps to configure repositories and to create various project and file templates.
Apache License 2.0
31 stars 9 forks source link

Vaadin 14.6.0: IllegalArgumentException: wrong number of arguments #113

Closed mvysny closed 3 years ago

mvysny commented 3 years ago

Desktop (please complete the following information):

Describe the bug Building Vaadin 14.6.0 app for production fails with

Caused by: java.lang.IllegalArgumentException: wrong number of arguments
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at com.vaadin.flow.server.webcomponent.WebComponentModulesWriter$DirectoryWriter.generateWebComponentsToDirectory(WebComponentModulesWriter.java:237)
        at com.vaadin.flow.server.frontend.FrontendWebComponentGenerator.generateWebComponents(FrontendWebComponentGenerator.java:85)
        at com.vaadin.flow.server.frontend.NodeTasks.<init>(NodeTasks.java:440)
        at com.vaadin.flow.server.frontend.NodeTasks.<init>(NodeTasks.java:47)

To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/mvysny/karibu10-helloworld-application
  2. v-bump Vaadin to 14.6.0 and Karibu-Testing to 1.3.0

Expected behavior The plugin should work

mvysny commented 3 years ago

Fixed by 3d0facc16680b148c9580d3a0d724210d420e5a9 , the fix will be present in plugin version 0.14.6.0