From: SourceForge.net <no...@so...> - 2010-07-01 08:37:01
|
Bugs item #3023252, was opened at 2010-06-30 10:30 Message generated for change (Comment added) made by innot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=928231&aid=3023252&group_id=189165 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: Behavior >Group: v2.3 >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Thomas Holland (innot) >Assigned to: Thomas Holland (innot) Summary: NullPointerException when opening the Project Properties Initial Comment: Version 2.3.2 will throw a NullPointerException when opening the Properties of a Makefile AVR-GCC Toolchain project. java.lang.NullPointerException at de.innot.avreclipse.core.ProjectTypeTester.test(ProjectTypeTester.java:90) at org.eclipse.core.internal.expressions.Property.test(Property.java:58) at org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:99) at org.eclipse.core.internal.expressions.NotExpression.evaluate(NotExpression.java:35) [...] This is due to a missing check in ProjectTypeTester.java: 86 if (KEY_STATIC_LIB.equalsIgnoreCase(property)) { 87 IManagedProject p = getManagedProject((IResource) receiver); 88 IBuildObjectProperties props = p.getBuildProperties(); 89 IBuildProperty prop = props.getProperty("org.eclipse.cdt.build.core.buildArtefactType"); 90 IBuildPropertyValue value = prop.getValue(); 91 if (value.getId().equals("de.innot.avreclipse.buildArtefactType.staticLib")) { 92 return true; 93 } ---------------------------------------------------------------------- >Comment By: Thomas Holland (innot) Date: 2010-07-01 10:37 Message: Fixed in Release 2.3.3 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=928231&aid=3023252&group_id=189165 |