Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
5.1.0.1
-
None
Description
[ERROR] RequestExceptionHandler Processing of request failed with uncaught exception: com.formos.tapestry.tapx.datefield.components.DateField
java.lang.InstantiationError: com.formos.tapestry.tapx.datefield.components.DateField
at $Instantiator_11ffd289b27.newInstance($Instantiator_11ffd289b27.java)
at org.apache.tapestry5.internal.structure.InternalComponentResourcesImpl.<init>(InternalComponentResourcesImpl.java:132)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.<init>(ComponentPageElementImpl.java:545)
at org.apache.tapestry5.internal.structure.ComponentPageElementImpl.newChild(ComponentPageElementImpl.java:627)
at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleEmbeddedComponent(ComponentAssemblerImpl.java:132)
at org.apache.tapestry5.internal.pageload.PageLoaderImpl$12.execute(PageLoaderImpl.java:954)
at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.runActions(ComponentAssemblerImpl.java:193)
at org.apache.tapestry5.internal.pageload.ComponentAssemblerImpl.assembleRootComponent(ComponentAssemblerImpl.java:88)
at org.apache.tapestry5.internal.pageload.PageLoaderImpl.loadPage(PageLoaderImpl.java:159)
at $PageLoader_11ffd289b02.loadPage($PageLoader_11ffd289b02.java)
This is really not much to go on (I spun my wheels for about 30 minutes). The problem was that the DateField class was abstract. Tapestry should display an error message to the effect of: "This class is abstract and can not be instantiated.".