[IPT] error publishing resource,

Kyle Braak [GBIF] kbraak at gbif.org
Thu Jan 10 12:39:06 CET 2013


Dear Dimitri, 

It appears as if you have encountered this issue which has been fixed for version 2.0.4. I recommend you follow the suggested fix in the issue, or better, upgrade to the 2.0.4 release.

Best regards,

Kyle 
On Jan 10, 2013, at 12:27 PM, BROSENS, Dimitri wrote:

> Dear,
>  
> IPT returns me an error while updating a resource. I think it s rather strange as it worked for all the updating of similar other query ‘s.  I removed the connection to the db completely, retried and it gives me exactly the same error. I also totally removed the data and tried to update..; same error.
>  
> Any ideas?
> Chrs,
> Dimi
>  
> Ps: happy NY J
>  
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/life_stage exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/life_stage.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/nomenclatural_code exists already - overwriting with new vocabulary fromhttp://rs.gbif.org/vocabulary/gbif/nomenclatural_code.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/establishment_means/ exists already - overwriting with new vocabulary fromhttp://rs.gbif.org/vocabulary/gbif/establishment_means.xml
> WARN  Vocabulary URI http://iso.org/639-1 exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/iso/639-1.xml
> WARN  Vocabulary URI http://dublincore.org/documents/dcmi-type-vocabulary/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/dcterms/type.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/agentRole exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/agent_role.xml
> WARN  Vocabulary URI http://iso.org/639-2 exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/iso/639-2.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/resource_type exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/resource_type.xml
> WARN  Vocabulary URI http://rs.tdwg.org/dwc/dwctype/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/dwc/basis_of_record.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/occurrence_status/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/occurrence_status.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocab/boolean/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/basic/boolean.xml
> WARN  Vocabulary URI http://iso.org/iso3166-1/alpha2 exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/iso/3166-1_alpha2.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/preservation_method exists already - overwriting with new vocabulary fromhttp://rs.gbif.org/vocabulary/gbif/preservation_method.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/rank exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/rank.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocab/cites/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/un/cites_appendix.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/iucn/threat_status/ exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/iucn/threat_status.xml
> WARN  Vocabulary URI http://rs.gbif.org/vocabulary/gbif/sex exists already - overwriting with new vocabulary from http://rs.gbif.org/vocabulary/gbif/sex.xml
> ERROR Error publishing resource
> java.lang.NullPointerException
>          at org.gbif.ipt.task.Eml2Rtf.addMethods(Eml2Rtf.java:547)
>          at org.gbif.ipt.task.Eml2Rtf.writeEmlIntoRtf(Eml2Rtf.java:927)
>          at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.publishRtf(ResourceManagerImpl.java:810)
>          at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.publishMetadata(ResourceManagerImpl.java:788)
>          at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.publish(ResourceManagerImpl.java:741)
>          at org.gbif.ipt.action.manage.OverviewAction.publish(OverviewAction.java:354)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:616)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)
>          at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)
>          at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.gbif.ipt.struts2.RedirectMessageInterceptor.doIntercept(RedirectMessageInterceptor.java:128)
>          at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.gbif.ipt.struts2.RequireManagerInterceptor.intercept(RequireManagerInterceptor.java:80)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.gbif.ipt.struts2.SetupAndCancelInterceptor.intercept(SetupAndCancelInterceptor.java:60)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.gbif.ipt.struts2.ResourceSessionInterceptor.intercept(ResourceSessionInterceptor.java:42)
>          at com.google.inject.struts2.Struts2Factory$ProvidedInterceptor.intercept(Struts2Factory.java:215)
>          at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)
>          at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)
>          at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)
>          at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
>          at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91)
>          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>          at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
>          at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
>          at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
>          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
>          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
>          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
>          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
>          at java.lang.Thread.run(Thread.java:636)
> ERROR Error publishing resource
> java.lang.NullPointerException
>  
>  
>  
> * * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * * 
> Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document. 
> The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document. _______________________________________________
> IPT mailing list
> IPT at lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/ipt

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/ipt/attachments/20130110/af89e77d/attachment-0001.html 


More information about the IPT mailing list