Description
When the copy-of is the same as the id, tapestry does not detect the problem, but a NullPointerException is thrown on
- org.apache.tapestry.resolver.ComponentSpecificationResolverImpl.resolve(ComponentSpecificationResolverImpl.java:95)
- $ComponentSpecificationResolver_10a31b1a2d5.resolve($ComponentSpecificationResolver_10a31b1a2d5.java)
- $ComponentSpecificationResolver_10a31b1a2d6.resolve($ComponentSpecificationResolver_10a31b1a2d6.java)
- org.apache.tapestry.pageload.PageLoader.constructComponent(PageLoader.java:393)
- org.apache.tapestry.pageload.PageLoader.loadPage(PageLoader.java:613)
- $IPageLoader_10a31b1a2c3.loadPage($IPageLoader_10a31b1a2c3.java)
- $IPageLoader_10a31b1a2c4.loadPage($IPageLoader_10a31b1a2c4.java)
- org.apache.tapestry.pageload.PageSource.getPage(PageSource.java:120)
- $IPageSource_10a31b1a216.getPage($IPageSource_10a31b1a216.java)
- $IPageSource_10a31b1a215.getPage($IPageSource_10a31b1a215.java)
- org.apache.tapestry.engine.RequestCycle.loadPage(RequestCycle.java:268)
- org.apache.tapestry.engine.RequestCycle.getPage(RequestCycle.java:251)
...
maybe a check should be added somewhere, then again, maybe its very rair that someone makes this typo...