Bug 14023 - NPE in build notifier
Summary: NPE in build notifier
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M6   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-17 12:23 EDT by Philipe Mulet CLA
Modified: 2002-04-23 08:47 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2002-04-17 12:23:10 EDT
Build 20020416

From EC:

With the new integrated version, I am getting the following
NullPointerException when I try to build my project.

java.lang.NullPointerException encountered while running
org.eclipse.jdt.core.builder.JavaBuilder.

Any ideas?

System:
Windows 2000
Eclipse 20020416 Integration Build
JDK1.3
Comment 1 Philipe Mulet CLA 2002-04-17 12:39:52 EDT
Here is the .log file contents.

<?xml version="1.0" encoding="UTF-8"?>
<log>
<log-entry date="Wed Apr 17 14:22:12 GMT+01:00 2002">
  <status
     plugin-id="org.eclipse.core.resources"
     severity="WARNING"
     message="Problems occurred when invoking code from plug-in:
org.eclipse.core.resources."
     code="2">
    <exception
       message="null"
       trace="
java.lang.NullPointerException
 at
org.eclipse.jdt.internal.core.builder.BuildNotifier.&lt;init&gt;(BuildNotifi
er.java:40)
 at
org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:82)
 at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:383)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:838)
 at org.eclipse.core.runtime.Platform.run(Platform.java:411)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1
19)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1
73)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1
83)
 at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:143)
 at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:838)
 at org.eclipse.core.runtime.Platform.run(Platform.java:411)
 at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:1
57)
 at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:229)
 at org.eclipse.core.internal.resources.Project.build(Project.java:83)
 at org.eclipse.ui.actions.BuildAction.invokeOperation(BuildAction.java:151)
 at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:112)
 at
org.eclipse.ui.actions.WorkspaceAction$1.execute(WorkspaceAction.java:269)
 at
org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperati
on.java:64)
 at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1343)
 at
org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation
.java:78)
 at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext
.java:98)
">
    </exception>
  </status>
</log-entry>
Comment 2 Kent Johnson CLA 2002-04-17 13:10:45 EDT
Lachlan: can you please tell us what your project's full path is as well as 
your workspace.
Comment 3 Lachlan Macpherson CLA 2002-04-18 03:59:01 EDT
The Project is a mapped drive to the M:\ drive. The workspace has been set
up to make use of this location,

i.e. When creating the project, I unchecked the 'use default' and used m:\
as the directory.

My Eclipse install is d:\java\eclipse

If you need more info, let me know
Comment 4 Kent Johnson CLA 2002-04-18 11:55:04 EDT
Fixed.