Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-600

Annotation processors fail when used concurrently

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • NEW
    • NEW

      AF annotation processors sporadically fail when used as part of concurrent Maven build (e.g. -T4).

      Error log:

      18:44:24 [ERROR] /home/jenkins/workspace/guvnor/upstream-repos/uberfire/uberfire-showcase/uberfire-client-webapp/src/main/java/org/uberfire/client/screens/DemoSplashScreen.java:[34,1] Internal error in org.uberfire.annotations.processors.WorkbenchSplashScreenProcessorjava.lang.ExceptionInInitializerError
      18:44:24 [ERROR] at org.uberfire.annotations.processors.AbstractGenerator.<init>(AbstractGenerator.java:44)
      18:44:24 [ERROR] at org.uberfire.annotations.processors.SplashScreenActivityGenerator.<init>(SplashScreenActivityGenerator.java:41)
      18:44:24 [ERROR] at org.uberfire.annotations.processors.WorkbenchSplashScreenProcessor.<init>(WorkbenchSplashScreenProcessor.java:49)
      18:44:24 [ERROR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      ....
      18:44:24 [ERROR] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      18:44:24 [ERROR] at java.lang.Thread.run(Thread.java:745)
      18:44:24 [ERROR] Caused by: java.lang.IllegalStateException: zip file closed
      18:44:24 [ERROR] at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669)
      18:44:24 [ERROR] at java.util.zip.ZipFile.getEntry(ZipFile.java:309)
      18:44:24 [ERROR] at java.util.jar.JarFile.getEntry(JarFile.java:240)
      18:44:24 [ERROR] at sun.net.www.protocol.jar.URLJarFile.getEntry(URLJarFile.java:128)
      18:44:24 [ERROR] at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:132)
      18:44:24 [ERROR] at sun.net.www.protocol.jar.JarURLConnection.getInputStream(JarURLConnection.java:150)
      18:44:24 [ERROR] at java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:238)
      18:44:24 [ERROR] at freemarker.template.Configuration.<clinit>(Configuration.java:431) *
      

              eignatow Eder Ignatowicz
              psiroky_jira Petr Široký (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: