Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1462

Error message when instantiating abstract component

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate Issue
    • Affects Version/s: None
    • Fix Version/s: 1.3.0.ALPHA
    • Component/s: None
    • Labels:
      None

      Description

      The error message when one tries to instantiate a component marked as abstact should be better if possible.

      java.lang.InstantiationException
      sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstance(InstantiationExceptionConstructorAccessorImpl.java:30)
      java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      java.lang.Class.newInstance0(Class.java:355)
      java.lang.Class.newInstance(Class.java:308)
      org.jboss.seam.Component.instantiateJavaBean(Component.java:1125)
      org.jboss.seam.Component.instantiate(Component.java:1088)
      org.jboss.seam.Component.newInstance(Component.java:1736)
      org.jboss.seam.Component.getInstance(Component.java:1643)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gavin.king Gavin King
                Reporter:
                knisterpeter Markus Wolf
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: