Bug 43600 - NPE from JDTCompilerAdapter
Summary: NPE from JDTCompilerAdapter
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Olivier Thomann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 43686 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-24 14:44 EDT by Darin Swanson CLA
Modified: 2003-10-13 05:54 EDT (History)
1 user (show)

See Also:


Attachments
Buildfile that causes NPE (926 bytes, text/plain)
2003-09-24 14:45 EDT, Darin Swanson CLA
no flags Details
Replace your jdtCompilerAdapter.jar in your eclipse install with this file and restart Eclipse (9.20 KB, application/octet-stream)
2003-09-25 15:58 EDT, Olivier Thomann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.