[
https://jira.jboss.org/jira/browse/RF-4160?page=com.atlassian.jira.plugin...
]
Charles Crouch commented on RF-4160:
------------------------------------
So from the above comment it appears if you're running on Linux/SunOS and you
don't want to specify java.awt.headless=true you'll need to unset the DISPLAY
variable.
Opening Treenode causes java.lang.NoClassDefFoundError
------------------------------------------------------
Key: RF-4160
URL:
https://jira.jboss.org/jira/browse/RF-4160
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Reporter: Charles Crouch
Assignee: Nick Belaevski
Priority: Critical
Fix For: Future
One of our users is hitting a NoClassDefFoundError when opening a Treenode :
10:53:45,561 ERROR [[default]] Servlet.service() for servlet default threw exception
java.lang.NoClassDefFoundError
at sun.java2d.SunGraphicsEnvironment.createGraphics(SunGraphicsEnvironment.java:337)
at java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1143)
at org.ajax4jsf.resource.Java2Dresource.getImage(Java2Dresource.java:115)
at org.ajax4jsf.resource.Java2Dresource.send(Java2Dresource.java:89)
at org.ajax4jsf.resource.ResourceLifecycle.sendResource(ResourceLifecycle.java:223)
at org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:159)
at org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
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:198)
at
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
We don't want to have everyone set java.awt.headless=true in order to run our app,
which does appear to fix this problem.
Are there any other options?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira