Foros de discusión

Document Library Null pointer error

Amit Shukla, modificado hace 11 años.

Document Library Null pointer error

Junior Member Mensajes: 93 Fecha de incorporación: 7/06/12 Mensajes recientes
Hi all,

We are getting following errors when we click documents and media section and not able to see add button on DMS portlet.

1-Current URL /group/control_panel/manage?p_p_id=20&p_p_lifecycle=2&p_p_state=maximized&p_p_mode=view&p_p_cacheability=cacheLevelPage&doAsGroupId=10227&refererPlid=10709 generates exception: null


2- at org.apache.jsp.html.portlet.document_005flibrary.add_005fbutton_jsp._jspService(add_005fbutton_jsp.java:1385)


Any idea about this....??????????????????????????????????
thumbnail
Miguel Ángel Júlvez, modificado hace 11 años.

RE: Document Library Null pointer error

Junior Member Mensajes: 63 Fecha de incorporación: 29/03/11 Mensajes recientes
Hi Amit,

Did you get fix it?

Regards
Amit Shukla, modificado hace 11 años.

RE: Document Library Null pointer error

Junior Member Mensajes: 93 Fecha de incorporación: 7/06/12 Mensajes recientes
yes
John Miller, modificado hace 10 años.

RE: Document Library Null pointer error

New Member Mensajes: 5 Fecha de incorporación: 20/11/12 Mensajes recientes
How did you fix the problem?
thumbnail
Daniel Tyger, modificado hace 10 años.

RE: Document Library Null pointer error

Regular Member Mensajes: 105 Fecha de incorporación: 6/02/13 Mensajes recientes
John Miller:
How did you fix the problem?


John (or anyone) - any luck / progress...? -daniel
thumbnail
Juan Gonzalez, modificado hace 10 años.

RE: Document Library Null pointer error

Liferay Legend Mensajes: 3089 Fecha de incorporación: 28/10/08 Mensajes recientes
thumbnail
Daniel Tyger, modificado hace 10 años.

RE: Document Library Null pointer error

Regular Member Mensajes: 105 Fecha de incorporación: 6/02/13 Mensajes recientes
Juan Gonzalez:
Applying the fix for this issue (or upgrade to 6.1.2 GA3) perhaps?

https://issues.liferay.com/browse/LPS-27449?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel


Juan - thank you kindly for replying. Oddly enough, I receive this error in *both* GA2 release tomcat bundle *and* the new GA3 release tomcat bundle. This is an upgraded database from 5.2/3 era...

Even though we are not in a sharded environment, do you still recommend the fix at that thread...?

It seems like it just can't draw the actions button-- is that related to a missing UI file or due to user permissions when accessing the portlet via control panel? (I am in as omni admin when receiving these errors...

I noticed also the "Actions" button does show up for *folder actions* when you click the box to activate a folder.

The Actions button seems to be missing only when the "Add Document / file" option should be showing...
Alberto Marcos, modificado hace 8 años.

RE: Document Library Null pointer error

New Member Mensajes: 2 Fecha de incorporación: 3/10/14 Mensajes recientes
I give the same error on a 6.1.2 GA3 and the problem was in the database.
Inside the table DLFileEntryType wasn't a register for the Basic Document. After create the register the button ADD apeared into the Documents & Media portlet.

I dont' know why that register dissapered but it worked for me. emoticon