To whom it may concern,
I have problem using LPCXpresso 8.2.0. Would anyone help me solving following problem? I put my comments followed by “K.N>”.
SW used: LPCXpresso 8.2.0
OS: Windows 7 Professional 64bit
Microcomputer: LPC4370
K.N> When I started LPCXpresso, I’ve got following error message and the program was shut down.
“An error has occured. See the log file.
C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.log.”
The following message was added at the same time stamp when I opened the specified file:
!SESSION 2017-06-02 16:24:01.162 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.osgi 4 0 2017-06-02 16:24:06.685
!MESSAGE Application error
!STACK 1
java.lang.LinkageError: Error reading class bytes: org.eclipse.ui.internal.WorkbenchPlugin$4
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:572)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:540)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:527)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:324)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:327)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:402)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:352)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:344)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.eclipse.ui.internal.WorkbenchPlugin.initializeContext(WorkbenchPlugin.java:1329)
at org.eclipse.ui.internal.Workbench.initializeLazyServices(Workbench.java:2201)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1652)
at org.eclipse.ui.internal.Workbench.access$43(Workbench.java:1624)
at org.eclipse.ui.internal.Workbench$59.run(Workbench.java:2972)
Caused by: java.util.zip.ZipException: invalid distance too far back
at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:164)
at org.eclipse.osgi.storage.bundlefile.ZipBundleEntry$ZipBundleEntryInputStream.read(ZipBundleEntry.java:156)
at org.eclipse.osgi.storage.StorageUtil.getBytes(StorageUtil.java:195)
at org.eclipse.osgi.storage.bundlefile.BundleEntry.getBytes(BundleEntry.java:94)
at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:568)
... 14 more
K.N>Following message was also recorded at slightly earlier time stamp:
!SESSION 2017-06-02 11:00:00.020 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2017-06-02 11:00:55.652
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Duplicate id found: org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator
!ENTRY org.eclipse.ui 4 4 2017-06-02 11:00:55.683
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Unknown extension tag found: decorator
!ENTRY org.eclipse.cdt.ui 4 0 2017-06-02 11:30:04.263
!MESSAGE Error in CDT UI during reconcile
!STACK 1
C Model Exception: C Model Status [Element (Project Name).c does not exist.]
at org.eclipse.cdt.internal.core.model.CElement.newNotPresentException(CElement.java:484)
at org.eclipse.cdt.internal.core.model.TranslationUnit.makeConsistent(TranslationUnit.java:573)
at org.eclipse.cdt.internal.core.model.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:62)
at org.eclipse.cdt.internal.core.model.CModelOperation.execute(CModelOperation.java:341)
at org.eclipse.cdt.internal.core.model.CModelOperation.run(CModelOperation.java:607)
at org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(CModelOperation.java:635)
at org.eclipse.cdt.internal.core.model.WorkingCopy.reconcile(WorkingCopy.java:362)
at org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(CReconcilingStrategy.java:78)
at org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(CReconcilingStrategy.java:63)
at org.eclipse.cdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:87)
at org.eclipse.cdt.internal.ui.text.CCompositeReconcilingStrategy.reconcile(CCompositeReconcilingStrategy.java:90)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.cdt.internal.ui.text.CReconciler.process(CReconciler.java:349)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
!SUBENTRY 1 org.eclipse.cdt.core 4 969 2017-06-02 11:30:04.310
!MESSAGE Element (Project Name).c does not exist.
!ENTRY org.eclipse.cdt.ui 4 0 2017-06-02 11:31:32.746
!MESSAGE Error in CDT UI during reconcile
!STACK 1
C Model Exception: C Model Status [Element (Project Name).c does not exist.]
at org.eclipse.cdt.internal.core.model.CElement.newNotPresentException(CElement.java:484)
at org.eclipse.cdt.internal.core.model.TranslationUnit.makeConsistent(TranslationUnit.java:573)
at org.eclipse.cdt.internal.core.model.ReconcileWorkingCopyOperation.executeOperation(ReconcileWorkingCopyOperation.java:62)
at org.eclipse.cdt.internal.core.model.CModelOperation.execute(CModelOperation.java:341)
at org.eclipse.cdt.internal.core.model.CModelOperation.run(CModelOperation.java:607)
at org.eclipse.cdt.internal.core.model.CModelOperation.runOperation(CModelOperation.java:635)
at org.eclipse.cdt.internal.core.model.WorkingCopy.reconcile(WorkingCopy.java:362)
at org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(CReconcilingStrategy.java:78)
at org.eclipse.cdt.internal.ui.text.CReconcilingStrategy.reconcile(CReconcilingStrategy.java:63)
at org.eclipse.cdt.internal.ui.text.CompositeReconcilingStrategy.reconcile(CompositeReconcilingStrategy.java:87)
at org.eclipse.cdt.internal.ui.text.CCompositeReconcilingStrategy.reconcile(CCompositeReconcilingStrategy.java:90)
at org.eclipse.jface.text.reconciler.MonoReconciler.process(MonoReconciler.java:77)
at org.eclipse.cdt.internal.ui.text.CReconciler.process(CReconciler.java:349)
at org.eclipse.jface.text.reconciler.AbstractReconciler$BackgroundThread.run(AbstractReconciler.java:206)
!SUBENTRY 1 org.eclipse.cdt.core 4 969 2017-06-02 11:31:32.746
!MESSAGE Element (Project Name).c does not exist.
!ENTRY com.crt.log 1 0 2017-06-02 11:35:33.501
!MESSAGE Drivers loaded in 5756 milliseconds
!SESSION 2017-06-02 15:38:59.919 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2017-06-02 15:39:21.386
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Duplicate id found: org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator
!ENTRY org.eclipse.ui 4 4 2017-06-02 15:39:21.386
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Unknown extension tag found: decorator
K.N> Error message did not show up after restarting LPCXPresso. Built seemed to be succeeded. However, messages have been added to “log file” every time. Following is the one of example. Would you advice its cause and countermeasures?
!SESSION 2017-06-02 16:40:40.234 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ja_JP
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.ui 4 4 2017-06-02 16:40:49.222
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Duplicate id found: org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator
!ENTRY org.eclipse.ui 4 4 2017-06-02 16:40:49.222
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Unknown extension tag found: decorator
!ENTRY org.eclipse.cdt.make.core 4 0 2017-06-02 16:51:33.281
!MESSAGE Error accessing scanner config file for project
!STACK 1
org.eclipse.core.runtime.CoreException: Error accessing scanner config file for project
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:306)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.access$0(BuildUtils.java:156)
at com.crt.ctrlcenter.launch.BuildUtils$2.run(BuildUtils.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\lpc_chip_43xx.sc (The requested operation cannot be performed on a file with a user-mapped section open.。)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
... 26 more
!SUBENTRY 1 org.eclipse.cdt.make.core 4 -1 2017-06-02 16:51:33.281
!MESSAGE Error accessing scanner config file for project
!STACK 0
java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\lpc_chip_43xx.sc (The requested operation cannot be performed on a file with a user-mapped section open.)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.access$0(BuildUtils.java:156)
at com.crt.ctrlcenter.launch.BuildUtils$2.run(BuildUtils.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY org.eclipse.cdt.make.core 4 0 2017-06-02 16:51:45.278
!MESSAGE Error accessing scanner config file for project
!STACK 1
org.eclipse.core.runtime.CoreException: Error accessing scanner config file for project
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:306)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.access$0(BuildUtils.java:156)
at com.crt.ctrlcenter.launch.BuildUtils$2.run(BuildUtils.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\(Workspace).sc (The requested operation cannot be performed on a file with a user-mapped section open.)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
... 26 more
!SUBENTRY 1 org.eclipse.cdt.make.core 4 -1 2017-06-02 16:51:45.278
!MESSAGE Error accessing scanner config file for project
!STACK 0
java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\(Workspace).sc (The requested operation cannot be performed on a file with a user-mapped section open.)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.access$0(BuildUtils.java:156)
at com.crt.ctrlcenter.launch.BuildUtils$2.run(BuildUtils.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!ENTRY com.crt.log 1 0 2017-06-02 16:52:48.659
!MESSAGE Drivers loaded in 1137 milliseconds
!ENTRY org.eclipse.cdt.make.core 4 0 2017-06-02 16:53:31.743
!MESSAGE Error accessing scanner config file for project
!STACK 1
org.eclipse.core.runtime.CoreException: Error accessing scanner config file for project
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:306)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.buildProject(BuildUtils.java:145)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.buildProject(BuildLaunchUtils.java:190)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.buildWithProgress(BuildLaunchUtils.java:1325)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.access$0(BuildLaunchUtils.java:1309)
at com.crt.ctrlcenter.launch.BuildLaunchUtils$4.run(BuildLaunchUtils.java:1264)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\lpc_chip_43xx.sc (The requested operation cannot be performed on a file with a user-mapped section open.)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
... 29 more
!SUBENTRY 1 org.eclipse.cdt.make.core 4 -1 2017-06-02 16:53:31.743
!MESSAGE Error accessing scanner config file for project
!STACK 0
java.io.FileNotFoundException: C:\Users\(User Name)\Documents\LPCXpresso_8.2.0_647\workspace\(Workspace)\.metadata\.plugins\org.eclipse.cdt.make.core\lpc_chip_43xx.sc (The requested operation cannot be performed on a file with a user-mapped section open.)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredScannerInfoStore.saveDiscoveredScannerInfoToState(DiscoveredScannerInfoStore.java:302)
at org.eclipse.cdt.make.internal.core.scannerconfig.DiscoveredPathManager.updateDiscoveredInfo(DiscoveredPathManager.java:255)
at com.crt.advproject.specs.CRTPerProjectSICollector.updateScannerConfiguration(CRTPerProjectSICollector.java:77)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil$2.run(CfgSCJobsUtil.java:144)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.runtime.Platform.run(Platform.java:867)
at org.eclipse.cdt.build.internal.core.scannerconfig.jobs.CfgSCJobsUtil.updateScannerConfiguration(CfgSCJobsUtil.java:155)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:210)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:154)
at org.eclipse.cdt.build.core.scannerconfig.ScannerConfigBuilder.build(ScannerConfigBuilder.java:120)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:205)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:245)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:300)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:303)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:262)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:402)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:556)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2241)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:534)
at org.eclipse.core.internal.resources.Project.build(Project.java:111)
at com.crt.ctrlcenter.launch.BuildUtils.buildProjects(BuildUtils.java:163)
at com.crt.ctrlcenter.launch.BuildUtils.buildProject(BuildUtils.java:145)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.buildProject(BuildLaunchUtils.java:190)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.buildWithProgress(BuildLaunchUtils.java:1325)
at com.crt.ctrlcenter.launch.BuildLaunchUtils.access$0(BuildLaunchUtils.java:1309)
at com.crt.ctrlcenter.launch.BuildLaunchUtils$4.run(BuildLaunchUtils.java:1264)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
已解决! 转到解答。
Hi Nakajima,
could you please try to:
Please let us know.
Regards,
LPCXpresso Support
Hello,
Thanks for your response and following is my comment.
This (2017/06/02 16:24) is the first time I got an error on start-up.
I tried what you said but the error message was recorded in ".log file" in both cases below.
- New work space
- Importing existing project
Attached is ".log file" in the case of new work space.
Please advise.
Regards,
Nakajima
Hi Nakajima,
could you please try to:
Please let us know.
Regards,
LPCXpresso Support
Hello LPCXPresso support,
I have tried the operation told.
As a result, the number of messages has been decreased in both cases, the case creating a new work space and the case importing the project.
However, following message still remains:
!MESSAGE Plugin org.eclipse.cdt.ui, extension org.eclipse.ui.decorators, id org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator: Duplicate id found: org.eclipse.cdt.internal.ui.CustomBuildSettingsDecorator
Please take a look at ".log" file (the case a new work space created).
Regards,
Nakajima
Please start the IDE with a completely fresh workspace (i.e. not the one containing your projects), and see if it starts up successfully without error. If it does, please import some example projects (from the Examples folder of your IDE install) and see if they build successfully.
Please let us know the results.
Can you also zip up and post the actual .log file from the .metadata folder of your original workspace.
Regards,
LPCXpresso Support
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------