Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15787

kamel run does not work for remote files on windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • Camel-K-GA, 2021-M4
    • Camel-K-M4
    • Camel-K
    • None
    • False
    • False
    • % %
    • +
    • Automated
    • Undefined

    Description

       ./kamel run https://raw.githubusercontent.com/apache/camel-k/b29333f0a878d5d09fb3965be8fe586d77dd95d0/e2e/common/files/yaml.yaml
      panic: runtime error: invalid memory address or nil pointer dereference[signal 0xc0000005 code=0x0 addr=0x18 pc=0x19ba09f]
      goroutine 1 [running]:github.com/apache/camel-k/pkg/cmd.isLocal(0xc0000b2080, 0x74, 0x1) github.com/apache/camel-k@/pkg/cmd/run.go:653 +0x9fgithub.com/apache/camel-k/pkg/cmd.ResolveSources(0x21fdc40, 0xc0004f4140, 0xc000215c60, 0x1, 0x1, 0xc0003e6200, 0x2, 0x1b1b7a0, 0xc0000a1b80, 0x40c8f0, ...) github.com/apache/camel-k@/pkg/cmd/util_sources.go:68 +0xebgithub.com/apache/camel-k/pkg/cmd.extractModelineOptions(0x21fdc40, 0xc0004f4140, 0xc000215c60, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0) github.com/apache/camel-k@/pkg/cmd/modeline.go:188 +0xa8github.com/apache/camel-k/pkg/cmd.createKamelWithModelineCommand(0x21fdc40, 0xc0004f4140, 0xc00007c090, 0x2, 0x3, 0xc000309920, 0x10, 0x1fbb548, 0x320f9a0, 0x180008, ...) github.com/apache/camel-k@/pkg/cmd/modeline.go:121 +0x3c0github.com/apache/camel-k/pkg/cmd.NewKamelWithModelineCommand(0x21fdc40, 0xc0004f4140, 0xc00007c080, 0x3, 0x4, 0x1fba6d0, 0x0, 0x0, 0xc0002f7b30, 0xc0000a1ef0, ...) github.com/apache/camel-k@/pkg/cmd/modeline.go:64 +0xa2main.main() github.com/apache/camel-k@/cmd/kamel/main.go:45 +0x19e 

      Attachments

        Issue Links

          Activity

            People

              pcongius Pasquale Congiusti
              jbouska@redhat.com Jan Bouska
              Mario Majernik Mario Majernik
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: