Lukáš Fryč created RF-13228:
-------------------------------
Summary: Resource Optimizer throws NPE
Key: RF-13228
URL:
https://issues.jboss.org/browse/RF-13228
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: resource handling
Affects Versions: 5.0.0.Alpha2
Reporter: Lukáš Fryč
Fix For: 5.0.0.Alpha2
https://api.travis-ci.org/jobs/11964202/log.txt?deansi=true
{code}
Sep 30, 2013 2:44:47 PM org.richfaces.resource.optimizer.ResourceGenerator execute
SEVERE: null
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:252)
at java.util.concurrent.FutureTask.get(FutureTask.java:111)
at
org.richfaces.resource.optimizer.ResourceGenerator.execute(ResourceGenerator.java:436)
at
org.richfaces.resource.optimizer.GenerateResourcesMain.main(GenerateResourcesMain.java:39)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.NullPointerException
at
org.richfaces.resource.ResourceFactoryImpl.createResource(ResourceFactoryImpl.java:356)
at
org.richfaces.resource.optimizer.resource.handler.impl.DynamicResourceHandler.createResource(DynamicResourceHandler.java:85)
at
org.richfaces.resource.optimizer.resource.handler.impl.AbstractResourceHandler.createResource(AbstractResourceHandler.java:42)
at
org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.createResource(ResourceTaskFactoryImpl.java:72)
at
org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.checkResource(ResourceTaskFactoryImpl.java:120)
at
org.richfaces.resource.optimizer.task.ResourceTaskFactoryImpl$ResourcesRendererCallable.call(ResourceTaskFactoryImpl.java:154)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira