1

I created some models in web ui like this: enter image description here

But when I want to get all models information in rest api, it shows that "NullPoiterException". enter image description here

ps: The api to import file is ok. enter image description here

liyuhui
  • 1,210
  • 12
  • 17
  • @Jens this user does not ask "what is NPE", but rather, why it is thrown in this concrete scenario. As such, it is probably not a duplicate, and certainly not with the one indicated above his question. Please consider removing the mark. – Petr Kozelka Sep 10 '18 at 11:15
  • @PetrKozelka It is a duplicate, because with out code we can only help to teach OP in what is a NPE and how can he fix it – Jens Sep 10 '18 at 11:18
  • @Jens if you miss something, ask the user to add it. Missing information does not turn a question into a duplicate. Or, maybe you can provide links to SO codex or discussions in meta, that support your approach? Right now, you just prevented people who can help, to share the answer (and get credit for it), for a reason that is apparently false. – Petr Kozelka Sep 10 '18 at 11:26

0 Answers0