Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359332 - NPE in AjBuildManager.java:528 after non-Java/AJ file was renamed
Summary: NPE in AjBuildManager.java:528 after non-Java/AJ file was renamed
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 1.6.12   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-29 00:22 EDT by Andrew Swan CLA
Modified: 2011-09-29 12:35 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 Andrew Swan CLA 2011-09-29 00:22:08 EDT
Build Identifier: 

Upon using Eclipse's "Rename Resource" dialog to rename my project's "src/main/resources/META-INF/spring/email.properties" file to "scheduler.properties" in the same directory, Eclipse displayed the "AspectJ Internal Compiler Error" dialog with this stack trace: 

java.io.FileNotFoundException
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesFromFile(AjBuildManager.java:528)
at org.aspectj.ajdt.internal.core.builder.AjBuildManager.copyResourcesToDestination(AjBuildManager.java:466)
at org.aspectj.ajdt.internal.core.builder.AjBuildManager.performBuild(AjBuildManager.java:363)
 ... e error: FileNotFoundException thrown: /Users/aswan/projects/foo/src/main/resources/META-INF/spring/email.properties (No such file or directory)

Reproducible: Couldn't Reproduce

Steps to Reproduce:
N/A
Comment 1 Andrew Swan CLA 2011-09-29 00:23:03 EDT
Sorry, forgot to add the build ID, which is I20110613-1736.
Comment 2 Andrew Clement CLA 2011-09-29 12:35:00 EDT
guard on the FileNotFoundException - lets not choke when this happens