Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration fails with --dev mode #968

Closed
asifdxtreme opened this issue Sep 30, 2019 · 1 comment
Closed

Integration fails with --dev mode #968

asifdxtreme opened this issue Sep 30, 2019 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@asifdxtreme
Copy link
Member

I am trying the latest code on master branch and I am getting below error stack when I run using --dev mode

root1@root1-HP-EliteBook-840-G2:~/servicecomb/go/src/github.com/apache/camel-k/cmd/kamel$ ./kamel run hello.groovy --dev
integration "hello" created
integration "hello" in phase Initialization
integration "hello" in phase Building Kit
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x13b0d7c]

goroutine 1 [running]:
github.com/apache/camel-k/pkg/cmd.(*runCmdOptions).run(0xc000462c00, 0xc00020bb80, 0xc000616640, 0x1, 0x2, 0x0, 0x0)
	/home/root1/servicecomb/go/src/github.com/apache/camel-k/pkg/cmd/run.go:212 +0x30c
github.com/apache/camel-k/pkg/cmd.(*runCmdOptions).run-fm(0xc00020bb80, 0xc000616640, 0x1, 0x2, 0x0, 0x0)
	/home/root1/servicecomb/go/src/github.com/apache/camel-k/pkg/cmd/run.go:66 +0x52
github.com/spf13/cobra.(*Command).execute(0xc00020bb80, 0xc000616620, 0x2, 0x2, 0xc00020bb80, 0xc000616620)
	/home/root1/servicecomb/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:762 +0x473
github.com/spf13/cobra.(*Command).ExecuteC(0xc00020ac80, 0x0, 0x0, 0x0)
	/home/root1/servicecomb/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:852 +0x2fd
github.com/spf13/cobra.(*Command).Execute(0xc00020ac80, 0x0, 0xc00020ac80)
	/home/root1/servicecomb/go/pkg/mod/github.com/spf13/cobra@v0.0.3/command.go:800 +0x2b
main.main()
	/home/root1/servicecomb/go/src/github.com/apache/camel-k/cmd/kamel/main.go:45 +0x15b

@jamesnetherton
Copy link
Contributor

I'll take a look. I may have introduced this issue via #906.

@jamesnetherton jamesnetherton self-assigned this Sep 30, 2019
@jamesnetherton jamesnetherton added the kind/bug Something isn't working label Sep 30, 2019
@jamesnetherton jamesnetherton added this to the 1.0.0-M2 milestone Sep 30, 2019
jamesnetherton added a commit to jamesnetherton/camel-k that referenced this issue Oct 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants