Hey, any idea on this. In what situations DSpace kernel cannot be null arises?
- Anis Quoting Anis Moubarik <anis.mouba...@helsinki.fi>: > Hello, I'm using DSpace 3.2 and the DSpace-api in java. I'm trying to > add an item using InstallItem, but it's throwing me a > IllegalStateException: DSpace kernel cannot be null. This is weird > behavior as I use the same logic in creating and saving Communities > and Collections, what should I do? Some of the stacktrace: > > 5663 FATAL [TP-Processor9] ItemResource.addItem : > java.lang.IllegalStateException: DSpace kernel cannot be null > 5664 java.lang.IllegalStateException: DSpace kernel cannot be null > 5665 at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63) > 5666 at org.dspace.utils.DSpace.getSingletonService(DSpace.java:87) > 5667 at > org.dspace.content.InstallItem.installItem(InstallItem.java:63) > 5668 at > org.dspace.content.InstallItem.installItem(InstallItem.java:44) > 5669 at > xx.xx.lib.simplerest.ItemsResource.addItem(ItemsResource.java:290) > > > - Anis ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette