aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-01-22 00:50:14 +0000
committerjhugunin <jhugunin>2003-01-22 00:50:14 +0000
commit5731eaec26015751b6f4195878e7d62ae8118094 (patch)
treeb80520097b5f93212925b98a2dcd3da35af9b019
parent2d297d7a3626266c3ec47a695a0d15b13feccd30 (diff)
downloadaspectj-5731eaec26015751b6f4195878e7d62ae8118094.tar.gz
aspectj-5731eaec26015751b6f4195878e7d62ae8118094.zip
fix for Bugzilla Bug 29684
Incremental: Commenting out conflict yeilds NullPointerException
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
index 07d8b5714..d5937c487 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
@@ -148,7 +148,7 @@ public class AjBuildManager {
}
public boolean incrementalBuild(AjBuildConfig buildConfig, IMessageHandler messageHandler) throws CoreException, IOException {
- if (javaBuilder == null || javaBuilder.currentProject == null) {
+ if (javaBuilder == null || javaBuilder.currentProject == null || javaBuilder.lastState == null) {
return batchBuild(buildConfig, messageHandler);
}