[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-525) Application hangs, main thread returns but some other thread spawned keeps application from ending

ddbattlefield2142 (JIRA) noreply at atlassian.com
Thu May 6 12:50:48 EDT 2010


Application hangs, main thread returns but some other thread spawned keeps application from ending
--------------------------------------------------------------------------------------------------

                 Key: HSEARCH-525
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-525
             Project: Hibernate Search
          Issue Type: Bug
    Affects Versions: 3.2.0.CR1, 3.1.1.GA
         Environment: Ubuntu 9.10, java version "1.6.0_0"

OpenJDK Runtime Environment (IcedTea6 1.6.1) (6b16-1.6.1-3ubuntu3)
OpenJDK Server VM (build 14.0-b16, mixed mode),

mysql  Ver 14.14 Distrib 5.1.37, for debian-linux-gnu (i486) using  EditLine wrapper

            Reporter: ddbattlefield2142
         Attachments: HibernateSearchBugReport.tgz

Write a class with one main method. Call a method which loads one entity (preexisting data) and tries to index it. The code runs fine and the main thread returns but the application hangs. Some thread spawned by hibernate is keeping the application from exiting. You would need to press control + C to exit the application. 

Please refer to README in the attachment for a list of dependencies I am using and the running instructions. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list