You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by "Johan Lindquist (JIRA)" <hi...@jakarta.apache.org> on 2008/02/13 09:34:08 UTC

[jira] Updated: (HIVEMIND-136) No line precise error reporting on failed translate

     [ https://issues.apache.org/jira/browse/HIVEMIND-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Lindquist updated HIVEMIND-136:
-------------------------------------

    Attachment: hivemind-136.patch

Attached patch suggest solution for this - it simply adds the location of the module to the thrown ApplicationRuntimeException.

> No line precise error reporting on failed translate
> ---------------------------------------------------
>
>                 Key: HIVEMIND-136
>                 URL: https://issues.apache.org/jira/browse/HIVEMIND-136
>             Project: HiveMind
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: 1.1
>            Reporter: Howard M. Lewis Ship
>         Attachments: hivemind-136.patch
>
>
> Had an error when using the class translator.  There should be line precise exception reporting in the report below.
> An exception has occurred.
> You may continue by restarting the session.
> org.apache.hivemind.ApplicationRuntimeException
> Unable to construct configuration tapestry.annotation.MethodWorkers: Unable to convert type 'Method' to a Java class, either as is, or in package org.apache.tapestry.annotations.
>  
> org.apache.hivemind.ApplicationRuntimeException
> Unable to convert type 'Method' to a Java class, either as is, or in package org.apache.tapestry.annotations.
> Stack Trace:
>     * org.apache.hivemind.impl.ModuleImpl.resolveType(ModuleImpl.java:197)
>     * org.apache.hivemind.schema.rules.ClassTranslator.translate(ClassTranslator.java:35)
>     * org.apache.hivemind.impl.SchemaElement.checkUniquness(SchemaElement.java:197)
>     * org.apache.hivemind.impl.SchemaElement.validateAttributes(SchemaElement.java:154)
>     * org.apache.hivemind.impl.SchemaProcessorImpl.processElement(SchemaProcessorImpl.java:251)
>     * org.apache.hivemind.impl.SchemaProcessorImpl.processRootElement(SchemaProcessorImpl.java:235)
>     * org.apache.hivemind.impl.SchemaProcessorImpl.process(SchemaProcessorImpl.java:223)
>     * org.apache.hivemind.impl.ConfigurationPointImpl.processContributionElements(ConfigurationPointImpl.java:268)
>     * org.apache.hivemind.impl.ConfigurationPointImpl.constructMapElements(ConfigurationPointImpl.java:224)
>     * org.apache.hivemind.impl.ElementsInnerProxyMap.inner(ElementsInnerProxyMap.java:54)
>     * org.apache.hivemind.impl.ElementsInnerProxyMap.entrySet(ElementsInnerProxyMap.java:47)
>     * org.apache.hivemind.impl.ElementsProxyMap.entrySet(ElementsProxyMap.java:55)
>     * java.util.AbstractMap.get(AbstractMap.java:177)
>     * org.apache.tapestry.annotations.AnnotationEnhancementWorker.performMethodEnhancement(AnnotationEnhancementWorker.java:99)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.