Closed leonGravel closed 5 years ago
Describe the bug if i set my project structure like this:
├── src/main/java ├── ├──MainStart.java //app start
i didn't set the package path, then,got this error:
ThreadLocalHolder.setLocalTime(System.currentTimeMillis()); AppConfig.getInstance().setRootPackageName(clazz.getPackage().getName());
throw java.lang.NullPointerException.
Expected behavior I think there should be a default value here instead of throwing an exception.
@leonGravel
Got it, I will update in the next version.
fixed
Describe the bug if i set my project structure like this:
i didn't set the package path, then,got this error:
throw java.lang.NullPointerException.
Expected behavior I think there should be a default value here instead of throwing an exception.