com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized

Pentaho BI Platform Tracking | Golda David | 7 years ago
  1. 0

    When logging in to an existing repository got the following error in the console, When I created a new one and logged in everything works fine. logging this bug without reproducing again in my machine. Error in Spoon console. ERROR 22-03 09:04:27,781 - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and the following error in the dialog org.pentaho.di.core.exception.KettleException: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:287) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:210) at org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256) at org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:79) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:6477) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6650) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) at sun.reflect.NativeNativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:136) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:263) ... 29 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized
  2. 0

    When logging in to an existing repository got the following error in the console, When I created a new one and logged in everything works fine. logging this bug without reproducing again in my machine. Error in Spoon console. ERROR 22-03 09:04:27,781 - java.lang.StringIndexOutOfBoundsException: String index out of range: -1 and the following error in the dialog org.pentaho.di.core.exception.KettleException: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:287) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:210) at org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256) at org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:79) at org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:6477) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6650) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559) at sun.reflect.NativeNativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy45.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:136) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:263) ... 29 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized
  3. 0

    [PDI-3750] Scheduling broke in nightly from 4/22 - status code 401: Unauthorized - Pentaho BI Platform Tracking

    pentaho.com | 11 months ago
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Enterprise Registry Creation - Connection Error [Archive] - Pentaho Community Forums

    pentaho.com | 1 year ago
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized
  6. 0

    Create a JCR repository and then login to that repository using joe and password. you get a Repository Login failed error. (I had removed the .kettle folder before executing spoon.bat) org.pentaho.di.core.exception.KettleException: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:243) at org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:208) at org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256) at org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:79) at org.pentaho.di.ui.spoon.Spoon.openRepository(Spoon.java:2983) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119) at org.pentaho.ui.xul.swt.tags.SwtMenuitem.access$100(SwtMenuitem.java:24) at org.pentaho.ui.xul.swt.tags.SwtMenuitem$1.widgetSelected(SwtMenuitem.java:74) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1096) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5889) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:517) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110) Caused by: com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179) at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93) at com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105) at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629) at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588) at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573) at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470) at com.sun.xml.ws.client.Stub.process(Stub.java:319) at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140) at $Proxy38.getFile(Unknown Source) at com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:111) at org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:221) ... 44 more

    Pentaho BI Platform Tracking | 7 years ago | Golda David
    com.sun.xml.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized The server sent HTTP status code 401: Unauthorized

    14 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.sun.xml.ws.client.ClientTransportException

      The server sent HTTP status code 401: Unauthorized

      at com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode()
    2. JAX-WS RI Runtime Bundle
      SEIStub.invoke
      1. com.sun.xml.ws.transport.http.client.HttpTransportPipe.checkStatusCode(HttpTransportPipe.java:222)
      2. com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:179)
      3. com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:93)
      4. com.sun.xml.ws.transport.DeferredTransportPipe.processRequest(DeferredTransportPipe.java:105)
      5. com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:629)
      6. com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)
      7. com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)
      8. com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)
      9. com.sun.xml.ws.client.Stub.process(Stub.java:319)
      10. com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)
      11. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
      12. com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
      13. com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)
      13 frames
    3. Unknown
      $Proxy45.getFile
      1. $Proxy45.getFile(Unknown Source)
      1 frame
    4. com.pentaho.repository
      UnifiedRepositoryToWebServiceAdapter.getFile
      1. com.pentaho.repository.pur.ws.UnifiedRepositoryToWebServiceAdapter.getFile(UnifiedRepositoryToWebServiceAdapter.java:136)
      1 frame
    5. org.pentaho.di
      RepositoriesController.login
      1. org.pentaho.di.repository.pur.PurRepository.connect(PurRepository.java:263)
      2. org.pentaho.di.ui.repository.RepositoriesHelper.loginToRepository(RepositoriesHelper.java:210)
      3. org.pentaho.di.ui.repository.controllers.RepositoriesController.login(RepositoriesController.java:137)
      3 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. org.pentaho.ui
      SwtButton$1.widgetSelected
      1. org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomContainer.java:323)
      2. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:131)
      3. org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent.java:119)
      4. org.pentaho.ui.xul.swt.tags.SwtButton.access$100(SwtButton.java:31)
      5. org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:55)
      5 frames
    8. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
      2. org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
      3. org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
      4. org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
      5. org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
      5 frames
    9. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
      2. org.eclipse.jface.window.Window.open(Window.java:796)
      2 frames
    10. org.pentaho.ui
      SwtDialog.show
      1. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:300)
      2. org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:256)
      2 frames
    11. org.pentaho.di
      Spoon.main
      1. org.pentaho.di.ui.repository.RepositoriesDialog.show(RepositoriesDialog.java:79)
      2. org.pentaho.di.ui.spoon.Spoon.selectRep(Spoon.java:6477)
      3. org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6650)
      4. org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:559)
      4 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeNativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    13. org.pentaho.commons
      Launcher.main
      1. org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)
      1 frame