[JBoss JIRA] (RF-12194) Support conditionnal resource dependency
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12194?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč moved RFSBOX-4 to RF-12194:
--------------------------------------
Project: RichFaces (was: RichFaces Sandbox)
Key: RF-12194 (was: RFSBOX-4)
Security: Public
> Support conditionnal resource dependency
> ----------------------------------------
>
> Key: RF-12194
> URL: https://issues.jboss.org/browse/RF-12194
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.2.1.Final
> Environment: All
> Reporter: Paul Dijou
> Assignee: Brian Leathem
> Labels: dependency, resource, richfaces
>
> Sometimes, when developping a component, you will need some resources only in particular case. For example, Bootstrap navbar only need Bootstrap CSS by default. But if you want to enable a collapse effect on smartphone in order to save space, you will also need bootstrap-collapse.js file.
> I'm fine with always having the JS file imported, but it would be more perfect if the resource dependency was resolved only if the collapse effect has been enabled in the navbar. So having a way to condition the import of some resource dependency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (RF-12194) Support conditionnal resource dependency
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12194?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12194:
----------------------------
Assignee: (was: Brian Leathem)
Affects Version/s: 4.2.1.Final
Component/s: cdk
> Support conditionnal resource dependency
> ----------------------------------------
>
> Key: RF-12194
> URL: https://issues.jboss.org/browse/RF-12194
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: cdk
> Affects Versions: 4.2.1.Final
> Environment: All
> Reporter: Paul Dijou
> Labels: dependency, resource, richfaces
>
> Sometimes, when developping a component, you will need some resources only in particular case. For example, Bootstrap navbar only need Bootstrap CSS by default. But if you want to enable a collapse effect on smartphone in order to save space, you will also need bootstrap-collapse.js file.
> I'm fine with always having the JS file imported, but it would be more perfect if the resource dependency was resolved only if the collapse effect has been enabled in the navbar. So having a way to condition the import of some resource dependency.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months
[JBoss JIRA] (RF-11991) NPE in ...push.impl.RequestImpl.onBroadcast()
by Juergen Zimmermann (JIRA)
Juergen Zimmermann created RF-11991:
---------------------------------------
Summary: NPE in ...push.impl.RequestImpl.onBroadcast()
Key: RF-11991
URL: https://issues.jboss.org/browse/RF-11991
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-push/poll
Affects Versions: 4.2.0.CR1
Environment: JBossAS 7.1.0 Web Profile
Reporter: Juergen Zimmermann
I'm using JBossAS 7.1 (Web Profile) via standalone (not domain). When there is no push event I'm getting a NPE (see stacktrace below).
These JARs are in WEB-INF/lib:
atmosphere-compat-jbossweb-0.8.4.jar
atmosphere-compat-jetty-0.8.4.jar
atmosphere-compat-tomcat-0.8.4.jar
atmosphere-compat-tomcat7-0.8.4.jar
atmosphere-compat-weblogic-0.8.4.jar
atmosphere-runtime-0.8.4.jar
web.xml is configured as follows:
<context-param>
<param-name>org.atmosphere.useBlocking</param-name>
<param-value>true</param-value>
</context-param>
Stacktrace:
18:50:47,754 Schwerwiegend [org.richfaces.log.Application] (http-localhost-127.0.0.1-8080-5) null: java.lang.NullPointerException
at org.richfaces.application.push.impl.RequestImpl.onBroadcast(RequestImpl.java:124) [richfaces-core-impl-4.2.0.CR1.jar:4.2.0.CR1]
at org.atmosphere.cpr.AtmosphereResourceImpl.onBroadcast(AtmosphereResourceImpl.java:663) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:608) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AtmosphereResourceImpl.notifyListeners(AtmosphereResourceImpl.java:584) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AsynchronousProcessor.timedout(AsynchronousProcessor.java:379) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.container.BlockingIOCometSupport.suspend(BlockingIOCometSupport.java:148) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.container.BlockingIOCometSupport.service(BlockingIOCometSupport.java:92) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AtmosphereServlet.doCometSupport(AtmosphereServlet.java:1217) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AtmosphereServlet.doPost(AtmosphereServlet.java:1176) [atmosphere-runtime-0.8.4.jar:0.8.4]
at org.atmosphere.cpr.AtmosphereServlet.doGet(AtmosphereServlet.java:1162) [atmosphere-runtime-0.8.4.jar:0.8.4]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.jboss.solder.servlet.exception.CatchExceptionFilter.doFilter(CatchExceptionFilter.java:65) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.jboss.solder.servlet.event.ServletEventBridgeFilter.doFilter(ServletEventBridgeFilter.java:74) [solder-impl-3.1.0.Final.jar:3.1.0.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at com.ocpsoft.pretty.PrettyFilter.doFilter(PrettyFilter.java:126) [prettyfaces-jsf2-3.3.2.jar:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:397) [jbossweb-7.0.10.Final.jar:]
at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.0.Final.jar:7.1.0.Final]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:154) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.10.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.10.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.10.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.10.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.10.Final.jar:]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_03]
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 8 months