webwork-devel Mailing List for WebWork (Page 43)
Brought to you by:
baldree,
rickardoberg
You can subscribe to this list here.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(316) |
Dec
(117) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(197) |
Feb
(229) |
Mar
(293) |
Apr
(177) |
May
(84) |
Jun
(40) |
Jul
(43) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: matt b. <ba...@us...> - 2002-01-02 23:38:58
|
Update of /cvsroot/webwork/webwork/src/main/webwork/action/factory In directory usw-pr-cvs1:/tmp/cvs-serv18558 Modified Files: DefaultActionFactory.java Log Message: Added alias factory before and after command. |
|
From: matt b. <ba...@us...> - 2002-01-02 23:38:17
|
Update of /cvsroot/webwork/webwork/src/resources/web In directory usw-pr-cvs1:/tmp/cvs-serv18362 Modified Files: index.jsp Log Message: changed misc test to test aliases with commands |
|
From: matt b. <ba...@us...> - 2002-01-02 23:37:27
|
Update of /cvsroot/webwork/webwork/src/resources/web/WEB-INF In directory usw-pr-cvs1:/tmp/cvs-serv18152 Modified Files: web.xml Log Message: changed security url |
|
From: matt b. <ba...@us...> - 2002-01-02 23:10:10
|
Update of /cvsroot/webwork/webwork/src/resources/web/WEB-INF In directory usw-pr-cvs1:/tmp/cvs-serv10956 Modified Files: web.xml Log Message: changed security url |
|
From: matt b. <ba...@us...> - 2002-01-02 23:09:42
|
Update of /cvsroot/webwork/webwork/src/resources/web In directory usw-pr-cvs1:/tmp/cvs-serv10818 Modified Files: index.jsp Log Message: fixed misc test url with command |
|
From: matt b. <ba...@us...> - 2002-01-02 23:09:21
|
Update of /cvsroot/webwork/webwork/src/main/webwork/action/factory In directory usw-pr-cvs1:/tmp/cvs-serv10715 Modified Files: DefaultActionFactory.java Log Message: Undid change. I was on drugs. |
|
From: Matt B. <ma...@sm...> - 2002-01-02 22:49:01
|
I tested a command action with security constraint on Tomcat 4.0.1. I did not get the NPE you mentioned but it may be because my test case is different from yours or containers or JSP spec. If you want to see my preliminary test, update from CVS. Then uncomment the security constraint in web.xml. It is setup for Tomcat realm. Now, when you invoke the misc test the URL is restricted. The container will prompt for a login which is tomcat, tomcat. It will authenticate and send you to the appropriate page. -Matt ----- Original Message ----- From: "Mike Cannon-Brookes" <mi...@at...> To: "Webwork-User" <web...@li...>; "Webwork-Devel" <web...@li...> Sent: Saturday, December 29, 2001 4:10 AM Subject: [Webwork-user] BUG: NPE after login page > Not sure which list bug reports are supposed to be posted to, so I hit > both - apologies if this breaches any ettiquette. > > Here's the log4j stack trace for a weird NPE I get using WebWork: > > [ (ServletDispatcher)] Could not instantiate action:CreateIssue!default > java.lang.IllegalArgumentException: Could not set parameter > "null":java.lang.NullPointerException > at webwork.util.BeanUtil.setProperties(BeanUtil.java:114) > at > webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(Parameters ActionFactoryProxy.java:38) > at > webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFacto ry.java:53) > at > webwork.action.factory.ActionFactory.getAction(ActionFactory.java:55) > at > webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:150) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) > at com.evermind._hu.doFilter(.:59) > at com.sitemesh.filter.PageFilter.parsePage(PageFilter.java:166) > at com.sitemesh.filter.PageFilter.doFilter(PageFilter.java:105) > at com.evermind._bxb._crd(.:375) > at com.evermind._bxb._ukb(.:170) > at com.evermind._cn._uab(.:576) > at com.evermind._cn._fm(.:189) > at com.evermind._bs.run(.:62) > > And the system.err stacktrace: > > java.lang.NullPointerException > at webwork.action.factory.ParameterMap.entrySet(ParameterMap.java:34) > at java.util.AbstractMap$2.<init>(AbstractMap.java:361) > at java.util.AbstractMap$1.iterator(AbstractMap.java:360) > at webwork.util.BeanUtil.setProperties(BeanUtil.java:89) > at > webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(Parameters ActionFactoryProxy.java:38) > at > webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFacto ry.java:53) > at > webwork.action.factory.ActionFactory.getAction(ActionFactory.java:55) > at > webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:150) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) > at com.evermind._hu.doFilter(.:59) > at com.sitemesh.filter.PageFilter.parsePage(PageFilter.java:166) > at com.sitemesh.filter.PageFilter.doFilter(PageFilter.java:105) > at com.evermind._bxb._crd(.:375) > at com.evermind._bxb._ukb(.:170) > at com.evermind._cn._uab(.:576) > at com.evermind._cn._fm(.:189) > at com.evermind._bs.run(.:62) > > The error ONLY occurs in the following situation: > - user hits an Action URL (like Create!default.action) > - that URL is protected, and so app server serves the login page (as per > servlet spec) > - user enters login details, submits the login page > - server authenticates the user, and redirects to the original URL > (Create!default.action) > - BOOM! NPE. > > It must be something to do with the login process, because hitting the > same URL after logging in (ie click back, click on link again) yields no > NPE. > > Thoughts? It could be an app server specific problem, but I imagine > Orion is fairly spec compliant in this area. > > -mike > > -- > Cheers, > Mike > > -- > Mike Cannon-Brookes :: mi...@at... > > Atlassian :: http://www.atlassian.com > Supporting YOUR J2EE World > > > > _______________________________________________ > Webwork-user mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-user > > |
|
From: matt b. <ba...@us...> - 2002-01-02 22:42:52
|
Update of /cvsroot/webwork/webwork/src/main/webwork/action/factory In directory usw-pr-cvs1:/tmp/cvs-serv2512 Modified Files: DefaultActionFactory.java Log Message: Swapped the order of alias and command factory proxies. Actions with commands; i.e. - testfoo.action=Test!foo were not being found because alias was not resolved first. |
|
From: matt b. <ba...@us...> - 2002-01-02 22:40:11
|
Update of /cvsroot/webwork/webwork/src/resources/web In directory usw-pr-cvs1:/tmp/cvs-serv1888 Modified Files: index.jsp Log Message: changed misc test href to point to testfoo.action alias |
|
From: matt b. <ba...@us...> - 2002-01-02 22:39:29
|
Update of /cvsroot/webwork/webwork/src/resources/web/WEB-INF In directory usw-pr-cvs1:/tmp/cvs-serv1666 Modified Files: web.xml Log Message: added security constraints for testing - it is commented out as a default |
|
From: matt b. <ba...@us...> - 2002-01-02 22:34:09
|
Update of /cvsroot/webwork/webwork/src/docs In directory usw-pr-cvs1:/tmp/cvs-serv32694 Modified Files: valuestack.xml Log Message: fixed typos |
|
From: matt b. <ba...@us...> - 2002-01-02 22:32:33
|
Update of /cvsroot/webwork/webwork/src/docs In directory usw-pr-cvs1:/tmp/cvs-serv32210 Modified Files: expr-param.xml Log Message: fixed typos |
|
From: Maurice C. P. <mau...@us...> - 2001-12-29 19:37:33
|
Update of /cvsroot/webwork/webwork/src/main/webwork/expr In directory usw-pr-cvs1:/tmp/cvs-serv19950 Modified Files: Parser.jj Log Message: updated float comparison code to handle NaN |
|
From: Mike Cannon-B. <mi...@at...> - 2001-12-29 10:07:54
|
Not sure which list bug reports are supposed to be posted to, so I hit both - apologies if this breaches any ettiquette. Here's the log4j stack trace for a weird NPE I get using WebWork: [ (ServletDispatcher)] Could not instantiate action:CreateIssue!default java.lang.IllegalArgumentException: Could not set parameter "null":java.lang.NullPointerException at webwork.util.BeanUtil.setProperties(BeanUtil.java:114) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:38) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:53) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:55) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._hu.doFilter(.:59) at com.sitemesh.filter.PageFilter.parsePage(PageFilter.java:166) at com.sitemesh.filter.PageFilter.doFilter(PageFilter.java:105) at com.evermind._bxb._crd(.:375) at com.evermind._bxb._ukb(.:170) at com.evermind._cn._uab(.:576) at com.evermind._cn._fm(.:189) at com.evermind._bs.run(.:62) And the system.err stacktrace: java.lang.NullPointerException at webwork.action.factory.ParameterMap.entrySet(ParameterMap.java:34) at java.util.AbstractMap$2.<init>(AbstractMap.java:361) at java.util.AbstractMap$1.iterator(AbstractMap.java:360) at webwork.util.BeanUtil.setProperties(BeanUtil.java:89) at webwork.action.factory.ParametersActionFactoryProxy.getActionImpl(ParametersActionFactoryProxy.java:38) at webwork.action.factory.DefaultActionFactory.getActionImpl(DefaultActionFactory.java:53) at webwork.action.factory.ActionFactory.getAction(ActionFactory.java:55) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:150) at javax.servlet.http.HttpServlet.service(HttpServlet.java:336) at com.evermind._hu.doFilter(.:59) at com.sitemesh.filter.PageFilter.parsePage(PageFilter.java:166) at com.sitemesh.filter.PageFilter.doFilter(PageFilter.java:105) at com.evermind._bxb._crd(.:375) at com.evermind._bxb._ukb(.:170) at com.evermind._cn._uab(.:576) at com.evermind._cn._fm(.:189) at com.evermind._bs.run(.:62) The error ONLY occurs in the following situation: - user hits an Action URL (like Create!default.action) - that URL is protected, and so app server serves the login page (as per servlet spec) - user enters login details, submits the login page - server authenticates the user, and redirects to the original URL (Create!default.action) - BOOM! NPE. It must be something to do with the login process, because hitting the same URL after logging in (ie click back, click on link again) yields no NPE. Thoughts? It could be an app server specific problem, but I imagine Orion is fairly spec compliant in this area. -mike -- Cheers, Mike -- Mike Cannon-Brookes :: mi...@at... Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World |
|
From: Maurice C. P. <mau...@us...> - 2001-12-27 04:11:10
|
Update of /cvsroot/webwork/webwork/src/resources/web In directory usw-pr-cvs1:/tmp/cvs-serv22701/web Modified Files: expr.jsp text.jsp Log Message: added floats to the expression language |
|
From: Maurice C. P. <mau...@us...> - 2001-12-27 04:10:38
|
Update of /cvsroot/webwork/webwork/src/main/webwork/util In directory usw-pr-cvs1:/tmp/cvs-serv22638/webwork/util Modified Files: Query.java QuerySegment.java ValueStack.java Log Message: added floats to the expression language |
|
From: Maurice C. P. <mau...@us...> - 2001-12-27 04:10:38
|
Update of /cvsroot/webwork/webwork/src/main/webwork/expr In directory usw-pr-cvs1:/tmp/cvs-serv22638/webwork/expr Modified Files: Parser.jj Log Message: added floats to the expression language |
|
From: Mike Cannon-B. <mi...@at...> - 2001-12-21 01:39:36
|
WebTable's were annoying me because as soon as you surf away from the page, and back you lose all your sort settings. So I've modified the tag to optionally store sort settings in the user's session. (See attached source file) It's fully backward compatible so I don't see any reason to wait until 1.1 to include it. To enable persistent sorting, just add the attribute persistent="true" to the tag when you use it - voila! (You'll also need to add that as an optional parameter to the taglib.tld file) Enjoy! -mike -- Cheers, Mike -- Mike Cannon-Brookes :: mi...@at... Atlassian :: http://www.atlassian.com Supporting YOUR J2EE World |
|
From: Matt B. <ma...@sm...> - 2001-12-20 18:40:27
|
Excellent. I'll sign you up. thx. ----- Original Message ----- From: "Jay Bose" <jay...@no...> To: "Webwork-Devel" <web...@li...> Sent: Thursday, December 20, 2001 12:29 PM Subject: [Webwork-devel] Re: documentation Hey Matt, I'll get on "Forms". Respectfully, Jay Bose Notiva Analyst/Developer (585) 272-6360 jay...@no... |
|
From: Jay B. <jay...@no...> - 2001-12-20 18:32:55
|
Hey Matt, I'll get on "Forms". Respectfully, Jay Bose Notiva Analyst/Developer (585) 272-6360 jay...@no... |
|
From: matt b. <ba...@us...> - 2001-12-20 18:27:42
|
Update of /cvsroot/webwork/webwork/src/main/webwork/taglib/ui In directory usw-pr-cvs1:/tmp/cvs-serv13350 Modified Files: CheckBoxTag.java ComboBoxTag.java RadioTag.java SelectTag.java TextAreaTag.java TextFieldTag.java Log Message: fixed LF |
|
From: matt b. <ba...@us...> - 2001-12-20 18:27:24
|
Update of /cvsroot/webwork/webwork/src/main/webwork/taglib/ui In directory usw-pr-cvs1:/tmp/cvs-serv13293 Modified Files: ComponentTag.java Log Message: removed sys outs and replaced with debug |
|
From: matt b. <ba...@us...> - 2001-12-20 18:26:37
|
Update of /cvsroot/webwork/webwork/src/main/webwork/taglib/ui In directory usw-pr-cvs1:/tmp/cvs-serv13057 Added Files: LabelTag.java Log Message: new |
|
From: matt b. <ba...@us...> - 2001-12-20 18:26:05
|
Update of /cvsroot/webwork/webwork/src/main/webwork/taglib In directory usw-pr-cvs1:/tmp/cvs-serv12900 Modified Files: IfTag.java Log Message: fixed LF |
|
From: matt b. <ba...@us...> - 2001-12-20 18:25:17
|
Update of /cvsroot/webwork/webwork/src/resources/web In directory usw-pr-cvs1:/tmp/cvs-serv12741 Modified Files: formtest.jsp Log Message: added label tag |