You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by raj1jaiswal <ra...@yahoo.co.in> on 2011/03/03 07:05:47 UTC

Exception starting filter test

Hi,
I am developing very small program in tapestry its running fine but i am
getting below exception.Please anybody help to solve this problem.
 
Exception starting filter test
java.lang.NullPointerException
	at
org.apache.tapestry5.internal.TapestryAppInitializer.addSyntheticSymbolSourceModule(TapestryAppInitializer.java:191)
	at
org.apache.tapestry5.internal.TapestryAppInitializer.(TapestryAppInitializer.java:159)
	at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:90)
	at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:275)
	at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
	at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:108)
	at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at org.apache.catalina.core.StandardService.start(StandardService.java:516)
	at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:583)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)



Thanks in Advance
Raj jaiswal
MCA SCJP1.6

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3407524.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by Bob Harner <bo...@gmail.com>.
Just a guess, but normally the filter is named "app" instead of
"app1". The filter name affects the name of the "app module" class
Tapestry looks for.  See http://tapestry.apache.org/configuration.html

On Sat, Mar 5, 2011 at 12:46 AM, raj1jaiswal <ra...@yahoo.co.in> wrote:
> http://tapestry.1045711.n5.nabble.com/file/n3410456/web.xml web.xml
> Hi,
> I have attached web.xml.
> Thanks
> Raj jaiswal
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3410456.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by raj1jaiswal <ra...@yahoo.co.in>.
http://tapestry.1045711.n5.nabble.com/file/n3410456/web.xml web.xml 
Hi,
I have attached web.xml.
Thanks
Raj jaiswal

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3410456.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by Gillespie59 <em...@atosorigin.com>.
Can you send to us your web.xml .

Emmanuel

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3409390.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by pradeeppantula <pr...@gmail.com>.
Hi Raj,

Is your problem solved. I'm also facing similar issues while deployment in
jboss5.1.0. 
Please help me in this regard,


--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p4673436.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by raj1jaiswal <ra...@yahoo.co.in>.
Hi,

Thanks for reply.I have done same think whatever you suggested me but i
still getting same exception.Please anybody provide me solution.


Thanks 
Raj Jaiswal
MCA SCJP1.6.


--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3413520.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by Michal Gruca <mi...@gmail.com>.
yes you may give it any name, but contract in web.xml is: in provided package
root (in your case tapDemo) it will search for package services and in it
there should be a class App1.java

so please check if you have following class tapDemo.services.App1.java

--
View this message in context: http://tapestry-users.832.n2.nabble.com/Exception-starting-filter-test-tp6083791p6096738.html
Sent from the Tapestry Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by raj1jaiswal <ra...@yahoo.co.in>.
hi bobharner ,

I have seen whatever link you sent to me.But there clearly mention you can 
take any name instead of app.anyway i changed it app1 to app as you said and
run the application but i am still getting same exception.

By convention, the filter name (filter-name) is almost always "app", but you
can use any name you want. Tapestry uses this to determine what module class
name to look for .


Please find solution,
Thanks in Advance
Raj Jaiswal
MCA SCJP1.6



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3411970.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Exception starting filter test

Posted by raj1jaiswal <ra...@yahoo.co.in>.
Hi bobharner ,


Thanks for reply.
Raj jaiswal
MCA SCJP.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Exception-starting-filter-test-tp3407524p3411937.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org