Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-1288

Error during setting 'Path' (File Component)

    XMLWordPrintable

Details

      1. open Camel Editor
      2. add File Component
      3. type `//` to the Path

    Description

      when user type `//` into the Path of File Component the following error occurred:

      Error Log
      eclipse.buildId=unknown
      java.version=1.7.0_75
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.ui
      Error
      Thu Apr 02 13:29:25 CEST 2015
      Unhandled event loop exception
      
      java.lang.IllegalArgumentException: Expected authority at index 7: file://
      	at java.net.URI.create(URI.java:859)
      	at org.fusesource.ide.camel.editor.propertysheet.FileBindingSection$1.modifyText(FileBindingSection.java:136)
      	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
      	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
      	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4454)
      	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
      	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3799)
      	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3409)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
      	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
      	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
      	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
      	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
      	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
      	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
      	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
      	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
      	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
      	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
      	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
      	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
      Caused by: java.net.URISyntaxException: Expected authority at index 7: file://
      	at java.net.URI$Parser.fail(URI.java:2829)
      	at java.net.URI$Parser.failExpecting(URI.java:2835)
      	at java.net.URI$Parser.parseHierarchical(URI.java:3083)
      	at java.net.URI$Parser.parse(URI.java:3034)
      	at java.net.URI.<init>(URI.java:595)
      	at java.net.URI.create(URI.java:857)
      	... 29 more
      

      Attachments

        Activity

          People

            lheinema@redhat.com Lars Heinemann
            tsedmik Tomáš Sedmík
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: