Fórum

Document Library Null pointer error

Amit Shukla, modificado 11 Anos atrás.

Document Library Null pointer error

Junior Member Postagens: 93 Data de Entrada: 07/06/12 Postagens Recentes
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 11 Anos atrás.

RE: Document Library Null pointer error

Junior Member Postagens: 63 Data de Entrada: 29/03/11 Postagens Recentes
Hi Amit,

Did you get fix it?

Regards
Amit Shukla, modificado 11 Anos atrás.

RE: Document Library Null pointer error

Junior Member Postagens: 93 Data de Entrada: 07/06/12 Postagens Recentes
yes
John Miller, modificado 10 Anos atrás.

RE: Document Library Null pointer error

New Member Postagens: 5 Data de Entrada: 20/11/12 Postagens Recentes
How did you fix the problem?
thumbnail
Daniel Tyger, modificado 10 Anos atrás.

RE: Document Library Null pointer error

Regular Member Postagens: 105 Data de Entrada: 06/02/13 Postagens Recentes
John Miller:
How did you fix the problem?


John (or anyone) - any luck / progress...? -daniel
thumbnail
Juan Gonzalez, modificado 10 Anos atrás.

RE: Document Library Null pointer error

Liferay Legend Postagens: 3089 Data de Entrada: 28/10/08 Postagens Recentes
thumbnail
Daniel Tyger, modificado 10 Anos atrás.

RE: Document Library Null pointer error

Regular Member Postagens: 105 Data de Entrada: 06/02/13 Postagens Recentes
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 8 Anos atrás.

RE: Document Library Null pointer error

New Member Postagens: 2 Data de Entrada: 03/10/14 Postagens Recentes
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