Re: [Dspace-tech] InstallItem and IllegalStateException
Does anyone have any info on this? Quoting Anis Moubarik anis.mouba...@helsinki.fi: I did a completely fresh install, and it still throws error 500. - Anis Quoting Anis Moubarik anis.mouba...@helsinki.fi: I'll try it. Somehow I missed your first reply. - Anis Quoting helix84 heli...@centrum.sk: Did you try it with a clean 3.x configuration as I suggested? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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=48897031iu=/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 -- 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=48897031iu=/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 Anis Moubarik Information Systems Specialist The National Library of Finland, National Library Network Services P.O.Box 26, 00014 University of Helsinki tel. +358 9 191 44123, +358 50 41 603 86 email anis.mouba...@helsinki.fi http://www.nationallibrary.fi -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/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
Re: [Dspace-tech] InstallItem and IllegalStateException
I did a completely fresh install, and it still throws error 500. - Anis Quoting Anis Moubarik anis.mouba...@helsinki.fi: I'll try it. Somehow I missed your first reply. - Anis Quoting helix84 heli...@centrum.sk: Did you try it with a clean 3.x configuration as I suggested? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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=48897031iu=/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 -- 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=48897031iu=/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
Re: [Dspace-tech] InstallItem and IllegalStateException
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=48897031iu=/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
Re: [Dspace-tech] InstallItem and IllegalStateException
Did you try it with a clean 3.x configuration as I suggested? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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=48897031iu=/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
Re: [Dspace-tech] InstallItem and IllegalStateException
I'll try it. Somehow I missed your first reply. - Anis Quoting helix84 heli...@centrum.sk: Did you try it with a clean 3.x configuration as I suggested? Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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=48897031iu=/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
Re: [Dspace-tech] InstallItem and IllegalStateException
Just a guess - this might be a problem with you using configuration from a different DSpace version, as I explained here: https://jira.duraspace.org/browse/DS-1452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=27537#comment-27537 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- 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=48897031iu=/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
[Dspace-tech] InstallItem and IllegalStateException
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=48897031iu=/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