Hi James,

The NullPointerException seems to happen here:
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-api/src/main/java/org/dspace/content/CommunityServiceImpl.java#L120

This is a very odd error, as it seems to throw an error on the Site object,
which is an object that doesn't actually exist in the database, but in the
API itself (i.e. it's a conceptual object that should *always* exist).
This is very odd behavior, so it makes me wonder if you upgraded from a
previous release (4.x or 5.x), and accidentally have some old API/JARs
sitting around (which could cause conflicts with the DSpace 6 APIs).  This
shouldn't be occurring on a fresh installation.

I'd recommend trying a fresh install either in a different directory (on
same server) or perhaps on a different server. I've never seen this
behavior, and it almost seems like you have conflicting JAR files in place.

You also could closely check your logs for other errors...It's possible
there are other related errors here that could give clues.  See also:
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Good luck, and feel free to report back to this list with whatever you find.

Tim


On Tue, Nov 7, 2017 at 5:47 AM <karma.sometimes.hu...@gmail.com> wrote:

> Guys, any help with this? At least a tip to start debugging?
>
> El jueves, 2 de noviembre de 2017, 9:36:41 (UTC), karma.some...@gmail.com
> escribió:
>>
>> Any way of how could I debug this? Something like activating a SQL debug
>> or something... From the logs I cannot see any further information and the
>> .create() call seems quite generic to see why it fails this way.
>>
>> Thanks.
>>
>> El jueves, 2 de noviembre de 2017, 9:28:35 (UTC), Evgeni Dimitrov
>> escribió:
>>>
>>> May be something with the migration of the database. I have freshly
>>> installed DSpace 6.2 and I had no problems creating communities and
>>> collections.
>>>
>>> On Tuesday, October 31, 2017 at 1:47:53 PM UTC+2,
>>> karma.some...@gmail.com wrote:
>>>>
>>>> Hi,
>>>>
>>>> We're running DSpace 6.2 and we're having an issue creating root
>>>> communities (on the top of the hierarchy). Immediately after hitting the
>>>> "Create" button, a NullPointerException is shown. The strange thing is that
>>>> there are no logs anywhere in the 'logs' directory nor in the tomcat logs
>>>> when the exception pops-up. I could get Cocoon and Java logs though from
>>>> the web browser, which I'm attaching.
>>>>
>>>> We can just reproduce it when it comes to create a root community, no
>>>> issues when creating subcommunities nor collections.
>>>>
>>>> Could someone give some pointers on why is this happening and possibly
>>>> how to solve it?
>>>>
>>>> Thanks in advance
>>>>
>>>> James
>>>>
>>> --
> 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 dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
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 dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to