[
http://jira.jboss.com/jira/browse/RF-2751?page=comments#action_12414757 ]
lukasz slonina commented on RF-2751:
------------------------------------
I have the same problem with richfaces-3.2.0-SR1, and tomcat-6.0.16
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException: Colors cannot be null
at java.awt.GradientPaint.<init>(GradientPaint.java:71)
at
org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.paint(ProgressBarAnimatedBg.java:92)
at org.ajax4jsf.resource.AnimationResource.send(AnimationResource.java:80)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:221)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:157)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:333)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:195)
at
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:481)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
fileUpload: throws NPE exception after click Upload
---------------------------------------------------
Key: RF-2751
URL:
http://jira.jboss.com/jira/browse/RF-2751
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.0
Reporter: Ilya Shaikovsky
Assigned To: Mikhail Vitenkov
Fix For: 3.2.0
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException: Colors cannot be null
at java.awt.GradientPaint.<init>(Unknown Source)
at
org.richfaces.renderkit.html.images.ProgressBarAnimatedBg.paint(ProgressBarAnimatedBg.java:92)
at org.ajax4jsf.resource.AnimationResource.send(AnimationResource.java:80)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:221)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:157)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:333)
at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
at
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:195)
at
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:141)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:260)
at org.ajax4jsf.Filter.doFilter(Filter.java:175)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira