[
https://jira.jboss.org/jira/browse/JBIDE-3387?page=com.atlassian.jira.plu...
]
Vitali Yemialyanchyk commented on JBIDE-3387:
---------------------------------------------
i can't reproduce it and provide steps to reproduce. it appears constantly for some
period of time and then disappear...
the problem was in concurrent threads run:
GenericJpaModel -> buildJpaProject() -> jpaProject.setUpdater
was called after:
GenericJpaProject -> update() - here (this.updater == null) is true - as a result -
exception...
Hibernate/JPA project exception
-------------------------------
Key: JBIDE-3387
URL:
https://jira.jboss.org/jira/browse/JBIDE-3387
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.0.0.cr1
Reporter: Vitali Yemialyanchyk
Assignee: Vitali Yemialyanchyk
Priority: Minor
sometimes i get this exception:
message:
updater is null, use setUpdater(Updater) after construction of GenericJpaProject
stack trace:
java.lang.IllegalStateException: updater is null, use setUpdater(Updater) after
construction of GenericJpaProject
at org.eclipse.jpt.core.internal.GenericJpaProject.update(GenericJpaProject.java:691)
at
org.eclipse.jpt.core.internal.GenericJpaDataSource$LocalConnectionListener.opened(GenericJpaDataSource.java:172)
at
org.eclipse.jpt.db.internal.DTPConnectionProfileWrapper$LocalConnectionListener.opened(DTPConnectionProfileWrapper.java:362)
at
org.eclipse.datatools.connectivity.internal.ManagedConnection.createConnection(ManagedConnection.java:172)
at
org.eclipse.datatools.connectivity.internal.CreateConnectionJob.run(CreateConnectionJob.java:56)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira