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.

Bug 246804

Summary: NullPointerException at jbehave.plugin.setpsdictionary.StepsDictionary.getMatchingJBehaveSteps
Product: third-party Reporter: bartvdc <bartvdc>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: dnarmitage2
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 208169
Attachments: stacktrace
stacktrace

Description bartvdc 2014-09-01 12:29:18 UTC
Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_13-b20
OS: Windows 7

User Comments:
GUEST: NPE when Ctrl + click on story parts.

bartvdc: Same in netbeans 8

GUEST: NullPointerException at jbehave.plugin.setpsdictionary.StepsDictionary.getMatchingJBehaveSteps




Stacktrace: 
java.lang.NullPointerException
   at jbehave.plugin.setpsdictionary.StepsDictionary.getMatchingJBehaveSteps(StepsDictionary.java:81)
   at jbehave.plugin.search.JBehaveStepSearcher.findStepInDictionary(JBehaveStepSearcher.java:288)
   at jbehave.plugin.search.JBehaveStepSearcher.findStep(JBehaveStepSearcher.java:247)
   at jbehave.plugin.search.JBehaveStepSearcher.navigateToStep(JBehaveStepSearcher.java:158)
   at jbehave.plugin.providers.JBehaveHyperlinkProvider.performClickAction(JBehaveHyperlinkProvider.java:70)
   at org.netbeans.lib.editor.hyperlink.HyperlinkOperation$1.performClickAction(HyperlinkOperation.java:315)
Comment 1 bartvdc 2014-09-01 12:29:19 UTC
Created attachment 148978 [details]
stacktrace
Comment 2 Milutin Kristofic 2014-09-05 16:36:32 UTC
Can you please report to jbehave plugin author? It's their bug.
Comment 3 dnarmitage2 2014-11-29 11:16:13 UTC
Created attachment 150780 [details]
stacktrace

Netbeans 8.0.2 - have created simple .story files and .java which all run quite happily via a JBehaveTest runner. Can reload steps directory, but CtlClick on any Given, When or Then line simply results in this exception