facebook

ProjectLabeler throws an exception on Eclipse start

  1. Copilot4Eclipse – GitHub Copilot on Eclipse
  2.  > 
  3. General Discussion
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #701017 Reply

    dpolivaev
    Participant

    eclipse.buildId=4.31.0.20240307-1200
    java.version=17.0.11
    java.vendor=Eclipse Adoptium
    BootLoader constants: OS=macosx, ARCH=aarch64, WS=cocoa, NL=en_DE
    Framework arguments: -product org.eclipse.epp.package.committers.product -keyring /Users/dimitry/.eclipse_keyring
    Command-line arguments: -os macosx -ws cocoa -arch aarch64 -product org.eclipse.epp.package.committers.product -keyring /Users/dimitry/.eclipse_keyring -data /Users/dimitry/eclipse/workspace/2mercateo

    org.eclipse.core.jobs
    Error
    Tue May 21 08:58:40 CEST 2024
    An internal error occurred during: “Computing project labels”.

    org.json.JSONException: A JSONObject text must end with ‘}’ at 1 [character 2 line 1]
    at org.json.JSONTokener.syntaxError(JSONTokener.java:503)
    at org.json.JSONObject.<init>(JSONObject.java:219)
    at org.json.JSONObject.<init>(JSONObject.java:430)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler$Classifier.parsePackageJson(ProjectLabeler.java:402)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler$Classifier.scanPackageJson(ProjectLabeler.java:348)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler$Classifier.getLabels(ProjectLabeler.java:308)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler$2.visit(ProjectLabeler.java:157)
    at org.eclipse.core.internal.resources.Resource.lambda$1(Resource.java:154)
    at org.eclipse.core.internal.resources.Resource.lambda$0(Resource.java:122)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:90)
    at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:135)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:131)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:92)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:154)
    at org.eclipse.core.internal.resources.Resource.accept(Resource.java:142)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler.computeProjectLabels(ProjectLabeler.java:131)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler.computeWorkspaceLabels(ProjectLabeler.java:116)
    at com.genuitec.copilot4eclipse.chat.ProjectLabeler$1.run(ProjectLabeler.java:85)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

    #701020 Reply

    wayne
    Moderator

    Thank you for sharing this info.
    I have opened an issue in our tracking system.

    Regards,
    Wayne
    Copilot4Eclipse Team

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: ProjectLabeler throws an exception on Eclipse start

You must be logged in to post in the forum log in