Bug 43600

Summary: NPE from JDTCompilerAdapter
Product: [Eclipse Project] JDT Reporter: Darin Swanson <Darin_Swanson>
Component: CoreAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: veronika_irvine
Version: 3.0   
Target Milestone: 3.0 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Buildfile that causes NPE
none
Replace your jdtCompilerAdapter.jar in your eclipse install with this file and restart Eclipse none

Description Darin Swanson CLA 2003-09-24 14:44:03 EDT
Thread [Thread-12] (Suspended (exception NullPointerException))
	Commandline$Argument.setPath(Path) line: 149
	JDTCompilerAdapter.setupJavacCommand() line: 183
	JDTCompilerAdapter.execute() line: 80
	Javac.compile() line: 842
	Javac.execute() line: 682
	Javac(Task).perform() line: 341
	Target.execute() line: 309
	Target.performTasks() line: 336
	Project.executeTarget(String) line: 1339
	InternalAntRunner.run(List) line: 585
	InternalAntRunner.run() line: 381
	NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not 
available [native method]
	NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39
	DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25
	Method.invoke(Object, Object[]) line: 324
	AntRunner.run(IProgressMonitor) line: 337
	AntLaunchDelegate$1.run() line: 205
	Thread.run() line: 536

Will attach buildfile
Comment 1 Darin Swanson CLA 2003-09-24 14:45:12 EDT
Created attachment 6215 [details]
Buildfile that causes NPE
Comment 2 Olivier Thomann CLA 2003-09-24 21:27:56 EDT
I will investigate.
Comment 3 Darin Swanson CLA 2003-09-25 15:06:43 EDT
*** Bug 43686 has been marked as a duplicate of this bug. ***
Comment 4 Olivier Thomann CLA 2003-09-25 15:57:25 EDT
Fixed and released in HEAD.
I will attach a patch to this PR.
Comment 5 Olivier Thomann CLA 2003-09-25 15:58:30 EDT
Created attachment 6243 [details]
Replace your jdtCompilerAdapter.jar in your eclipse install with this file and restart Eclipse
Comment 6 Veronika Irvine CLA 2003-09-25 16:06:00 EDT
Tried attached jar with the swt ant scripts and it has fixed the problem.
Comment 7 David Audel CLA 2003-10-13 05:54:25 EDT
Verified.