| Summary: | Errors occurred during the build. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | David <thehoffr> | ||||||
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||||
| Severity: | enhancement | ||||||||
| Priority: | P3 | CC: | Michael_Rennie | ||||||
| Version: | 3.2.3 | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows 7 | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
David
(In reply to comment #0) > Errors occurred during the build.Errors running builder 'JavaScript Validator' > on project java.lang.NullPointerException > > > -- Configuration Details -- > Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product) > Installed Features: > org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L Do you have the stack trace? (In reply to comment #1) > (In reply to comment #0) > > Errors occurred during the build.Errors running builder 'JavaScript Validator' > > on project java.lang.NullPointerException > > > > > > -- Configuration Details -- > > Product: Eclipse 1.3.1.20100913-1228 (org.eclipse.epp.package.php.product) > > Installed Features: > > org.eclipse.platform 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L > > Do you have the stack trace? The error is not create during a debug, it occurs during any startup or rebuild. Is there a to provide this for you ( tell me how via navigation eg. menu->sub1->sub2 ) If I go into Project->Properties->Builder (and uncheck JavaScript Validator) the problem goes away, however the default is to validate and is desired. Advice? Is this a bug? I am running Win7 64 and did not have this problem on Vista 32. (In reply to comment #2) > The error is not create during a debug, it occurs during any startup or > rebuild. Is there a to provide this for you ( tell me how via navigation eg. > menu->sub1->sub2 ) Sorry I should have been more clear, can you attach (paste) the stack trace from the error log in the bug? You should be able to get the traces from the Error Log view (within Eclipse) or from the .log file itself in your workspace location (found in <path to your workspace>/.metadata/.log). Created attachment 190336 [details]
requested stack trace from workspace log
for Michael Rennie
*** This bug has been marked as a duplicate of bug 319958 *** Michael, the following 2 snippets COMPARE the logs errors for this Bug 338844 (builder launch configuration) and Bug 319958 (Errors running builder) you say is a dupe. I don't see the same problem (ie. duplicate bug), and don't see the FIX? Do you know the fix for my bug to help me out a little more so I can resolve it? The FIX for 319958 only say's ... "I think I found the root cause of exception cuz one of our js have bad encoding" ---------- this bug 338844 ------------- !ENTRY org.eclipse.core.resources 4 2 2011-02-09 14:09:14.337 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources". !STACK 1 org.eclipse.core.runtime.CoreException: The builder launch configuration could not be found. java.lang.NullPointerException ---------- COMPARED TO ---------- Bug 319958 you say is a duplicate ------------ !ENTRY org.eclipse.core.resources 4 75 2010-07-15 17:02:00.363 !MESSAGE Errors occurred during the build. !SUBENTRY 1 org.eclipse.wst.jsdt.core 4 75 2010-07-15 17:02:00.363 !MESSAGE Errors running builder 'JavaScript Validator' on project 'ePMM'. !STACK 0 java.lang.NullPointerException ---------------------------------- Created attachment 190414 [details]
Build Lauch Configuration
Is it possible that the build is expecting a directory D:/home/antTest/ which does not exist? D: drive is my CD-ROM drive ..
I deleted the project and re-created it. I don't see the error now, so believe it was as the error suggested, that the issue was a configuration file. By deleting the project from Eclipse, it deletes all config files. Re-creating creates fresh configs, and this seems to be the FIX. Please note, is not about BAD ENCODING and is bug you say is a dupe. I hope I help others with my comments and fix description ... IF YOU GET THIS ERROR, RE-CREATE YOUR PROJECT AND SHOULD FIX THE PROBLEM. |