question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v0.1.2 Update command throws NullPointerException

See original GitHub issue

The UpdateCommand class returns null from the routine() method where it should return IO.println("Not Implemented yet!")

Due to this there is a null pointer exception which is not helpful.

to reproduce this error add the following test to v1.1.2

  @Test
    public void testUpdateParserNiy() throws Exception {
        final CLICommand updateCommand = CLIParsers.commandParser.parse("update");
        updateCommand.routine().run(IOContext.fake());
        assertTrue("Should Reach here", true);
    }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
voldymancommented, Jul 10, 2017

oops, typo 😃

0reactions
njlrcommented, Jul 14, 2017

Now that v1.2.0 I think we can mark this as won't fix.

The documentation for upgrade and update has been updated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multi MC crashes when using farbric and fabric API #580
I tried multipile versions of bove and I just cant figure out what to try next. here is the crash report [20:04:42] [main/ERROR]:...
Read more >
java.lang.NullPointerException: Initializing game
I'm Minecraft, and I'm a crashaholic. Time: 3/06/20 01:11 PM Description: Initializing game. java.lang.NullPointerException: Initializing game
Read more >
The game crashed whilst mouseclicked event handler ...
The game crashed whilst mouseclicked event handler Error: java.lang.NullPointerException: Cannot invoke. #1 Jul 3, 2022.
Read more >
What causes a Spring 1.2 NullPointerException when ...
The error is caused by oracle.jdbc.pool.OracleDataSource misbehaving. Update: According to Oracke documentation this happens when: the maximum ...
Read more >
NullPointerException after tomcat9 restart - Help / Discuss
And here is I think is the main problem. I cannot update without OutOfMemory messages. I get always get OutOfMemory Exceptions (catalina.out), without...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found