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

View: New views
2 Messages — Rating Filter:   Alert me  

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

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

No line precise error reporting on failed translate
---------------------------------------------------

         Key: HIVEMIND-136
         URL: http://issues.apache.org/jira/browse/HIVEMIND-136
     Project: HiveMind
        Type: Bug
  Components: framework  
    Versions: 1.1    
    Reporter: Howard M. Lewis Ship


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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@...
For additional commands, e-mail: hivemind-dev-help@...


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

by JIRA hivemind-dev@jakarta.apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ 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.