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

error when creating html5 project from central: duplicate listener

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.0.Alpha1
    • Fix Version/s: 4.1.0.CR1
    • Component/s: hibernate, upstream
    • Labels:
      None
    • Environment:

      JBDS 7.0.0.Alpha1c B124

      Description

      When you try to create the html5 project from JBoss Central, you get this error in the workspace log:

      !ENTRY org.eclipse.jpt.jpa.core 4 0 2013-03-06 13:45:23.414
      !MESSAGE duplicate listener: AbstractJpaProject.ResourceModelListener[06-25-5B-29](HibernateJpaProject[7E-83-E3-E5](jboss-as-kitchensink-html5-mobile))
      !STACK 0
      java.lang.IllegalArgumentException: duplicate listener: AbstractJpaProject.ResourceModelListener[06-25-5B-29](HibernateJpaProject[7E-83-E3-E5](jboss-as-kitchensink-html5-mobile))
      	at org.eclipse.jpt.common.utility.internal.ListenerList.add(ListenerList.java:95)
      	at org.eclipse.jpt.common.core.resource.xml.JptXmlResource.addResourceModelListener(JptXmlResource.java:270)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.addJpaFileMaybe_(AbstractJpaProject.java:587)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.addJpaFileMaybe(AbstractJpaProject.java:560)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.synchronizeJpaFiles(AbstractJpaProject.java:1664)
      	at org.jboss.tools.hibernate.jpt.core.internal.HibernateJpaProject.synchronizeJpaFiles(HibernateJpaProject.java:264)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$InternalResourceDeltaVisitor.fileChangeIsSignificant(AbstractJpaProject.java:1649)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$ResourceDeltaVisitor.fileChanged(AbstractJpaProject.java:1841)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject$ResourceDeltaVisitor.visit(AbstractJpaProject.java:1833)
      	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:1816)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.internalProjectChanged(AbstractJpaProject.java:1627)
      	at org.eclipse.jpt.jpa.core.internal.AbstractJpaProject.projectChanged(AbstractJpaProject.java:1619)
      	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager.projectChanged_(InternalJpaProjectManager.java:759)
      	at org.eclipse.jpt.jpa.core.internal.InternalJpaProjectManager$ProjectChangeEventHandlerCommand.execute(InternalJpaProjectManager.java:741)
      	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

            Issue Links

              Activity

                People

                • Assignee:
                  snjeza Snjezana Peco
                  Reporter:
                  mmalina Martin Malina
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: