Ask Your Question
0

Lithium 1.0.0 spew outs errors (config-pusher)

asked 2015-09-17 00:58:15 -0700

labry gravatar image

updated 2015-09-17 01:36:29 -0700

Hello,

I have been using Lithium 1.0.0 (release version not snapshot) to build plugins and managers. I use the following command to build a template: mvn archetype:generate -DarchetypeGroupId=org.opendaylight.controller -DarchetypeArtifactId=opendaylight-startup-archetype -DarchetypeRepository=http://nexus.opendaylight.org/content/repositories/opendaylight.release/ -DarchetypeCatalog=http://nexus.opendaylight.org/content/repositories/opendaylight.release/archetype-catalog.xml -DarchetypeVersion=1.0.0-Lithium

However, the problem is that I get errors as below when I run my plugin using ./karaf clean. Do you have solutions for this? The below is errors I get when I type in "log:tail" on my karaf console. But apidocs seem working fine.

image description

Please, copy and paste the link into your browser address bar for the full error code. https://docs.google.com/document/d/15DrR7JrrbB5iPRni0jRLJnywbDXxrBi42QIqpNYe0/edit?usp=sharing

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-17 08:30:41 -0700

jamoluhrsen gravatar image

This might not be much help, but there have been troubles in the past that look similar (ERROR in config-pusher).

here's one thread on ask

and two bugs

bug 3034

bug 4192

and an email thread

maybe something in the above will help you resolve your issue.

edit flag offensive delete publish link more

Comments

Thanks, actually, I solved it, and I am a little bit embarrassed to admit that it was all my fault. I didn't implemented some auto-generated code. As default, it throws UnsupportedOperationException. @Override public java.lang.AutoCloseable createInstance() { // TODO:implement throw new java.lang.UnsupportedOperationException(); } }; I think Lithium 1.0.0 rocks. :-D

labry ( 2015-09-17 22:15:37 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
3 followers

Stats

Asked: 2015-09-17 00:58:15 -0700

Seen: 171 times

Last updated: Sep 17 '15