java.lang.UnsupportedOperationException: Unknown DSpace type: -1 >> at >> org.dspace.content.factory.ContentServiceFactory.getDSpaceLegacyObjectService(ContentServiceFactory.java:98) >> at >> org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:832) >> at >> org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:238) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAmdSubSection(ItemAdapter.java:671) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAdministrativeSection(ItemAdapter.java:571) >> at >> org.dspace.app.xmlui.objectmanager.AbstractAdapter.renderMETS(AbstractAdapter.java:362) >> at >> org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.generate(DSpaceMETSGenerator.java:115) >> at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498)

Google Groups | Ari | 5 months ago
  1. 0

    Showing embargo with metsrights (DSpace6, Mirage2)

    Google Groups | 5 months ago | Ari
    java.lang.UnsupportedOperationException: Unknown DSpace type: -1 >> at >> org.dspace.content.factory.ContentServiceFactory.getDSpaceLegacyObjectService(ContentServiceFactory.java:98) >> at >> org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:832) >> at >> org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:238) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAmdSubSection(ItemAdapter.java:671) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAdministrativeSection(ItemAdapter.java:571) >> at >> org.dspace.app.xmlui.objectmanager.AbstractAdapter.renderMETS(AbstractAdapter.java:362) >> at >> org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.generate(DSpaceMETSGenerator.java:115) >> at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498)
  2. 0

    Showing embargo with metsrights (DSpace6, Mirage2)

    Google Groups | 5 months ago | Ari
    java.lang.UnsupportedOperationException: Unknown DSpace type: -1 > at > org.dspace.content.factory.ContentServiceFactory.getDSpaceLegacyObjectService(ContentServiceFactory.java:98) > at > org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:832) > at > org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:238) > at > org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAmdSubSection(ItemAdapter.java:671) > at > org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAdministrativeSection(ItemAdapter.java:571) > at > org.dspace.app.xmlui.objectmanager.AbstractAdapter.renderMETS(AbstractAdapter.java:362) > at > org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.generate(DSpaceMETSGenerator.java:115) > at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source)
  3. 0

    Not supported by BasicDataSource

    unitils | 7 years ago | c_inconnu
    java.lang.UnsupportedOperationException: Not supported by BasicDataSource     at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:899) \[commons-dbcp-1.2.2.jar:1.2.2\]     at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:43) \[hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA\]     at org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51) \[hibernate-core-3.3.1.GA.jar:3.3.1.GA\]     at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:252) \[hibernate-core-3.3.1.GA.jar:3.3.1.GA\]     at org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:211) \[hibernate-core-3.3.1.GA.jar:3.3.1.GA\]     at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:343) \[hibernate-core-3.3.1.GA.jar:3.3.1.GA\]     at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327) \[hibernate-core-3.3.1.GA.jar:3.3.1.GA\]     at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867) \[hibernate-annotations-3.4.0.GA.jar:3.3.1.GA\]     at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669) \[hibernate-entitymanager-3.4.0.GA.jar:3.4.0.GA\]     at org.unitils.orm.jpa.util.provider.hibernate.UnitilsHibernatePersistenceProvider.createContainerEntityManagerFactory(UnitilsHibernatePersistenceProvider.java:48) \[unitils-2.3.jar:na\]     at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:224) \[spring-2.5.6.jar:2.5.6\]     at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:291) \[spring-2.5.6.jar:2.5.6\]     at org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader.createEntityManagerFactoryBean(JpaEntityManagerFactoryLoader.java:77) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader.getConfiguredOrmPersistenceUnit(JpaEntityManagerFactoryLoader.java:44) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.util.JpaEntityManagerFactoryLoader.getConfiguredOrmPersistenceUnit(JpaEntityManagerFactoryLoader.java:40) \[unitils-2.3.jar:na\]     at org.unitils.orm.common.OrmModule.getConfiguredPersistenceUnit(OrmModule.java:181) \[unitils-2.3.jar:na\]     at org.unitils.orm.common.OrmModule.getPersistenceUnit(OrmModule.java:136) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule.doGetPersistenceContext(JpaModule.java:172) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule.doGetPersistenceContext(JpaModule.java:76) \[unitils-2.3.jar:na\]     at org.unitils.orm.common.OrmModule.getPersistenceContext(OrmModule.java:232) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule.injectEntityManager(JpaModule.java:265) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule.injectJpaResourcesInto(JpaModule.java:228) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule.injectJpaResourcesIntoTestObject(JpaModule.java:214) \[unitils-2.3.jar:na\]     at org.unitils.orm.jpa.JpaModule$JpaTestListener.beforeTestSetUp(JpaModule.java:295) \[unitils-2.3.jar:na\]     at org.unitils.core.Unitils$UnitilsTestListener.beforeTestSetUp(Unitils.java:273) \[unitils-2.3.jar:na\]     at org.unitils.UnitilsTestNG.unitilsBeforeTestSetUp(UnitilsTestNG.java:62) \[unitils-2.3.jar:na\]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) \[na:1.6.0\_13\]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) \[na:1.6.0\_13\]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) \[na:1.6.0\_13\]     at java.lang.reflect.Method.invoke(Method.java:597) \[na:1.6.0\_13\]     at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:607)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TomEE Users - I can not look up for a bean in my Unit test

    nabble.com | 1 year ago
    java.lang.UnsupportedOperationException: Not supported by BasicDataSource >         at > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.convertException(BaseEjbProxyHandler.java:363) >         at > > org.apache.openejb.core.ivm.BaseEjbProxyHandler.invoke(BaseEjbProxyHandler.java:283) >         at $Proxy43.createUser(Unknown Source) >         at > > com.altobridge.omc.orm.dao.UserDaoLocalTest.testCreateUser(UserDaoLocalTest.java:48) >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  6. 0

    kodo.jdo.DataStoreException at ROLLBACK

    Oracle Community | 10 years ago | 3004
    java.lang.UnsupportedOperationException: IteratorChains must contain at least one Iterator [java] at org.apache.commons.collections.iterators.IteratorChain.checkChainIntegrity(Unknown Source) [java] at org.apache.commons.collections.iterators.IteratorChain.lockChain(Unknown Source) [java] at org.apache.commons.collections.iterators.IteratorChain.hasNext(Unknown Source) [java] at org.apache.openjpa.kernel.BrokerImpl.endTransaction(BrokerImpl.java:2148) [java] at org.apache.openjpa.kernel.BrokerImpl.afterCompletion(BrokerImpl.java:1777) [java] at org.apache.openjpa.kernel.LocalManagedRuntime.rollback(LocalManagedRuntime.java:119) [java] at org.apache.openjpa.kernel.BrokerImpl.rollback(BrokerImpl.java:1336) [java]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Unknown DSpace type: -1 >> at >> org.dspace.content.factory.ContentServiceFactory.getDSpaceLegacyObjectService(ContentServiceFactory.java:98) >> at >> org.dspace.content.packager.PackageUtils.translateGroupNameForExport(PackageUtils.java:832) >> at >> org.dspace.content.crosswalk.METSRightsCrosswalk.disseminateElement(METSRightsCrosswalk.java:238) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAmdSubSection(ItemAdapter.java:671) >> at >> org.dspace.app.xmlui.objectmanager.ItemAdapter.renderAdministrativeSection(ItemAdapter.java:571) >> at >> org.dspace.app.xmlui.objectmanager.AbstractAdapter.renderMETS(AbstractAdapter.java:362) >> at >> org.dspace.app.xmlui.cocoon.DSpaceMETSGenerator.generate(DSpaceMETSGenerator.java:115) >> at sun.reflect.GeneratedMethodAccessor115.invoke(Unknown Source) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.lang.reflect.Method.invoke(Method.java:498)

      at com.sun.proxy.$Proxy214.generate()
    2. com.sun.proxy
      $Proxy214.generate
      1. com.sun.proxy.$Proxy214.generate(Unknown Source)
      1 frame