Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.
This repository was archived by the owner on May 27, 2021. It is now read-only.

kiwi logger can not be used with LML Basic Template #83

@roleyzhang

Description

@roleyzhang

Hi,
I used gdx-setup to create my testing project, I selected Kiwi from Third-party and select LML Basic from Templates. Then I import com.github.czyzby.kiwi.log.Logger; and import com.github.czyzby.kiwi.log.LoggerService; in my class and use it "private final Logger logger = LoggerService.forClass(gnk.class);¬ ". When I run my code there has a java.lang.NullPointerException. the error message is:desktop:runException in thread "main" java.lang.ExceptionInInitializerError
at citrine.gnk.gnk.(gnk.java:21)
at citrine.gnk.desktop.DesktopLauncher.createApplication(DesktopLauncher.java:15)
at citrine.gnk.desktop.DesktopLauncher.main(DesktopLauncher.java:11)
Caused by: java.lang.NullPointerException
at com.github.czyzby.kiwi.log.LoggerService.(LoggerService.java:38)
at com.github.czyzby.kiwi.log.LoggerService.(LoggerService.java:24)
... 3 more

I don't known what cause it, I used the kiwi logger successful with Autumn MVC Template.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions