Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • B bjgf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 127
    • Issues 127
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • BlueJ
  • bjgf
  • Issues
  • #2022
Closed
Open
Issue created May 03, 2018 by Amjad Altadmri@amjadMaintainer

[GREENFOOT-687] Scenario Information fires NPE

From the Scenario menu, select Scenario Information will open the readme file but the following NPE will be fired.

P.S. This is only happened for the first time after opening the scenario and no editor was open.

Exception in thread "JavaFX Application Thread" java.lang.NullPointerExceptionException in thread "JavaFX Application Thread" java.lang.NullPointerException at: {quote}bluej.editor.moe.MoeSyntaxDocument.getTokensForLine(MoeSyntaxDocument.java:819) at bluej.editor.moe.BlueJSyntaxView.getTokenStylesFor(BlueJSyntaxView.java:233) at bluej.editor.moe.MoeSyntaxDocument.applyPendingScopeBackgrounds(MoeSyntaxDocument.java:630) at bluej.editor.moe.MoeSyntaxDocument.fireChangedUpdate(MoeSyntaxDocument.java:553) at bluej.editor.moe.BlueJSyntaxView.lambda$setEditorPane7(BlueJSyntaxView.java:467) at bluej.utility.javafx.JavaFXUtil.lambdaaddChangeListenerPlatform$25(JavaFXUtil.java:1443) {quote}


Issue metadata

  • Issue type: Task
  • Priority: Medium
Assignee
Assign to
Time tracking