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.
Product Version: NetBeans IDE Dev (Build 201201150601) Java: 1.7.0_02; Java HotSpot(TM) Client VM 22.0-b10 System: Linux version 2.6.38-13-generic running on i386; UTF-8; en_US (nb) When profiling point is placed in initializer block the "invalid location" error message is shown and the profiling point is not working.
The javac infrastructure is not able to resolve the static initializer as a valid method. There is no workaround, unfortunately.