[ 
http://www.stripesframework.org/jira/browse/STS-549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frederic Daoud closed STS-549.
------------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: Release 1.5.2)
                       (was: Release 1.6)

I think it is reasonable not to support Java 1.4 because A) Stripes was 
designed to work with Java 1.5+ from the start and B) Java 1.4 is now at EOL 
for a while - in fact even Java 1.5 will be at EOL soon.


> Stripes 1.5 examples fail with Java 1.4
> ---------------------------------------
>
>                 Key: STS-549
>                 URL: http://www.stripesframework.org/jira/browse/STS-549
>             Project: Stripes
>          Issue Type: Bug
>    Affects Versions: Release 1.5
>         Environment: WebSphere App.Server 6.0.2.7 with IBM Java 1.4.2 Windows 
> 32 build cn142-20050609 (i.e. quite up-to-date, I would not report anything 
> on WebSphere 6.0.0.0)
>            Reporter: Jakub Exner
>            Priority: Minor
>
> Note: this works perfectly with Stripes 1.4.3 in the exact same environment, 
> but does not work with Stripes 1.5. (revision 890).
> Steps to reproduce the error:
> 1. Build stripes-examples.war from SVN trunk.
> 2. Translate all WEB-INF/classes and stripes.jar to Java 1.4 using 
> Retrotranslator:
>     java -jar retrotranslator-transformer-1.2.6.jar -verbose -srcdir classes
>     java -jar retrotranslator-transformer-1.2.6.jar -verbose -support 
> ThreadLocal.remove -srcjar jarstr15b/stripes.jar -destjar 
> jarstr15b/stripes_j14.jar
> 3. deploy the .war file with *translated* classes and stripes_j14.jar to 
> WebSphere 6.0.2.7 Application Server
> 4. go to index.html and from there, click "quickstart" (i.e. attempt to run 
> the Stripes Calculator sample)
> 5. http error 500 is returned. Stack trace from the SystemOut.log:
> [20.4.08 17:03:05:769 SELČ] 00000048 ApplicationMg A   WSVR0221I: Application 
> started: stripes-examples_war
> [20.4.08 17:03:15:378 SELČ] 00000049 ServletWrappe A   SRVE0242I: 
> [stripes-examples_war] [/stripes-examples] [/quickstart/index.jsp]: 
> Initialization successful.
> [20.4.08 17:03:15:613 SELČ] 00000049 ResolverUtil  I 
> net.sourceforge.stripes.util.Log info Scanning for classes in 
> [/C:/was6/profiles/AppSrv01/installedApps/NJEXNERNode02Cell/stripes-examples_war.ear/stripes-examples.war/WEB-INF/classes/net/sourceforge/stripes/examples/]
>  matching criteria: is assignable to ActionBean
> [20.4.08 17:03:16:222 SELČ] 00000049 BootstrapProp I 
> net.sourceforge.stripes.util.Log info Class implementing/extending 
> ActionBeanContext found in web.xml: 
> net.sourceforge.stripes.examples.bugzooky.BugzookyActionBeanContext
> [20.4.08 17:03:16:238 SELČ] 00000049 DefaultAction I 
> net.sourceforge.stripes.util.Log info DefaultActionBeanContextFactory will 
> use ActionBeanContext subclass 
> net.sourceforge.stripes.examples.bugzooky.BugzookyActionBeanContext
> [20.4.08 17:03:16:300 SELČ] 00000049 DefaultLocale I 
> net.sourceforge.stripes.util.Log info No locale list specified, defaulting to 
> single locale: cs_CZ
> [20.4.08 17:03:16:347 SELČ] 00000049 DefaultMultip I 
> net.sourceforge.stripes.util.Log info Using 
> net.sourceforge.stripes.controller.multipart.CosMultipartWrapper as 
> MultipartWrapper implementation.
> [20.4.08 17:03:16:378 SELČ] 00000049 StripesFilter I 
> net.sourceforge.stripes.util.Log info Stripes Initialization Complete. 
> Version: 1.5b1, Build: ${repository.version}
> [20.4.08 17:03:19:956 SELČ] 00000045 ExpressionVal I 
> net.sourceforge.stripes.util.Log info Expression validation will be performed 
> using: 
> net.sourceforge.stripes.validation.expression.CommonsElExpressionExecutor
> [20.4.08 17:03:20:081 SELČ] 00000045 ServletWrappe E   SRVE0068E: Could not 
> invoke the service() method on servlet StripesDispatcher. Exception thrown : 
> java.lang.ExceptionInInitializerError
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.isBindingAllowed(DefaultActionBeanPropertyBinder.java:231)
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.bind(DefaultActionBeanPropertyBinder.java:128)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper$3.intercept(DispatcherHelper.java:194)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
>       at 
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:111)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper.doBindingAndValidation(DispatcherHelper.java:190)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doBindingAndValidation(DispatcherServlet.java:264)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:155)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:248)
>       at 
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
>       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2954)
>       at 
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
>       at 
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
>       at 
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
>       at 
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> Caused by: java.util.regex.PatternSyntaxException: Unknown character category 
> {javaJavaIdentifierStart} near index 26
> \p{javaJavaIdentifierStart}\p{javaJavaIdentifierPart}*
>                           ^
>       at java.util.regex.Pattern.error(Pattern.java:1578)
>       at java.util.regex.Pattern.familyError(Pattern.java:2259)
>       at java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2250)
>       at java.util.regex.Pattern.family(Pattern.java:2222)
>       at java.util.regex.Pattern.sequence(Pattern.java(Compiled Code))
>       at java.util.regex.Pattern.expr(Pattern.java:1595)
>       at java.util.regex.Pattern.compile(Pattern.java:1328)
>       at java.util.regex.Pattern.<init>(Pattern.java:1084)
>       at java.util.regex.Pattern.compile(Pattern.java:810)
>       at 
> net.sourceforge.stripes.controller.BindingPolicyManager.<clinit>(BindingPolicyManager.java:50)
>       ... 33 more
> [20.4.08 17:03:20:206 SELČ] 00000045 DefaultExcept W 
> net.sourceforge.stripes.util.Log warn Unhandled exception caught by the 
> Stripes default exception handler.
>                                  javax.servlet.ServletException
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1365)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:248)
>       at 
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
>       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2954)
>       at 
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
>       at 
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
>       at 
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
>       at 
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> ---- Begin backtrace for Nested Throwables
> java.lang.ExceptionInInitializerError
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.isBindingAllowed(DefaultActionBeanPropertyBinder.java:231)
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.bind(DefaultActionBeanPropertyBinder.java:128)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper$3.intercept(DispatcherHelper.java:194)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
>       at 
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:111)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper.doBindingAndValidation(DispatcherHelper.java:190)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doBindingAndValidation(DispatcherServlet.java:264)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:155)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:248)
>       at 
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
>       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2954)
>       at 
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
>       at 
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
>       at 
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
>       at 
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> Caused by: java.util.regex.PatternSyntaxException: Unknown character category 
> {javaJavaIdentifierStart} near index 26
> \p{javaJavaIdentifierStart}\p{javaJavaIdentifierPart}*
>                           ^
>       at java.util.regex.Pattern.error(Pattern.java:1578)
>       at java.util.regex.Pattern.familyError(Pattern.java:2259)
>       at java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2250)
>       at java.util.regex.Pattern.family(Pattern.java:2222)
>       at java.util.regex.Pattern.sequence(Pattern.java(Compiled Code))
>       at java.util.regex.Pattern.expr(Pattern.java:1595)
>       at java.util.regex.Pattern.compile(Pattern.java:1328)
>       at java.util.regex.Pattern.<init>(Pattern.java:1084)
>       at java.util.regex.Pattern.compile(Pattern.java:810)
>       at 
> net.sourceforge.stripes.controller.BindingPolicyManager.<clinit>(BindingPolicyManager.java:50)
>       ... 33 more
> [20.4.08 17:03:20:269 SELČ] 00000045 WebApp        E   SRVE0026E: [Servlet 
> Error]-[StripesDispatcher]: java.lang.ExceptionInInitializerError
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.isBindingAllowed(DefaultActionBeanPropertyBinder.java:231)
>       at 
> net.sourceforge.stripes.controller.DefaultActionBeanPropertyBinder.bind(DefaultActionBeanPropertyBinder.java:128)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper$3.intercept(DispatcherHelper.java:194)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:158)
>       at 
> net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:111)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:155)
>       at 
> net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:74)
>       at 
> net.sourceforge.stripes.controller.DispatcherHelper.doBindingAndValidation(DispatcherHelper.java:190)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doBindingAndValidation(DispatcherServlet.java:264)
>       at 
> net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:155)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1282)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1239)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:136)
>       at 
> net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:248)
>       at 
> com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:142)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:121)
>       at 
> com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:82)
>       at 
> com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:670)
>       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2954)
>       at 
> com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:221)
>       at 
> com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:210)
>       at 
> com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1912)
>       at 
> com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:84)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
>       at 
> com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:101)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
>       at 
> com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
>       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> Caused by: java.util.regex.PatternSyntaxException: Unknown character category 
> {javaJavaIdentifierStart} near index 26
> \p{javaJavaIdentifierStart}\p{javaJavaIdentifierPart}*
>                           ^
>       at java.util.regex.Pattern.error(Pattern.java:1578)
>       at java.util.regex.Pattern.familyError(Pattern.java:2259)
>       at java.util.regex.Pattern.retrieveCategoryNode(Pattern.java:2250)
>       at java.util.regex.Pattern.family(Pattern.java:2222)
>       at java.util.regex.Pattern.sequence(Pattern.java(Compiled Code))
>       at java.util.regex.Pattern.expr(Pattern.java:1595)
>       at java.util.regex.Pattern.compile(Pattern.java:1328)
>       at java.util.regex.Pattern.<init>(Pattern.java:1084)
>       at java.util.regex.Pattern.compile(Pattern.java:810)
>       at 
> net.sourceforge.stripes.controller.BindingPolicyManager.<clinit>(BindingPolicyManager.java:50)
>       ... 33 more
> (end of log)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to