JSF + JBOSS 6.0 + Linux + java.lang.IllegalArgumentException: null source -


we using jboss 6.1.0 in our local windows development environment using faces version 2.1.19. application use works fine. however, when promote our code testing environment linux jboss 6.0 server uses faces version "2.0.2.final-redhat-1", getting error

"java.lang.illegalargumentexception: null source".

complete stack trace pasted below. server not provide more information , finding hard debug. advice/help on great.

the issue appears when click button on page in turn makes ajax call.

16:37:44,298 info  [stdout] (http-/10.23.212.109:8080-2) auth filter -- procesiisng .. /vcp-web/jsf/calendar/calresult.xhtml 16:37:44,299 info  [stdout] (http-/10.23.212.109:8080-2) leaving phase >> restore_view 1 16:37:44,301 info  [stdout] (http-/10.23.212.109:8080-2) entering phase >> restore_view 1 16:37:44,301 error [appl] (http-/10.23.212.109:8080-2) @@@ defaultexceptionhandler.handle() >> uncaught exception java.lang.illegalargumentexception: null source  16:37:44,302 error [appl] (http-/10.23.212.109:8080-2) @@@ defaultexceptionhandler.handle() >> uncaught exception >> root cause java.lang.illegalargumentexception: null source: java.lang.illegalargumentexception: null source @ util.eventobject.<init>(eventobject.java:38) [rt.jar:1.6.0_33]           @ javax.faces.event.systemevent.<init>(systemevent.java:71)             [jboss-jsf-api_2.1_spec-2.0.2.final-redhat-1.jar:2.0.2.final-redhat-1]         @ javax.faces.event.componentsystemevent.<init>(componentsystemevent.java:73)          [jboss-jsf-api_2.1_spec-2.0.2.final-redhat-1.jar:2.0.2.final-redhat-1]         @ javax.faces.event.postrestorestateevent.<init>(postrestorestateevent.java:73)          [jboss-jsf-api_2.1_spec-2.0.2.final-redhat-1.jar:2.0.2.final-redhat-1]         @ com.sun.faces.lifecycle.restoreviewphase.deliverpostrestorestateevent(restoreviewphase.java:271)          [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.restoreviewphase.execute(restoreviewphase.java:257) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.phase.dophase(phase.java:101) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.restoreviewphase.dophase(restoreviewphase.java:116) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:118) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ javax.faces.webapp.facesservlet.service(facesservlet.java:593)          [jboss-jsf-api_2.1_spec-2.0.2.final-redhat-1.jar:2.0.2.final-redhat-1]         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:329)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ au.com.woolworths.vcp.web.misc.authenticatefilter.dofilter(authenticatefilter.java:54) [classes:]         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:280)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:275) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:161) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.jboss.as.web.security.securitycontextassociationvalve.invoke(securitycontextassociationvalve.java:153)          [jboss-as-web-7.1.2.final-redhat-1.jar:7.1.2.final-redhat-1]         @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:155) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:368) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.coyote.http11.http11processor.process(http11processor.java:877) [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:679)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:931) [jbossweb-7.0.16.final-redhat-1.jar:]         @ java.lang.thread.run(thread.java:662) [rt.jar:1.6.0_33]           16:37:44,305 error [appl] (http-/10.23.212.109:8080-2) @@@ defaultexceptionhandler.handle() >> other exception         16:37:44,306 error [appl] (http-/10.23.212.109:8080-2) exception in faceshelper.setglobalmessagebycode() >>              java.util.missingresourceexception: can't find resource bundle java.util.propertyresourcebundle, key          web.common.exception.unknown: java.util.missingresourceexception: can't find resource bundle          java.util.propertyresourcebundle, key web.common.exception.unknown         @ java.util.resourcebundle.getobject(resourcebundle.java:374) [rt.jar:1.6.0_33]         @ java.util.resourcebundle.getstring(resourcebundle.java:334) [rt.jar:1.6.0_33]         @ au.com.woolworths.vcp.util.helper.faceshelper.setglobalmessagebycode(faceshelper.java:125) [classes:]         @ au.com.woolworths.vcp.util.exception.defaultexceptionhandler.handle(defaultexceptionhandler.java:55) [classes:]         @ com.sun.faces.lifecycle.phase.dophase(phase.java:119) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.restoreviewphase.dophase(restoreviewphase.java:116) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ com.sun.faces.lifecycle.lifecycleimpl.execute(lifecycleimpl.java:118) [jsf-impl-2.1.7-redhat-1.jar:2.1.7-redhat-1]         @ javax.faces.webapp.facesservlet.service(facesservlet.java:593)          [jboss-jsf-api_2.1_spec-2.0.2.final-redhat-1.jar:2.0.2.final-redhat-1]         @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:329)          [jbossweb-7.0.16.final-redhat-1.jar:]         @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248)          [jbossweb-7.0.16.final-redhat-1.jar:] 

the best solution ensure every field in xhtml field has name , id associated it. issue in case of input hidden fields did not have name associated , request parameter sent without key. caused page not render successfully


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -