[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1207) Better error message from jboss-el
by Pete Muir (JIRA)
Better error message from jboss-el
----------------------------------
Key: JBSEAM-1207
URL: http://jira.jboss.com/jira/browse/JBSEAM-1207
Project: JBoss Seam
Issue Type: Bug
Components: JSF
Affects Versions: 1.2.0.GA
Reporter: Pete Muir
Assigned To: Pete Muir
Priority: Critical
Fix For: 1.3.0.BETA1
This error message is insane
13:37:09,953 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: com.app.ui.
util.ELUtils
13:37:09,953 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
13:37:09,953 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryC
lassLoader.java:514)
13:37:09,953 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClass
Loader.java:408)
13:37:09,953 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
13:37:09,953 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
13:37:09,953 ERROR [STDERR] at java.lang.Class.forName0(Native Method)
13:37:09,953 ERROR [STDERR] at java.lang.Class.forName(Class.java:164)
13:37:09,953 ERROR [STDERR] at org.jboss.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMapp
erImpl.java:148)
13:37:09,953 ERROR [STDERR] at org.jboss.el.lang.FunctionMapperImpl$Function.writeExternal(Function
MapperImpl.java:124)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java
:1310)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1288)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:37:09,953 ERROR [STDERR] at java.util.HashMap.writeObject(HashMap.java:1039)
13:37:09,953 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source)
13:37:09,953 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
ssorImpl.java:25)
13:37:09,953 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585)
13:37:09,953 ERROR [STDERR] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:9
17)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1
339)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1290)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:37:09,953 ERROR [STDERR] at org.jboss.el.lang.FunctionMapperImpl.writeExternal(FunctionMapperImp
l.java:74)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java
:1310)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1288)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:37:09,953 ERROR [STDERR] at org.jboss.el.ValueExpressionImpl.writeExternal(ValueExpressionImpl.j
ava:256)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java
:1310)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1288)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:37:09,953 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.writeExternal(TagValueExpress
ion.java:128)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java
:1310)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1288)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.jav
a:1375)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1
347)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.ja
va:1290)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075
)
13:37:09,953 ERROR [STDERR] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
13:37:09,953 ERROR [STDERR] at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(Response
StateManagerImpl.java:244)
13:37:09,953 ERROR [STDERR] at javax.faces.render.ResponseStateManager.writeState(ResponseStateMana
ger.java:155)
13:37:09,953 ERROR [STDERR] at com.sun.faces.application.StateManagerImpl.writeState(StateManagerIm
pl.java:298)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.jsf.SeamStateManager.writeState(SeamStateManager.java
:131)
13:37:09,953 ERROR [STDERR] at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.ja
va:599)
13:37:09,953 ERROR [STDERR] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePh
ase.java:106)
13:37:09,953 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
13:37:09,953 ERROR [STDERR] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
13:37:09,953 ERROR [STDERR] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
licationFilterChain.java:290)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
FilterChain.java:206)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:63)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.ja
va:60)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:49)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:53)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:49)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:49)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.ja
va:49)
13:37:09,953 ERROR [STDERR] at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
licationFilterChain.java:235)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
FilterChain.java:206)
13:37:09,953 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderF
ilter.java:96)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
licationFilterChain.java:235)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(Application
FilterChain.java:206)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
Valve.java:228)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContext
Valve.java:175)
13:37:09,953 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securi
tyAssociationValve.java:179)
13:37:09,953 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextVal
ve.java:84)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
java:128)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
java:104)
13:37:09,953 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(Cached
ConnectionValve.java:156)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
lve.java:109)
13:37:09,953 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
va:216)
13:37:09,953 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
a:844)
13:37:09,953 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
ess(Http11Protocol.java:624)
13:37:09,953 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:4
45)
13:37:09,953 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595)
13:37:09,953 ERROR [STDERR] Apr 18, 2007 1:37:09 PM com.sun.facelets.FaceletViewHandler handleRender
Exception
SEVERE: Error Rendering View[/userForm.xhtml]
java.lang.NullPointerException
at org.jboss.el.lang.FunctionMapperImpl$Function.writeExternal(FunctionMapperImpl.java:124)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at java.util.HashMap.writeObject(HashMap.java:1039)
at sun.reflect.GeneratedMethodAccessor172.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at org.jboss.el.lang.FunctionMapperImpl.writeExternal(FunctionMapperImpl.java:74)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at org.jboss.el.ValueExpressionImpl.writeExternal(ValueExpressionImpl.java:256)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at com.sun.facelets.el.TagValueExpression.writeExternal(TagValueExpression.java:128)
at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
at com.sun.faces.renderkit.ResponseStateManagerImpl.writeState(ResponseStateManagerImpl.java:244)
at javax.faces.render.ResponseStateManager.writeState(ResponseStateManager.java:155)
at com.sun.faces.application.StateManagerImpl.writeState(StateManagerImpl.java:298)
at org.jboss.seam.jsf.SeamStateManager.writeState(SeamStateManager.java:131)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:599)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290
)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235
)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
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:228)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:624)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Thread.java:595)
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1495) Add option to overide ImageCaptchaService service in CaptchaImage
by Mariusz Smykula (JIRA)
Add option to overide ImageCaptchaService service in CaptchaImage
-----------------------------------------------------------------
Key: JBSEAM-1495
URL: http://jira.jboss.com/jira/browse/JBSEAM-1495
Project: JBoss Seam
Issue Type: Feature Request
Components: Security
Affects Versions: 1.3.0.ALPHA
Reporter: Mariusz Smykula
This is necessary to extend this class and make my own implementation (simpler than default). Making service protected or adding setter can help.
I need to implement my own create() method. If there is other solution, please give me advice.
@Create
public void create() {
// service = new DefaultManageableImageCaptchaService();
SimpleListImageCaptchaEngine engine = new SimpleListImageCaptchaEngine();
engine
.addFactory(new GimpyFactory(new RandomWordGenerator(
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"), new ComposedWordToImage(
new RandomFontGenerator(new Integer(12),
new Integer(16)), new FunkyBackgroundGenerator(
new Integer(200), new Integer(100)),
new RandomTextPaster(new Integer(6), new Integer(10),
Color.BLACK))));
service = new DefaultManageableImageCaptchaService(
new FastHashMapCaptchaStore(), engine, 180, 100000, 75000);
}
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1293) Page parameters not working
by Chris Rudd (JIRA)
Page parameters not working
---------------------------
Key: JBSEAM-1293
URL: http://jira.jboss.com/jira/browse/JBSEAM-1293
Project: JBoss Seam
Issue Type: Bug
Affects Versions: 1.2.1.GA
Reporter: Chris Rudd
Im attempting to use the Page parameter feature detailed in section 5.1.1.1 of the documentation.
<pages>
<page view-id="/edit.xhtml">
<param name="id" value="#{editor.id}"/>
</page>
</pages>
based on my understanding of the functiuonality if i go the url /edit.xhtml?id=foobar then editor.id should be set to 'foobar'.
This is not occuring. After tracing the code it seems like this is where the magic should happen:
AbstractSeamPhaseListener.java : 70
//apply page parameters to the model
if ( facesContext.getRenderResponse() )
{
Pages.instance().applyRequestParameterValues(facesContext);
}
else
{
Pages.instance().applyViewRootValues(facesContext);
}
Im using myfaces 1.1.4 with server side view state. What appears to be happening is that myfaces will restore the saved view state (im not sure it should be, as its a GET request). When this happends facesContext.renderResponse is never called.
Thus when it gets to the above code, the page parameters are restored from the wrong location.
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1131) Example web.xml is incomplete
by Christian Bauer (JIRA)
Example web.xml is incomplete
-----------------------------
Key: JBSEAM-1131
URL: http://jira.jboss.com/jira/browse/JBSEAM-1131
Project: JBoss Seam
Issue Type: Bug
Components: Tools
Reporter: Christian Bauer
I was running into this when using an ajax4jsf tag:
SEVERE: Error Rendering View[/docDisplay.xhtml]
javax.faces.FacesException: Resources framework is not initialised, check web.xml for Filter configuration
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getWebXml(ResourceBuilderImpl.java:107)
at org.ajax4jsf.framework.resource.ResourceBuilderImpl.getUri(ResourceBuilderImpl.java:309)
at org.ajax4jsf.framework.resource.InternetResourceBase.getUri(InternetResourceBase.java:211)
at org.ajax4jsf.framework.resource.BaseResourceRenderer.encodeBegin(BaseResourceRenderer.java:62)
at org.ajax4jsf.framework.resource.OneTimeRenderer.encodeBegin(OneTimeRenderer.java:48)
at org.ajax4jsf.framework.resource.BaseResourceRenderer.encode(BaseResourceRenderer.java:45)
at org.ajax4jsf.framework.resource.InternetResourceBase.encode(InternetResourceBase.java:306)
at org.ajax4jsf.framework.resource.ClientScript.encode(ClientScript.java:143)
at org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase.encodeResourcesArray(HeaderResourcesRendererBase.java:131)
at org.ajax4jsf.framework.renderer.HeaderResourcesRendererBase.preEncodeBegin(HeaderResourcesRendererBase.java:117)
at org.ajax4jsf.framework.renderer.RendererBase.encodeBegin(RendererBase.java:98)
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249)
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:573)
at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
It only happened right after redeployment, and if the first page I called (with an ajax4jsf tag on it) was behind my rewrite filter, last in web.xml:
<filter>
<filter-name>UrlRewriteFilter</filter-name>
<filter-class>org.tuckey.web.filters.urlrewrite.UrlRewriteFilter</filter-class>
<init-param>
<param-name>logLevel</param-name>
<param-value>WARN</param-value>
</init-param>
<init-param>
<param-name>statusEnabled</param-name>
<param-value>false</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>UrlRewriteFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Note that this rewrites internally somehow, not with a redirect. If I called, right after deployment, a page with a not rewritten URL and an ajax4jsf tag on it, it would work fine. Interesting enough but after it would work once, even pages that had rewritten URLs worked fine. So there is some initialization issue hidden in this somewhere.
After reading this http://jboss.com/index.html?module=bb&op=viewtopic&t=103561 I started playing with random web.xml settings. Take a seam-gen WAR deployment web.xml and make the following modifications:
<filter-mapping>
<filter-name>ajax4jsf</filter-name>
<url-pattern>*.seam</url-pattern>
<dispatcher>REQUEST</dispatcher>
<dispatcher>FORWARD</dispatcher>
<dispatcher>INCLUDE</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>Seam Filter</filter-name>
<url-pattern>*.seam</url-pattern>
</filter-mapping>
This seems to work now. I have no idea what happens.
Put this on the Java EE 6.0 list: web.xml must be replaced with something that makes sense. Or we need to find a proprietary way to configure a stack of a dozen filters with explicit URL pattern/precedence matching. Maybe we should move this into a Seam config file and initialize the web container programmatically (if that is possible).
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1190) Disabling install of core components no longer works
by Mike Quilleash (JIRA)
Disabling install of core components no longer works
----------------------------------------------------
Key: JBSEAM-1190
URL: http://jira.jboss.com/jira/browse/JBSEAM-1190
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.1.GA
Environment: Any
Reporter: Mike Quilleash
Upgrading from Seam 1.1.6 to 1.2.1 seems to have broken the ability to do this...
<component class="org.jboss.seam.web.ExceptionFilter" installed="false"/>
In my WEB-INF/components.xml. The logic in the dependency manager scans both component descriptors, ignores the first as it is set to not install and then installs the second (default) one as normal. I believe the precedence of two components is not being honoured with regard to the installed flag.
Possible in
private boolean tryToInstall(String key) {
it should stop looping immediatly if it finds a non-installed component rather than skipping that descriptor and continuing to the next loop.
This is a rather major issue for me as the exception filter is causing problems elsewhere (see bug 1188) and I can't seem to find out how to turn it off!
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1519) generate-entities should populate and deliver hibernate-console.cfg.xml
by Dan Allen (JIRA)
generate-entities should populate and deliver hibernate-console.cfg.xml
-----------------------------------------------------------------------
Key: JBSEAM-1519
URL: http://jira.jboss.com/jira/browse/JBSEAM-1519
Project: JBoss Seam
Issue Type: Patch
Components: Tools
Affects Versions: 1.3.0.ALPHA
Environment: seam CVS HEAD
Reporter: Dan Allen
Priority: Minor
When seam-gen executes the new-project command, it puts a hibernate-console.properties file in place for the Hibernate Console Eclipse plugin. This works fine for a blank project. However, after generate-entities executes, the Hibernate Console configuration cannot see the new entities. For that, a Hibernate Configuration (cfg.xml) file is required.
I have created a patch that uses <hbmtemplate /> to create a hibernate-console.cfg.xml file with each of the entities created by generate-entities. The only downside is that it will clobber an existing hibernate-console.cfg.xml file. However, we could either enhance the build to be smart about this, or we just say what the hell, this is a prototype tool so expect some clobbering.
--
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
17 years, 2 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1524) new-project should be renamed (or aliased) to create-project
by Dan Allen (JIRA)
new-project should be renamed (or aliased) to create-project
------------------------------------------------------------
Key: JBSEAM-1524
URL: http://jira.jboss.com/jira/browse/JBSEAM-1524
Project: JBoss Seam
Issue Type: Feature Request
Components: Tools
Affects Versions: 1.3.0.ALPHA
Environment: seam CVS HEAD
Reporter: Dan Allen
Priority: Optional
The command "new-project" is slightly misleading. It implies that the user is starting a new project. Really, the command "setup" handles this task. The command should be renamed to "create-project" to indicate that code generation is about to happen. It would be a good compliment to "delete-project" and "update-project." Think of it as the C in CRUD. Since seam-gen is all about CRUD, it just seems to fit. I think for backward compatibility, we can just make it an alias.
I am open to the fact that this issue is just me being narrow-minded.
--
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
17 years, 2 months