Comments (10)
[deleted comment]
from cppcheclipse.
[deleted comment]
from cppcheclipse.
Actually, what it seems to be doing is running CppCheck over one file in the
project, not all 4 of them (like it does when I call it from the menu), then
trying to run CppCheck over that same file again a bit later, and it's this
second run that is failing with the closed stream.
I will cautiously admit that the one file it runs over is a *.cc file, whilst
the others are *.cpp. Perhaps that is the cause, as other projects do seem to
be working correctly.
Well, I renamed the .cc file to .cpp and now I cannot get any output from
CppCheck for any project during a build.
This is on a clean installation of Eclipse 4.1.
Original comment by [email protected]
on 4 Jan 2012 at 10:33
from cppcheclipse.
I once in a while got this error as well. Unfortunately I have no reproducable
use case. It definitely has nothing to do with extensions, I assume some kind
of race condition.
Original comment by [email protected]
on 10 Sep 2012 at 8:25
from cppcheclipse.
I have the same problem, sometimes it workes, sometimes not.
Eclipse Juno + CDT Version: 8.1.2.201302132326
cppcheclipse: 0.9.9
Original comment by [email protected]
on 18 Apr 2013 at 12:09
from cppcheclipse.
Same error here.
Installed plugins:
Autotools support for
CDT 3.0.1.201302132326 org.eclipse.cdt.autotools.feature.group Eclipse CDT
C/C++ Debugger Services Framework (DSF) Examples 2.1.0.201302132326 org.eclipse.cdt.examples.dsf.feature.group Eclipse CDT
C/C++ Development Platform 8.1.2.201302132326 org.eclipse.cdt.platform.feature.group Eclipse CDT
C/C++ Development Tools 8.1.2.201302132326 org.eclipse.cdt.feature.group Eclipse CDT
C/C++ DSF GDB Debugger Integration 4.0.1.201302132326 org.eclipse.cdt.gnu.dsf.feature.group Eclipse CDT
C/C++ GCC Cross Compiler Support 1.1.0.201302132326 org.eclipse.cdt.build.crossgcc.feature.group Eclipse CDT
C/C++ GDB Hardware Debugging 7.0.0.201302132326 org.eclipse.cdt.debug.gdbjtag.feature.group Eclipse CDT
C/C++ GNU Toolchain Build Support 8.1.1.201302132326 org.eclipse.cdt.gnu.build.feature.group Eclipse CDT
C/C++ GNU Toolchain Debug Support 7.1.1.201302132326 org.eclipse.cdt.gnu.debug.feature.group Eclipse CDT
C/C++ Library API Documentation Hover Help 1.0.0.201302051708 org.eclipse.linuxtools.cdt.libhover.feature.feature.group Eclipse Linux Tools
C/C++ Memory View Enhancements 2.2.0.201302132326 org.eclipse.cdt.debug.ui.memory.feature.group Eclipse CDT
C/C++ Multicore Visualizer 1.0.0.201302132326 org.eclipse.cdt.gnu.multicorevisualizer.feature.group Eclipse CDT
C/C++ Unit Testing Support 7.0.0.201302132326 org.eclipse.cdt.testsrunner.feature.feature.group Eclipse CDT
CDT Common GDB Support 7.0.0.201302132326 org.eclipse.cdt.gdb.feature.group Eclipse CDT
CDT Visual C++ Support 1.0.0.201302132326 org.eclipse.cdt.msw.feature.group Eclipse CDT
CDT Visualizer Framework 1.0.0.201302132326 org.eclipse.cdt.visualizer.feature.group Eclipse CDT
cppcheclipse 0.9.9 com.googlecode.cppcheclipse.feature.feature.group Konrad Windszus
Dynamic Languages Toolkit - Mylyn Integration 4.0.0.201206120848 org.eclipse.dltk.mylyn.feature.group Eclipse.org
Eclipse Platform 4.2.0.M20130320-1959 org.fedoraproject.eclipse.platform null
EMF Common UI 2.7.0.v20120911-0500 org.eclipse.emf.common.ui.feature.group Eclipse Modeling Project
EMF Data Binding 1.2.0.v20120911-0500 org.eclipse.emf.databinding.feature.group Eclipse Modeling Project
EMF Ecore Edit 2.8.0.v20120911-0500 org.eclipse.emf.ecore.edit.feature.group Eclipse Modeling Project
EMF Ecore Mapping 2.7.0.v20120911-0500 org.eclipse.emf.mapping.ecore.feature.group Eclipse Modeling Project
EMF Ecore Mapping Editor 2.7.0.v20120911-0500 org.eclipse.emf.mapping.ecore.editor.feature.group Eclipse Modeling Project
EMF Edit Data Binding 1.2.0.v20120911-0500 org.eclipse.emf.databinding.edit.feature.group Eclipse Modeling Project
EMF Edit UI 2.8.0.v20120911-0500 org.eclipse.emf.edit.ui.feature.group Eclipse Modeling Project
EMF Mapping 2.7.0.v20120911-0500 org.eclipse.emf.mapping.feature.group Eclipse Modeling Project
EMF Mapping UI 2.7.0.v20120911-0500 org.eclipse.emf.mapping.ui.feature.group Eclipse Modeling Project
EMF Sample Ecore Editor 2.8.0.v20120911-0500 org.eclipse.emf.ecore.editor.feature.group Eclipse Modeling Project
Library Hover help for devhelp documentation 1.0.0.201302051708 org.eclipse.linuxtools.cdt.libhover.devhelp.feature.feature.group Eclipse Linux Tools
Miscellaneous C/C++ Utilities 5.1.0.201302132326 org.eclipse.cdt.util.feature.group Eclipse CDT
Mylyn Context Connector: C/C++ Development 5.4.3.v20130107-0100 org.eclipse.cdt.mylyn.feature.group Eclipse Mylyn
Mylyn Context Connector: Eclipse IDE 3.8.3.v20130107-0100 org.eclipse.mylyn.ide_feature.feature.group Eclipse Mylyn
Mylyn Context Connector: Team Support 3.8.3.v20130107-0100 org.eclipse.mylyn.team_feature.feature.group Eclipse Mylyn
Mylyn Task List 3.8.3.v20130107-0100 org.eclipse.mylyn_feature.feature.group Eclipse Mylyn
Mylyn Task-Focused Interface 3.8.3.v20130107-0100 org.eclipse.mylyn.context_feature.feature.group Eclipse Mylyn
Mylyn Tasks Connector: Mantis 3.9.0.201206242005 com.itsolut.mantis_feature.feature.group ITSOLUT
PHP Development Tools (PDT) 3.1.2.201212211235 org.eclipse.php.feature.group Eclipse.org
Remote System Explorer User Actions 1.1.400.201205300905-31FBV773573D933L3D org.eclipse.rse.useractions.feature.group Eclipse TM Project
RSE Core 3.4.0.201205300905-7a7NFm-7sResSX4RTNSW org.eclipse.rse.core.feature.group Eclipse TM Project
RSE Core Source 3.4.0.201205300905-7a7NFm-7sResSX4RTNSW org.eclipse.rse.core.source.feature.group Eclipse TM Project
RSE DStore Services 3.4.0.201205300905-7L79FYw7VFNVFscFGMFs org.eclipse.rse.dstore.feature.group Eclipse TM Project
RSE DStore Services Source 3.4.0.201205300905-7L79FYw7VFNVFscFGMFs org.eclipse.rse.dstore.source.feature.group Eclipse TM Project
RSE FTP Service Source 3.1.0.201205300905-791FBV773573D933L3D org.eclipse.rse.ftp.source.feature.group Eclipse TM Project
RSE Local Services 2.1.400.201205300905-7B4FSg7J9EJ9YO99r9Y org.eclipse.rse.local.feature.group Eclipse TM Project
RSE Local Services Source 2.1.400.201205300905-7B4FSg7J9EJ9YO99r9Y org.eclipse.rse.local.source.feature.group Eclipse TM Project
RSE SSH Services 3.0.400.201205300905-7A4FEc7F7BF7RJ77g7R org.eclipse.rse.ssh.feature.group Eclipse TM Project
RSE SSH Services Source 3.0.400.201205300905-7A4FEc7F7BF7RJ77g7R org.eclipse.rse.ssh.source.feature.group Eclipse TM Project
RSE Telnet Service Source 2.3.0.201205300905-784FD37B58B5KE55W5K org.eclipse.rse.telnet.source.feature.group Eclipse TM Project
RSE Terminals UI 1.2.0.201205300905-773Eo7H89G8OJ8Db8NB27 org.eclipse.rse.terminals.feature.group Eclipse TM Project
RSE Terminals UI Source 1.2.0.201205300905-773Eo7H89G8OJ8Db8NB27 org.eclipse.rse.terminals.source.feature.group Eclipse TM Project
Target Management Terminal Widget 3.2.0.201205300905-41-312316411A16 org.eclipse.tm.terminal.feature.group Eclipse TM Project
TeXlipse 1.5.0 net.sourceforge.texlipse.feature.group texlipse.sf.net
Valgrind Tools Integration 1.1.0.201302051708 org.eclipse.linuxtools.valgrind.feature.group Eclipse Linux Tools
Original comment by [email protected]
on 28 Apr 2013 at 9:39
from cppcheclipse.
I could reproduce by selecting two C projects and run cppcheck on those.
Original comment by [email protected]
on 21 Dec 2013 at 1:23
- Changed state: Accepted
from cppcheclipse.
The problem is as following:
If two projects are selected RunCodeAnalysisJob.runResource is being executed
on both projects consecutively. Both are triggering
Builder.ResourceVisitor.runChecker and Builder.processResource. In both methods
checker.run is executed. This method can currently be executed only once on the
same Checker instance, because it closes the underlying output streams.
Bugfix: Prevent Checker.run being executed twice.
Original comment by [email protected]
on 21 Dec 2013 at 10:54
from cppcheclipse.
Original comment by [email protected]
on 21 Dec 2013 at 10:54
- Added labels: Milestone-1.0.0
from cppcheclipse.
This issue was closed by revision r296.
Original comment by [email protected]
on 22 Dec 2013 at 3:15
- Changed state: Fixed
from cppcheclipse.
Related Issues (20)
- Cannot install cppcheclipse 0.98 on Eclipse Helios HOT 3
- cppcheckclipse_0.9.8.zip is ignored in dropins folder HOT 2
- NullPointerException running cppcheck HOT 4
- Not expanding variables ${name} HOT 1
- Can't include files not in workspace directory HOT 7
- cppcheclipse uses file names on command-line (instead of from file with --file-list) which limits the amount of files that can be used as input HOT 12
- Errors disappear when compiling multiple projects HOT 1
- File not included in the Problems pane HOT 6
- Add suppressions for entire directories HOT 3
- cppcheclipse produce no output in the problems tab HOT 4
- can't configure wrapper script for cppcheck in preferences HOT 3
- cppcheclipse fails to check when C++ 03 is specified. HOT 4
- Could not initialize cppcheck with Eclipse Kepler, OSX, SUbversion HOT 5
- Error reading filename of appendages HOT 1
- cppcheck option not showing in Eclipse->P HOT 2
- template flag is hard-coded, can't change to 'gcc' HOT 2
- parse error, not problems reported HOT 6
- Creating xml output file doesn't work HOT 1
- Source files and paths not displaying HOT 4
- Null Pointer For Non-Existent Path
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppcheclipse.