NPE with 'Insert a link to a Nuxeo Document' in HTML editor 
------------------------------------------------------------

                 Key: NXP-3975
                 URL: http://jira.nuxeo.org/browse/NXP-3975
             Project: Nuxeo Enterprise Platform
          Issue Type: Bug
    Affects Versions: 5.2 GA
            Reporter: Sean Radford
            Assignee: Thierry Delprat


Create a Note and click on the 'Insert a link to a Nuxeo Document' button in 
HTML editor. Click the 'search' button in the resultant pop-up and you get the 
error page. In the server log:

Caused by: java.lang.NullPointerException                                       
                                                                                
            
        at 
org.nuxeo.ecm.webapp.action.EditorLinkActionsBean.searchDocuments(EditorLinkActionsBean.java:89)
                                                                 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)          
                                                                                
            
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)   
                                                                                
 
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                                                                            
        at java.lang.reflect.Method.invoke(Method.java:597)                     
                                                                                
            
        at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)          
                                                                                
            
        at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
                                                                            
        at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
                                                                            
        at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31)
                                                                         
        at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)

So it seems that the CoreSession (documentManager componenet) is not being 
injected...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to