iPOJOHelper is not compatible with wisdom 0.7.0 and 0.7.1-SNAPSHOT #446

Closed
barjo opened this Issue Feb 20, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@barjo
Member

barjo commented Feb 20, 2015

When running an it test that extends WisdomTest,

  helper = new IPOJOHelper(context);
  helper.isInstanceInvalid(OrientDbManagerComp.INSTANCE_NAME);

cause:

java.lang.ClassCastException: Cannot cast org.apache.felix.ipojo.handlers.architecture.ArchitectureHandler to org.apache.felix.ipojo.architecture.Architecture

Furthermore, it seems that getInstanceByName return null value even if the instance is present.

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Feb 22, 2015

Member

I've found the issue. The helpers are loaded from the wrong classloader.

Member

cescoffier commented Feb 22, 2015

I've found the issue. The helpers are loaded from the wrong classloader.

@cescoffier cescoffier added the bug label Feb 22, 2015

@cescoffier cescoffier added this to the 0.7.1 milestone Feb 22, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment