Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Attempted to nest write lock inside a read or write
Attempted to nest write lock inside a read or write [message #894736] Tue, 10 July 2012 10:20
yassine laghouazi is currently offline yassine laghouaziFriend
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 the thread related with a 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:Possible to start with one view, and from there select which views to open?
Next Topic:Missing constraint in feature-based product
Goto Forum:
  


Current Time: Tue Mar 19 11:21:49 GMT 2024

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

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

Back to the top