flikas / idea-spring-boot-assistant

Spring Boot Assistant - IntelliJ-based plugin that assists you in developing spring boot applications
MIT License
42 stars 20 forks source link

[BUG]Java.lang.NullPointerException: Cannot read field "marker" because "other" is null #863

Open qintang opened 9 months ago

qintang commented 9 months ago

What happened

Please describe what you were doing when this exception occurred.

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Version information

Exception

null

Stack trace ``` java.lang.NullPointerException: Cannot read field "marker" because "other" is null at in.oneton.idea.spring.assistant.plugin.suggestion.metadata.MetadataContainerInfo.isModified(MetadataContainerInfo.java:121) at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.computeNewContainersToProcess(SuggestionServiceImpl.java:292) at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.lambda$reindex$11(SuggestionServiceImpl.java:267) at com.intellij.openapi.project.DumbService.lambda$runReadActionInSmartMode$1(DumbService.java:157) at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:941) at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:68) at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:150) at in.oneton.idea.spring.assistant.plugin.suggestion.service.SuggestionServiceImpl.lambda$reindex$12(SuggestionServiceImpl.java:260) at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:297) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699) at java.base/java.security.AccessController.doPrivileged(AccessController.java:399) at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699) at java.base/java.lang.Thread.run(Thread.java:833) ```

Additional context

Add any other context about the problem here.