An internal error occurred during: "Loading REST model…".

This topic contains 2 replies, has 3 voices, and was last updated by  support-tony 11 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #520301

    eric.r.glass
    Participant

    After opening a Eclipse workspace, the first time we select a project or a Java class in a project that contains JAX-RS Java class resources with annotation we get this pop-up dialog with this error message. In the error log for the org.eclipse.core.jobs plug-in we have this exception stack trace.

    java.lang.NullPointerException
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsAnnotation.getValue(JaxRsAnnotation.java:36)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsAnnotable.getAnnotationValue(JaxRsAnnotable.java:62)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsModelElement.<init>(JaxRsModelElement.java:25)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsClass.<init>(JaxRsClass.java:36)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsModel.resolveType(JaxRsModel.java:242)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsModel.processCompilationUnit(JaxRsModel.java:207)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsModel.setCompilationUnits(JaxRsModel.java:168)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsProjectModelProvider.reloadModel(JaxRsProjectModelProvider.java:85)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsProjectModelProvider.loadModel(JaxRsProjectModelProvider.java:64)
    at org.eclipse.jst.jee.model.internal.common.AbstractAnnotationModelProvider.getConcreteModel(AbstractAnnotationModelProvider.java:111)
    at com.genuitec.eclipse.rest.jaxrs.model.internal.JaxRsProjectModelProvider.getConcreteModel(JaxRsProjectModelProvider.java:57)
    at com.genuitec.eclipse.rest.jaxrs.model.JaxRsModelProvider.loadModels(JaxRsModelProvider.java:51)
    at com.genuitec.eclipse.rest.internal.InternalRestProjectManager$InitialModelLoadJob.run(InternalRestProjectManager.java:156)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Let me know if you need additional information.

    #520403 Reply

    support-swapna
    Moderator

    Eric,

    Sorry that you are seeing this issue. I have filed a bug with the dev team and they are looking into it.
    We will keep you posted when the fix is out.

    Apologies for inconvenience caused. Please let us know if you see any other issues.

    –Swapna
    MyEclipse Support

    #522092 Reply

    support-tony
    Keymaster

    Eric,

    The fix for this is included in our latest release, CI 5. Please go to Help->Webclipse->Check for Updates, to install them. Let us know if you see any issues.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.