Community
Participate
Working Groups
There are a few automated JUnits failing from this, here's the steps for one of them (hopefully it's all the same underlying issue): 1. Turn off autobuild 2. Create file.egl in the default package, with: import pack2.Record2; record Record1 item1 Record2; end 3. Build the project, get expected error markers since Record2 doesn't exist yet. 4. Create new package "pack2" 5. Create file2.egl in pack2, with: package pack2; Record Record2 end 6. Build the project, error markers go away 7. Delete file2.egl 8. Build the project - get NPE because the record's field.getType() returns null. java.lang.NullPointerException at org.eclipse.edt.mof.egl.utils.TypeUtils.areStructurallyEquivalent(TypeUtils.java:372) at org.eclipse.edt.ide.core.internal.builder.AbstractProcessingQueue.processCompiledPart(AbstractProcessingQueue.java:226) at org.eclipse.edt.ide.core.internal.builder.AbstractProcessingQueue.level03Compile(AbstractProcessingQueue.java:172) at org.eclipse.edt.compiler.internal.core.builder.AbstractProcessingQueue.process(AbstractProcessingQueue.java:169) I've seen a similar NPE thrown at line 429. Try to build: function tlf1() end library tlfs{includeReferencedFunctions=yes} function test() i int; tlf1(); end end
This appears to no longer be a problem. I know some NPE fixes were made in this code a while back which must have solved this bug.
Verified