Hi, thanks for the answer. I am sure DSpace was running (but will check again to make sure there were no errors at that moment). I used exactly the steps from the guide I linked. The only unclear step is modifying the config.dct file (number 4). There are several places with mentioned handle. I modified all of them. It could be helpful to make that step more clear or perhaps include example of the file before and after with some specific handle.
I understand that handles will not be resolved on https://hdl.handle.net and I am completely fine with it. If there could be more specific instructions about the config.dct file, it would certainly be helpful. If that does not help, I can send more data to try and pinpoint the issue. With regards, Majo Berger On Tue, Sep 12, 2023 at 7:03 PM DSpace Technical Support < [email protected]> wrote: > Hi Majo, > > It's unclear how you've obtained that error. But, the > NullPointerException to me almost seems to imply that DSpace isn't running, > or something is incorrect in your Handle configuration. Maybe if you > provided the steps you've taken to get that error, it'd help others provide > you with more advice. > > As far as I'm aware, it should be possible to run the Handle Server itself > with a "fake" handleprefix. However, it will not resolve " > https://hdl.handle.net/" URLs until you have a valid prefix registered > with that service. (If I'm wrong about that, I hope someone else will > correct me. I'll admit, I'm not sure if this changed in more recent > versions of the Handle Server software.) > > Overall, you don't need to run the Handle Server in DSpace unless you want > to generate permanent "https://hdl.handle.net/" URLs for every object. > > Tim > > On Monday, September 11, 2023 at 6:51:05 AM UTC-5 [email protected] wrote: > >> Hello everybody. >> >> I tried to run DSpace handle server (with current codebase from GitHub) >> according to the guide >> https://wiki.lyrasis.org/display/DSDOC7x/Handle.Net+Registry+Support >> >> I failed to make it run, due to NullPointerException in HandlePlugin >> class: >> >> "2023-09-08 16:50:33.267+0200" 25 Handle.net Server Software version 9.3.0 >> java.lang.NullPointerException >> at org.dspace.handle.HandlePlugin.haveNA(HandlePlugin.java:397) >> at net.handle.server.HandleServer.storageHaveNA(HandleServer.java:3640) >> at >> net.handle.server.HandleServer.applyAutoHomedPrefixes(HandleServer.java:692) >> at net.handle.server.HandleServer.start(HandleServer.java:639) >> at net.handle.server.Main.start(Main.java:288) >> at net.handle.server.Main.main(Main.java:123) >> Shutting down... >> >> I wanted to run it with some random handle prefix as a test. I am not >> sure if that is possible, >> and if it could be causing this error. >> >> My questions therefore are: >> >> 1. What could cause this problem? Can it be non-existent/invalid >> handle prefix? >> 2. Is it possible to somehow test run the handle server? >> 3. If I manage to get it up running, how can I check if it works? >> >> I failed to find that information in the guide. It might be also useful >> to specify a bit more >> clearly how to edit config.dct or perhaps add an example with specific >> handle. >> >> When I tried to find information about this, I only found old and/or not >> relevant >> mails and articles. If such resource exists, please just point me in the >> right direction. >> Many thanks in advance. >> >> With regards, >> Majo Berger >> >> >> [email protected] >> >> dataquest s.r.o. >> >> Veľká Okružná 26A, 010 01 Žilina >> >> www.dataquest.sk >> >> >> >> [image: image.png] >> > -- > All messages to this mailing list should adhere to the Code of Conduct: > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/9749d856-711e-4eef-8e1d-4e31a6d1c669n%40googlegroups.com > <https://groups.google.com/d/msgid/dspace-tech/9749d856-711e-4eef-8e1d-4e31a6d1c669n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAJ98do4QRpXQNCiwhFbjP_%3DwZyY918%3DK-Me2ZS6VBpOC%3DOEPAw%40mail.gmail.com.
