You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Markus Pallo (JIRA)" <ji...@apache.org> on 2009/07/30 16:33:14 UTC

[jira] Updated: (SLING-1065) asm.jar missing in jcr-ocm bundle

     [ https://issues.apache.org/jira/browse/SLING-1065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Pallo updated SLING-1065:
--------------------------------

    Attachment: jcrocmpom.patch

i patched the jcr/ocm/pom.xml file as you can see in attached file and it works.

> asm.jar missing in jcr-ocm bundle
> ---------------------------------
>
>                 Key: SLING-1065
>                 URL: https://issues.apache.org/jira/browse/SLING-1065
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: JCR OCM 2.0.4
>            Reporter: Markus Pallo
>         Attachments: jcrocmpom.patch
>
>
> As described in 
> https://issues.apache.org/jira/browse/SLING-1064
> i am using discriminator="true" in my class mapping strategy. 
> During insert of the object and discriminator property will be set the class org/objectweb/asm/Type is not found
> Caused by: java.lang.NoClassDefFoundError: org/objectweb/asm/Type
>    at net.sf.cglib.core.TypeUtils.parseType(TypeUtils.java:180)
>    at net.sf.cglib.core.KeyFactory.<clinit>(KeyFactory.java:66)
>    at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
>    at org.apache.jackrabbit.ocm.reflection.ReflectionUtils.isProxy(ReflectionUtils.java:194)
>    at org.apache.jackrabbit.ocm.reflection.ReflectionUtils.getBeanClass(ReflectionUtils.java:200)
>    at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.addDiscriminatorProperty(ObjectConverterImpl.java:237)
>    at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(ObjectConverterImpl.java:214)
>    at org.apache.jackrabbit.ocm.manager.objectconverter.impl.ObjectConverterImpl.insert(ObjectConverterImpl.java:155)
>    at org.apache.jackrabbit.ocm.manager.impl.ObjectContentManagerImpl.insert(ObjectContentManagerImpl.java:406)
> I checked the org.apache.sling.jcr.ocm pom file and found that there is cglib embedded and not asm.jar, not cglib-asm or cglib-nodeps.
> There are some entries in the pom file for not importing packages of !org.objectweb.asm ....
> But the asm.jar is not bundled.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.