Hello again.
If I try do download attachments I get this error:
TTP Status 500 - Request processing failed; nested exception is
java.lang.NullPointerException
------------------------------
*type* Exception report
*message* *Request processing failed; nested exception is
java.lang.NullPointerException*
*description* *The server encountered an internal error that prevented it
from fulfilling this request.*
*exception*
org.springframework.web.util.NestedServletException: Request
processing failed; nested exception is java.lang.NullPointerException
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:948)
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
... MORE
And the error log says (catalina.out):
2015-07-08 10:36:51,575 DEBUG [jeeves.webapp.resources.get] - Sending email
notification for file :
/var/lib/tomcat7/webapps/geonetwork/WEB-INF/data/data/metadata_data/00000-00099/10/private/AMSAIIC_Significant_Areas.zip
2015-07-08 10:36:51,578 ERROR [jeeves] - Error occurred within a transaction
java.lang.NullPointerException
at org.fao.geonet.services.resources.Download.exec(Download.java:147)
at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
............................
and lot more.
The file is on the server in right place but GN3 will not let me download
it.
On Mon, Jul 6, 2015 at 1:54 PM, Jose Garcia <jose.garcia@anonymised.com> wrote:
Hi
Have you check in the xml if the url for the resource is fine?
Related to the NullPointerException, check in the log file, I guess some
additional information should be there that can be useful to identify the
problem.
Regards,
Jose García
On Mon, Jul 6, 2015 at 1:21 PM, hoddih <hoddi@anonymised.com> wrote:
Hi
Everything seems to work but..... If I tried to download attachment (image
etc.) I get error.
For new entry:
"Service not available
The service "/geonetwork/srv/eng/20130518_171016_Android.jpg" does not
exist
or you don't have privileges to access it. Return to the search page."
For old entry migrated from GN2:
"HTTP Status 500 - Request processing failed; nested exception is
java.lang.NullPointerException"
Any tips?
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Move-from-Version2-to-version3-tp5213358p5214425.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
*GeoCat Bridge for ArcGIS allows instant publishing of data and metadata
on GeoServer and GeoNetwork. Visit http://geocat.net
<http://geocat.net/> for details. _________________________Jose
GarcíaGeoCat bvVeenderweg 136721 WD BennekomThe
Netherlandshttp://GeoCat.net/>*
--
Hólmgrímur Helgason (Hóddi)
CAFF - Data Manager
hoddi@anonymised.com
+354 462 3357