Uploaded image for project: 'HiveMind'
  1. HiveMind
  2. HIVEMIND-136

No line precise error reporting on failed translate

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.1
    • None
    • framework
    • None

    Description

      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)

      Attachments

        1. hivemind-136.patch
          3 kB
          Johan Oskarsson

        Activity

          People

            Unassigned Unassigned
            hlship Howard Lewis Ship

            Dates

              Created:
              Updated:

              Slack

                Issue deployment