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.
Build: NetBeans IDE Dev (Build 20140822-b2c5edcd2a67) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: SunOS User Comments: alexvsimon: macro expansion of /usr/include/math.h Stacktrace: java.lang.IllegalArgumentException: bad position: 2919 at javax.swing.text.JTextComponent.setCaretPosition(JTextComponent.java:1629) at org.netbeans.modules.cnd.navigation.macroview.impl.services.MacroExpansionViewProviderImpl$1$1.run(MacroExpansionViewProviderImpl.java:144) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697)
Created attachment 148838 [details] stacktrace
fixed, change set: https://hg.netbeans.org/cnd-main/rev/8a8aedff60c3
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8a8aedff60c3 User: Danila Sergeyev <danilasergeyev@netbeans.org> Log: fix bug #246636 IllegalArgumentException: bad position: 2919