[infinispan-issues] [JBoss JIRA] (ISPN-5294) Building module with component metadata but no resources folder fails

Galder Zamarreño (JIRA) issues at jboss.org
Thu Mar 12 09:03:20 EDT 2015


Galder Zamarreño created ISPN-5294:
--------------------------------------

             Summary: Building module with component metadata but no resources folder fails
                 Key: ISPN-5294
                 URL: https://issues.jboss.org/browse/ISPN-5294
             Project: Infinispan
          Issue Type: Bug
    Affects Versions: 7.1.1.Final, 7.2.0.Alpha1
            Reporter: Galder Zamarreño
            Assignee: Galder Zamarreño
             Fix For: 7.2.0.Final


Throws error:

{code}
[INFO] --- exec-maven-plugin:1.2.1:java (serialize_component_metadata) @ infinispan-scripting ---
 [ComponentMetadataPersister] Starting component metadata generation.  Scanning classes in /opt/upstream/infinispan/scripting/target/classes
log4j:WARN No appenders could be found for logger (org.jboss.logging).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
[WARNING]
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.FileNotFoundException: /opt/upstream/infinispan/scripting/src/main/resources/infinispan-scripting-component-metadata.dat (No such file or directory)
	at java.io.FileOutputStream.open0(Native Method)
	at java.io.FileOutputStream.open(FileOutputStream.java:270)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
	at org.infinispan.factories.components.ComponentMetadataPersister.writeMetadata(ComponentMetadataPersister.java:174)
	at org.infinispan.factories.components.ComponentMetadataPersister.main(ComponentMetadataPersister.java:103)
	... 6 more
{code}



--
This message was sent by Atlassian JIRA
(v6.3.11#6341)



More information about the infinispan-issues mailing list