This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | NullPointerException at org.netbeans.modules.php.editor.model.impl.ModelVisitor.extendedElements | ||
---|---|---|---|
Product: | php | Reporter: | jonavogt <jonavogt> |
Component: | Editor | Assignee: | rmatous <rmatous> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | fzamboj, rbalada, tmysik |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 170559 |
Attachments: | stacktrace |
Description
jonavogt
2010-06-10 13:14:57 UTC
Created attachment 99978 [details]
stacktrace
Seems like PhpClass.getType return null. Probably it is allowed to return null here. Tomasi, can you check, thanks testing for null: http://hg.netbeans.org/web-main/rev/b676f1173ca5 (In reply to comment #2) > Seems like PhpClass.getType return null. Probably it is allowed to return null > here. Tomasi, can you check, thanks It is valid. BTW this needs to be a candidate for 6.9.1. This bug is similar to bug #187087. (In reply to comment #4) > (In reply to comment #2) > > Seems like PhpClass.getType return null. Probably it is allowed to return > > null here. Tomasi, can you check, thanks > > It is valid. BTW this needs to be a candidate for 6.9.1. BTW it is PhpVariable.getType(), not PhpClass (so the null is correct). this problem doesn't exists in 6.9, I think. Needs to be fixed in 6.9.1 just in case if #186858 should be transplanted into 6.9.1 also Used tried the latest hudson build, I still get a org.netbeans.modules.parsing.spi.ParseException. I checked my reports and saw that there a couple of exceptions that have that error. 170560 170561 170606 for me they look related to this bug. and the last one comes from the latest build. not every ParseException is related should be really fixed in recent builds: http://bertram.netbeans.org/hudson/job/PHP-build/ but naturally if it happens to you again then reopen it and please attach the exception(or simply use exception reporter) because then we can fix it, thank you Please verify bugfix for this bug, so it can be included in release691 repository. Thanks, -R verified main #b676f1173ca5 transplanted to main #d208dc31d572 Unable to reproduce. Verified in the latest 6.9.1 build: Product Version: NetBeans IDE 6.9.1 Dev (Build 201007062301) Java: 1.6.0_20; Java HotSpot(TM) 64-Bit Server VM 16.3-b01-279 System: Mac OS X version 10.5.8 running on x86_64; MacRoman; en_US (nb) |