eclipse - An internal error occurred during: "Loading descriptor for ... java.lang.NullPointerException -


when ever refresh dynamic web project (or save file), gives met error. displays same error 3 times.

the other answers i've looked @ here suggest happens when person creates new project. has started happening recently.

looking @ workspace/.metadata/.log shows me range of errors:

!entry org.eclipse.jst.j2ee 4 0 2015-05-15 15:20:16.141 !message no imodelprovider exists project p/mywebproject of version: dynamic web module 2.5 !stack 0 java.lang.nullpointerexception: no imodelprovider exists project p/mywebproject of version: dynamic web module 2.5     @ org.eclipse.jst.j2ee.model.modelprovidermanager.getmodelprovider(modelprovidermanager.java:101)     @ org.eclipse.jst.j2ee.model.modelprovidermanager.getmodelprovider(modelprovidermanager.java:281)     @ org.eclipse.jst.jee.ui.internal.navigator.jee5contentprovider.getcachedmodelprovider(jee5contentprovider.java:76)     @ org.eclipse.jst.jee.ui.internal.navigator.web25contentprovider.getnewcontentproviderinstance(web25contentprovider.java:69)     @ org.eclipse.jst.jee.ui.internal.navigator.loadingjeeddjob.run(loadingjeeddjob.java:50)     @ org.eclipse.core.internal.jobs.worker.run(worker.java:53)  !entry org.eclipse.core.jobs 4 2 2015-05-15 15:20:16.141 !message internal error occurred during: "loading descriptor mywebproject.". !stack 0 java.lang.nullpointerexception     @ org.eclipse.jst.jee.ui.internal.navigator.jee5contentprovider.getcachedmodelprovider(jee5contentprovider.java:77)     @ org.eclipse.jst.jee.ui.internal.navigator.web25contentprovider.getnewcontentproviderinstance(web25contentprovider.java:69)     @ org.eclipse.jst.jee.ui.internal.navigator.loadingjeeddjob.run(loadingjeeddjob.java:50)     @ org.eclipse.core.internal.jobs.worker.run(worker.java:53) 

this problem had occurred in many forms, e.g.
error when creating new vaadin project in eclipse

solution: install these:

  • eclipse java ee developer tools
  • eclipse java web developer tools
  • jst server adapters
  • jst server adapters extensions

(in case, eclipse java web developer tools missing.)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -