NitorCreations / RobotFramework-EclipseIDE

Developing an Eclipse IDE for the Robot Framework test automation tool
71 stars 53 forks source link

When hitting space in empty file, exception is seen in console (Windows env) #51

Closed xkr47 closed 11 years ago

xkr47 commented 11 years ago
java.lang.NullPointerException
    at com.nitorcreations.robotframework.eclipseide.builder.parser.ArgumentPreParser.lookForGlobalTestTemplate(ArgumentPreParser.java:660)
    at com.nitorcreations.robotframework.eclipseide.builder.parser.ArgumentPreParser.parseAll(ArgumentPreParser.java:169)
    at com.nitorcreations.robotframework.eclipseide.builder.parser.RobotFile.parse(RobotFile.java:155)
    at com.nitorcreations.robotframework.eclipseide.builder.parser.RobotFile.get(RobotFile.java:129)
    at com.nitorcreations.robotframework.eclipseide.builder.parser.RobotFile.parse(RobotFile.java:66)
    at com.nitorcreations.robotframework.eclipseide.editors.ColoringScanner.setRange(ColoringScanner.java:90)
    at org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:172)
xkr47 commented 11 years ago

Alas, the fix in d9b4a8f7628b255a288dae1ad353f397e6610444 was for bug #50 and not #51.

xkr47 commented 11 years ago

Fixed in d5ed5b008b8e463c89016e3e275cee0224758980

xkr47 commented 11 years ago

Fix included in 1.3.0