Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2628 [Tooling] Eclipse plugins/features for Sling-based development
  3. SLING-2631

[Tooling] SlingclipseListener incorrectly calculates parent paths

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Sling Eclipse IDE 1.0.0
    • IDE
    • None

    Description

      I get lots of such exceptions when I start Eclipse. I disabled sync after every save for now.

      !ENTRY org.eclipse.core.resources 4 2 2012-10-25 23:30:31.945
      !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
      !STACK 0
      java.lang.IllegalArgumentException: Invalid uri 'http://localhost:8080metrixx-commons-core/target/classes/META-INF': invalid port number
      at org.apache.commons.httpclient.HttpMethodBase.<init>(HttpMethodBase.java:222)
      at org.apache.commons.httpclient.methods.ExpectContinueMethod.<init>(ExpectContinueMethod.java:93)
      at org.apache.commons.httpclient.methods.EntityEnclosingMethod.<init>(EntityEnclosingMethod.java:119)
      at org.apache.commons.httpclient.methods.PostMethod.<init>(PostMethod.java:106)
      at org.apache.sling.slingclipse.http.impl.RepositoryImpl.addNode(RepositoryImpl.java:37)
      at org.apache.sling.slingclipse.SlingclipseListener$1.visit(SlingclipseListener.java:91)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:69)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:80)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
      at org.apache.sling.slingclipse.SlingclipseListener.resourceChanged(SlingclipseListener.java:42)
      at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:395)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1530)
      at org.eclipse.core.internal.resources.Resource.refreshLocal(Resource.java:1712)
      at org.eclipse.core.internal.refresh.RefreshJob.runInWorkspace(RefreshJob.java:167)
      at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

      Attachments

        1. SLING-2631.diff
          1 kB
          rmuntean
        2. SLING-2631.diff
          4 kB
          rmuntean

        Activity

          People

            asanso Antonio Sanso
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: