Last night im trying to set java build with c/c++ and i faced this exception error “get java.lang.NullPointerException” build env in CDT 8.0.2 for Eclipse Indigo, And I downloaded pacakage from http://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers-includes-incubating-components/indigosr2, after un-zip the file, also installed GEF and clearcase Team Explorer.
To reproduce
1. create a clear case view and load the source files
2. in C/C++ perspective, click File – New — Make file project with existing code
3. choose the source folder from the view created, click ok, project created
4. right click project name in project explorer, select properties
5. click C/C++ build, get java.lang.NullPointerException
How can i get rid of this exception am i missing any thing ??
When i try to run application it get successfull.I wanted to try my hands on c++ and wanted to use the same netbeans IDE since I have being using it for sometime for java development.
“/usr/bon/make”-f nbproject/makefile-Debug.mkQMAKE= .build-conf
make[1]:Entering directory/cygdrive/c/users/LJee/netbeans/tut-install/Cppapplication_1′
“/usr/bin/make”-f nbproject/Makefile-debug.mk disr/Debug/Cygwin-Window/cppapplication _1
make[2]:Entering directory’/cygdrive/c/user/LJee/netbeans/tut-install/CappApplication_1′
make[2]:’dist/Debug/Cygwin-window/cppapplication_1.exe’is uo to datw
make[1]:Leaving directory’/cygdrive/c/User/Ljee/netbeans/tut-install/cppApplication-1′
Successful required time 750ms
But the program not run.it get exception java null pointer.
java.lang.NullpointerException
Run failed(exit value -1,total time:30min)