Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13741

Hibernate JPA related Exception after creating HTML5 application project from JBoss Central

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.0.1.Final
    • Fix Version/s: 4.2.x
    • Component/s: hibernate
    • Labels:
      None

      Description

      java.lang.IllegalArgumentException: duplicate listener: AbstractJpaProject.ResourceModelListener[2A-67-71-5A](HibernateJpaProject[6D-42-E1-75](jboss-as-kitchensink-html5-mobile))
      	at org.eclipse.jpt.common.utility.internal.ListenerList.add(ListenerList.java:95)
      	at org.eclipse.jpt.jpa.core.resource.xml.JpaXmlResource.addResourceModelListener(JpaXmlResource.java:264)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.addJpaFileMaybe_(AbstractJpaProject.java:579)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.addJpaFileMaybe(AbstractJpaProject.java:552)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.synchronizeJpaFiles(AbstractJpaProject.java:1689)
      	at org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaProject.synchronizeJpaFiles(HibernateJpaProject.java:254)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$InternalResourceDeltaVisitor.fileChangeIsSignificant(AbstractJpaProject.java:1674)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$ResourceDeltaVisitor.fileChanged(AbstractJpaProject.java:1866)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$ResourceDeltaVisitor.visit(AbstractJpaProject.java:1858)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:69)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      	at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$ResourceDeltaVisitor.visitDelta(AbstractJpaProject.java:1841)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.internalProjectChanged(AbstractJpaProject.java:1652)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.projectChanged(AbstractJpaProject.java:1644)
      	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.projectChanged_(InternalJpaProjectManager.java:686)
      	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager$ProjectChangeEventHandlerCommand.execute(InternalJpaProjectManager.java:672)
      	at org.eclipse.jpt.common.core.internal.utility.command.JobCommandJob.run(JobCommandJob.java:42)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                koen.aers Koen Aers
                Reporter:
                dgolovin Denis Golovin
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: