johngull / nb-cppcheck Goto Github PK
View Code? Open in Web Editor NEWNetbeans plugin for static analysis of C/C++ projects
Netbeans plugin for static analysis of C/C++ projects
Bear with me, this is my first time cloning or even commenting a repository...
So, I have cppcheck installed in my $PATH and i even tried symlinking it into the directory cited below, but i keep getting this error. I'm not quite sure if that's because it's not picking up the binary, or because it's not properly escaping the url, .. or because of some other thing.
WARNING: Cannot run program "cppcheck" (in directory "/Volumes/MacBook HD/Developer/Class Projects/CS 240 Projects"): error=2, No such file or >directory
java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:53)
at java.lang.ProcessImpl.start(ProcessImpl.java:91)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:452)
Caused: java.io.IOException: Cannot run program "cppcheck" (in directory "/Volumes/MacBook HD/Developer/Class Projects/CS 240 Projects"): error=2, No such file or directory
at java.lang.ProcessBuilder.processException(ProcessBuilder.java:478)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:457)
at java.lang.Runtime.exec(Runtime.java:593)
at java.lang.Runtime.exec(Runtime.java:431)
[catch] at org.johngull.netbeans.cppcheck.CppCheckRunnable.run(CppCheckRunnable.java:66)
at java.lang.Thread.run(Thread.java:680)
java.lang.NullPointerException
at org.johngull.netbeans.cppcheck.StaticAnalysisModel.enableType(StaticAnalysisModel.java:169)
at org.johngull.netbeans.cppcheck.SATopComponent.btnStateChanged(SATopComponent.java:254)
at org.johngull.netbeans.cppcheck.SATopComponent.access$300(SATopComponent.java:39)
at org.johngull.netbeans.cppcheck.SATopComponent$3.stateChanged(SATopComponent.java:140)
at javax.swing.AbstractButton.fireStateChanged(AbstractButton.java:1922)
at javax.swing.AbstractButton$Handler.stateChanged(AbstractButton.java:2343)
at javax.swing.DefaultButtonModel.fireStateChanged(DefaultButtonModel.java:333)
at javax.swing.DefaultButtonModel.setArmed(DefaultButtonModel.java:171)
at javax.swing.plaf.basic.BasicButtonListener.mouseExited(BasicButtonListener.java:257)
at java.awt.AWTEventMulticaster.mouseExited(AWTEventMulticaster.java:292)
at java.awt.Component.processMouseEvent(Component.java:6388)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3275)
at java.awt.Component.processEvent(Component.java:6147)
at java.awt.Container.processEvent(Container.java:2083)
at java.awt.Component.dispatchEventImpl(Component.java:4744)
at java.awt.Container.dispatchEventImpl(Container.java:2141)
at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4400)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4262)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
at java.awt.Container.dispatchEventImpl(Container.java:2127)
at java.awt.Window.dispatchEventImpl(Window.java:2489)
at java.awt.Component.dispatchEvent(Component.java:4572)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:704)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:663)
at java.awt.EventQueue$2.run(EventQueue.java:661)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$3.run(EventQueue.java:677)
at java.awt.EventQueue$3.run(EventQueue.java:675)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:674)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
[catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.