[hibernate-issues] [Hibernate-JIRA] Created: (HBX-943) infinite wait due to PluginLogAppender in Hibernate Reverse Engeneering editor

Michel HAMON (JIRA) noreply at atlassian.com
Thu May 24 05:41:04 EDT 2007


infinite wait due to PluginLogAppender in Hibernate Reverse Engeneering editor
------------------------------------------------------------------------------

                 Key: HBX-943
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-943
             Project: Hibernate Tools
          Issue Type: Bug
          Components: reverse-engineer
    Affects Versions: 3.2beta9
         Environment: eclipse 3.2.2 + Hibernate Tools beta 9
            Reporter: Michel HAMON


In Hibernate Reverse Engeneering editor, tab "Table and Column", when i click on button "add", i have a lot of warning  messages, the PluginLogAppender cause an infinite wait.

Take a look at the stackTrace:

Thread [main] (Suspended)	
	Object.wait(long) line: not available [native method]	
	ArrayList(Object).wait() line: 429 [local variables unavailable]	
	IOConsolePartitioner.streamAppended(IOConsoleOutputStream, String) line: 467	
	MessageConsoleStream(IOConsoleOutputStream).notifyParitioner(String) line: 238	
	MessageConsoleStream(IOConsoleOutputStream).encodedWrite(String) line: 233	
	MessageConsoleStream(IOConsoleOutputStream).write(String) line: 218	
	MessageConsoleStream.print(String) line: 49	
	MessageConsoleStream.println(String) line: 74	
	PluginLogAppender.append(LoggingEvent) line: 103	
	PluginLogAppender(AppenderSkeleton).doAppend(LoggingEvent) line: 230	
	AppenderAttachableImpl.appendLoopOnAppenders(LoggingEvent) line: 65	
	Logger(Category).callAppenders(LoggingEvent) line: 203	
	Logger(Category).forcedLog(String, Priority, Object, Throwable) line: 388	
	Logger(Category).log(String, Priority, Object, Throwable) line: 853	
	Log4JLogger.debug(Object) line: 110	
	JDBCMetaDataDialect.getColumns(String, String, String, String) line: 123	
	JDBCReader.processBasicColumns(Table, ProgressListener) line: 549	
	JDBCReader.readDatabaseSchema(DatabaseCollector, String, String, ProgressListener) line: 85	
	LazyDatabaseSchemaWorkbenchAdapter$1.execute() line: 97	
	DefaultExecutionContext.execute(ExecutionContext$Command) line: 65	
	LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(IProgressMonitor, DefaultDatabaseCollector, ConsoleConfiguration, ReverseEngineeringStrategy) line: 88	
	LazyDatabaseSchemaWorkbenchAdapter.getChildren(Object, IProgressMonitor) line: 57	
	LazyDatabaseSchemaWorkbenchAdapter.getChildren(Object) line: 49	
	DeferredContentProvider(BaseWorkbenchContentProvider).getChildren(Object) line: 68	
	DeferredContentProvider.getChildren(Object) line: 78	
	DeferredContentProvider(BaseWorkbenchContentProvider).getElements(Object) line: 77	
	TablePropertiesBlock$4(CheckedTreeSelectionDialog).evaluateIfTreeEmpty(Object) line: 378	
	TablePropertiesBlock$4(CheckedTreeSelectionDialog).open() line: 226	
	TablePropertiesBlock.doAdd() line: 150	
	TablePropertiesBlock$1.widgetSelected(SelectionEvent) line: 110	
	TypedListener.handleEvent(Event) line: 90	
	EventTable.sendEvent(Event) line: 66	
	Button(Widget).sendEvent(Event) line: 928	
	Display.runDeferredEvents() line: 3348	
	Display.readAndDispatch() line: 2968	
	Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 1930	
	Workbench.runUI() line: 1894	
	Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 422	
	PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149	
	IDEApplication.run(Object) line: 95	
	PlatformActivator$1.run(Object) line: 78	
	EclipseAppLauncher.runApplication(Object) line: 92	
	EclipseAppLauncher.start(Object) line: 68	
	EclipseStarter.run(Object) line: 400	
	EclipseStarter.run(String[], Runnable) line: 177	
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method]	
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39	
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25	
	Method.invoke(Object, Object[]) line: 324	
	Main.invokeFramework(String[], URL[]) line: 336	
	Main.basicRun(String[]) line: 280	
	Main.run(String[]) line: 977	
	Main.main(String[]) line: 952	

in IOConsolePartitioner.streamAppended fBuffer > 160000 (fBuffer =160073)

workaround is simple, i disable PluginLogAppender.
i don't know how to correct this problem.

No problem with previous version of hibernate Tools.

-- 
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