Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-18 Thread Howard Lewis Ship
Please construct a small project that demonstrates your error. Open a JIRA
issue and attach the project as a ZIP archive.  Yes, I hate it when
developers tell me to do that kind of thing, but there's no way I'll be
able to reconstruct your issue otherwise.

On Mon, Jun 18, 2012 at 1:49 AM, chog  wrote:

> I have not made any changes to the JDK at all. I made some changes
> resulting
> in that we are now decorating ComponentTemplateLocator for finding .html
> files in classpath instead.
>
> --
> View this message in context:
> http://tapestry.1045711.n5.nabble.com/Post-Upgrade-Error-ioc-Registry-Code-attribute-in-native-or-abstract-methods-in-class-file-tp5713768p5713960.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com


Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-18 Thread chog
I have not made any changes to the JDK at all. I made some changes resulting
in that we are now decorating ComponentTemplateLocator for finding .html
files in classpath instead.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Post-Upgrade-Error-ioc-Registry-Code-attribute-in-native-or-abstract-methods-in-class-file-tp5713768p5713960.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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



Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-11 Thread chog

Howard Lewis Ship wrote
> 
> That can't be the full stack trace, and all the interesting parts
> certainly come later.  Are you sure you don't have some other changes,
> such as a change to the JDK that compiled the LayoutX class?
> 

This is the full stacktrace;

2012-06-12 08:41:44.802:WARN::/
java.lang.RuntimeException: Page core/ExceptionReport did not generate any
markup when rendered. This could be because its template file could not be
located, or because a render phase method in the page prevented rendering.
at
org.apache.tapestry5.internal.services.PageMarkupRendererImpl.renderPageMarkup(PageMarkupRendererImpl.java:50)
at
$PageMarkupRenderer_137df6d19f3.renderPageMarkup($PageMarkupRenderer_137df6d19f3.java)
at
org.apache.tapestry5.internal.services.PageResponseRendererImpl.renderPageResponse(PageResponseRendererImpl.java:67)
at
$PageResponseRenderer_137df6d197e.renderPageResponse($PageResponseRenderer_137df6d197e.java)
at
my.project.handlers.ExceptionHandler.handleRequestException(ExceptionHandler.java:139)
at
$RequestExceptionHandler_137df6d19e9.handleRequestException($RequestExceptionHandler_137df6d19e9.java)
at
$RequestExceptionHandler_137df6d1935.handleRequestException($RequestExceptionHandler_137df6d1935.java)
at
org.apache.tapestry5.internal.services.RequestErrorFilter.service(RequestErrorFilter.java:42)
at $RequestHandler_137df6d195b.service($RequestHandler_137df6d195b.java)
at
org.apache.tapestry5.services.TapestryModule$4.service(TapestryModule.java:984)
at $RequestHandler_137df6d195b.service($RequestHandler_137df6d195b.java)
at
org.apache.tapestry5.services.TapestryModule$3.service(TapestryModule.java:974)
at $RequestHandler_137df6d195b.service($RequestHandler_137df6d195b.java)
at
org.apache.tapestry5.internal.services.StaticFilesFilter.service(StaticFilesFilter.java:90)
at $RequestHandler_137df6d195b.service($RequestHandler_137df6d195b.java)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:90)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter$2.invoke(CheckForUpdatesFilter.java:80)
at
org.apache.tapestry5.ioc.internal.util.ConcurrentBarrier.withRead(ConcurrentBarrier.java:85)
at
org.apache.tapestry5.internal.services.CheckForUpdatesFilter.service(CheckForUpdatesFilter.java:103)
at $RequestHandler_137df6d195b.service($RequestHandler_137df6d195b.java)
at $RequestHandler_137df6d1953.service($RequestHandler_137df6d1953.java)
at
org.apache.tapestry5.services.TapestryModule$HttpServletRequestHandlerTerminator.service(TapestryModule.java:272)
at
org.apache.tapestry5.internal.gzip.GZipFilter.service(GZipFilter.java:53)
at
$HttpServletRequestHandler_137df6d1955.service($HttpServletRequestHandler_137df6d1955.java)
at
org.apache.tapestry5.internal.services.IgnoredPathsFilter.service(IgnoredPathsFilter.java:62)
at
$HttpServletRequestFilter_137df6d1952.service($HttpServletRequestFilter_137df6d1952.java)
at
$HttpServletRequestHandler_137df6d1955.service($HttpServletRequestHandler_137df6d1955.java)
at at
my.project.handlers.CustomContentHandler.service(CustomContentHandler.java:164)
at
$HttpServletRequestHandler_137df6d1955.service($HttpServletRequestHandler_137df6d1955.java)
at
org.apache.tapestry5.services.TapestryModule$2.service(TapestryModule.java:928)
at
$HttpServletRequestHandler_137df6d1955.service($HttpServletRequestHandler_137df6d1955.java)
at
$HttpServletRequestHandler_137df6d194e.service($HttpServletRequestHandler_137df6d194e.java)
at org.apache.tapestry5.TapestryFilter.doFilter(TapestryFilter.java:147)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at
org.apache.cayenne.conf.WebApplicationContextFilter.doFilter(WebApplicationContextFilter.java:90)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(H

Re: Post Upgrade Error: ioc.Registry | Code attribute in native or abstract methods in class file

2012-06-11 Thread Howard Lewis Ship
That can't be the full stack trace, and all the interesting parts
certainly come later.  Are you sure you don't have some other changes,
such as a change to the JDK that compiled the LayoutX class?

On Mon, Jun 11, 2012 at 8:08 AM, chog  wrote:
> Hi,
>
> After upgrading to 5.2.6 I get an error;
>
> [ERROR] ioc.Registry Code attribute in native or abstract methods in class
> file my/project/components/LayoutX
> [ERROR] ioc.Registry Operations trace:
> [ERROR] ioc.Registry [ 1] Constructing instance of page class
> my.project.page.Start
> [ERROR] ioc.Registry [ 2] Creating ComponentAssembler for
> my.project.page.Start
> [ERROR] TweaksModule.ExceptionHandler java.lang.ClassFormatError: Code
> attribute in native or abstract methods in class file
> my/project/components/LayoutX
>
> Start is built up by different components, one being LayoutX. We identify
> what LayoutX i want by
> 
>
> t:class="onelayout" maps to a String in LayoutX;
>
>
> @Parameter(defaultPrefix = BindingConstants.LITERAL)
> @Property
> private String _class;
>
> When I comment out _class the project compiles and runs but with minimal
> functionality.
>
> This worked in 5.1.0.5.
>
> Could someone tell me how I make this 5.2.6 proof?
>
> Thanks.
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Post-Upgrade-Error-ioc-Registry-Code-attribute-in-native-or-abstract-methods-in-class-file-tp5713768.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

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