Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Attempted to nest write lock inside a read or write lock(Attempted to nest write lock inside a read or write lock)
Attempted to nest write lock inside a read or write lock [message #883282] Fri, 08 June 2012 07:51
yassine laghouazi is currently offline yassine laghouazi
Messages: 2
Registered: June 2012
Junior Member
I have an RCP application developed under eclipse 3.3. when migrating the application to eclipse 3.7. The above exception occurred when I want to write to the log from de'autre thread of progress bar.

java.lang.IllegalStateException: Attempted to nest write lock inside a read or write lock
at org.eclipse.equinox.log.internal.BasicReadWriteLock.writeLock(BasicReadWriteLock.java:52)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.addLogListener(ExtendedLogReaderServiceFactory.java:181)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceImpl.addLogListener(ExtendedLogReaderServiceImpl.java:33)
at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPlatform.java:418)
at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:291)
at org.eclipse.ui.internal.WorkbenchPlugin.log(WorkbenchPlugin.java:862)
at org.eclipse.ui.statushandlers.StatusManager.logError(StatusManager.java:285)
at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:200)
at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java:231)
at org.eclipse.ui.statushandlers.StatusManager$StatusManagerLogListener.logging(StatusManager.java:305)
at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:160)
at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:100)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:86)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:171)
at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:150)
at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54)
at org.eclipse.core.internal.runtime.Log.log(Log.java:60)
at com.rockwellautomation.neat.v5.plugins.controllogix.generatecode.Activator.logError(Activator.java:61)
at com.rockwellautomation.neat.v5.plugins.controllogix.generatecode.L5KFileStructureController.controlFoundRoutines(L5KFileStructureController.java:293)
at com.rockwellautomation.neat.v5.plugins.controllogix.generatecode.L5KFileStructureController.controleL5kFileStructure(L5KFileStructureController.java:216)
at com.rockwellautomation.neat.v5.plugins.controllogix.generatecode.GenerateCode4ControlLogix.doGenerateL5KCode(GenerateCode4ControlLogix.java:137)
at com.rockwellautomation.neat.v5.plugins.controllogix.generatecode.params.GenerateCodeParamsWizard$1.run(GenerateCodeParamsWizard.java:68)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

thanks in advance
Previous Topic:Maximize/Restore events
Next Topic:Removing Some menu items programatically
Goto Forum:
  


Current Time: Sat Oct 25 04:40:28 GMT 2014

Powered by FUDForum. Page generated in 0.01476 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software