Bug 131010 - NPE when opening a non-aspectj project
Summary: NPE when opening a non-aspectj project
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.4.0 M1   Edit
Assignee: Sian January CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 19:58 EST by Venkatesh Prasad Ranganath CLA
Modified: 2006-03-09 05:44 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Venkatesh Prasad Ranganath CLA 2006-03-08 19:58:58 EST
Following exception occurs upon clicking on a Java project in the Package Explorer (Eclipse 3.2M5a, AspectJ 1.4.0.20060307084510, Java 5).  AspectJ nature is not enabled on the concerned project.

!ENTRY org.eclipse.ui.workbench 4 2 2006-03-08 19:04:35.983
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
        at org.eclipse.ajdt.internal.ui.ImageDecorator.decorateImage(ImageDecorator.java:116)
        at org.eclipse.ui.internal.decorators.FullDecoratorDefinition.decorateImage(FullDecoratorDefinition.java:111)
        at org.eclipse.ui.internal.decorators.FullImageDecoratorRunnable.run(FullImageDecoratorRunnable.java:28)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:816)
Comment 1 Sian January CLA 2006-03-09 05:44:27 EST
This wasn't actually caused by the fact that the project was a Java project, it was caused by our image decorator not allowing for files with no file extension. Fixed in the following build:

BUILD COMPLETE -  build.72
Date of build:	03/09/2006 04:54:48
Time to build:	18 minutes 25 seconds
Last changed:	03/09/2006 04:39:48
Last log entry:	131010: Allow for files with no file extension