Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
jonathan lutz
Clicking document name in Document Library search result
May 18, 2011 2:52 PM
Answer

jonathan lutz

Rank: New Member

Posts: 2

Join Date: May 18, 2011

Recent Posts

Hello -

For some reason when I use the document library search function to find a document, then click on the document name, the entire document library area goes blank.

If I click on the "Action" button and then "Download", it downloads OK, but this requires multiple clicks and is fairly inconvenient.

Is this a bug, or am I missing something? Forgive me, I am newbie-riffic.
Hitoshi Ozawa
RE: Clicking document name in Document Library search result
May 18, 2011 4:33 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Would appreciate if you'll specify which Liferay version and bundle you are using, which web browser you are using, and what type of file you're trying to download.
Need these information to reproduce the error.
Lan Zhang
RE: Clicking document name in Document Library search result
September 14, 2011 1:04 PM
Answer

Lan Zhang

Rank: New Member

Posts: 16

Join Date: May 16, 2011

Recent Posts

I got the exactly same problem with liferay CE6.0.6. Is there any thing I can do to avoid this, or is this a bug?
Hitoshi Ozawa
RE: Clicking document name in Document Library search result
September 14, 2011 2:19 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

Just tried it several times with 6.0.6 and can't reproduce. It's may be your environment.
Michael Harper
RE: Clicking document name in Document Library search result
September 14, 2011 2:26 PM
Answer

Michael Harper

Rank: Junior Member

Posts: 56

Join Date: August 10, 2011

Recent Posts

I just tested on 6.0.6 CE and got the blank DL area shown below. This was what I saw after clicking on the name.
Attachment

Attachments: DL_Search_Filename_Click_Result.png (7.5k)
Hitoshi Ozawa
RE: Clicking document name in Document Library search result
September 14, 2011 4:05 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

OK, you're using the "Document Library Portlet". I was looking it from the Control Panel.
Yes, I was able to reproduce this error.
Should file an issue in the jira.
Michael Harper
RE: Clicking document name in Document Library search result
September 15, 2011 6:45 AM
Answer

Michael Harper

Rank: Junior Member

Posts: 56

Join Date: August 10, 2011

Recent Posts

Before I put file an issue in jira I figured I'd post the exception that gets thrown in the log to see if that might shed some light on the issue. I might have to file an issue anyway, but I thought I'd put this first to see if you were getting the same/similar error.


 113:48:13,576 ERROR [IncludeTag:231] Current URL /group/information-systems/documents?p_p_id=20&p_p_lifecycle=0&p_p_state=normal&p_p_mode=view&p_p_col_id=column-1&p_p_col_count=1&_20_struts_action=%2Fdocument_library%2Fview_file_entry&_20_redirect=http%3A%2F%2F194.194.99.36%3A8080%2Fgroup%2Finformation-systems%2Fdocuments%3Fp_p_id%3D20%26p_p_lifecycle%3D0%26p_p_state%3Dnormal%26p_p_mode%3Dview%26p_p_col_id%3Dcolumn-1%26p_p_col_count%3D1%26_20_breadcrumbsFolderId%3D0%26_20_keywords%3DACS%26_20_redirect%3Dhttp%253A%252F%252F194.194.99.36%253A8080%252Fgroup%252Finformation-systems%252Fdocuments%253Fp_p_id%253D20%2526p_p_lifecycle%253D0%2526p_p_state%253Dnormal%2526p_p_mode%253Dview%2526p_p_col_id%253Dcolumn-1%2526p_p_col_count%253D1%26_20_struts_action%3D%252Fdocument_library%252Fsearch%26_20_searchFolderIds%3D0&_20_fileEntryId=11502 generates exception: java.lang.NullPointerException
 213:48:13,591 ERROR [IncludeTag:154] java.lang.NullPointerException
 3    at org.apache.jsp.html.portlet.document_005flibrary.view_005ffile_005fentry_jsp._jspService(view_005ffile_005fentry_jsp.java:1133)
 4    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
 5    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 6    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
 7    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
 8    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
 9    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
10    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
11    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
12    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
13    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
14    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
15    at com.liferay.taglib.util.IncludeTag.include(IncludeTag.java:175)
16    at com.liferay.taglib.util.IncludeTag._doInclude(IncludeTag.java:223)
17    at com.liferay.taglib.util.IncludeTag.doEndTag(IncludeTag.java:58)
18    at org.apache.jsp.html.common.themes.portlet_jsp._jspService(portlet_jsp.java:4430)
19    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
20    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
21    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
22    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
Hitoshi Ozawa
RE: Clicking document name in Document Library search result
September 15, 2011 7:29 PM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7949

Join Date: March 23, 2010

Recent Posts

I just tested with the nightly build and it seems to have been fixed.
Michael Harper
RE: Clicking document name in Document Library search result
September 16, 2011 6:27 AM
Answer

Michael Harper

Rank: Junior Member

Posts: 56

Join Date: August 10, 2011

Recent Posts

Sounds like good news. We're not planning on going into production with this until after the first of the year anyway, so I can easily wait on the new version if it actually comes out when they plan. emoticon
ger dupont
RE: Clicking document name in Document Library search result
October 5, 2011 8:18 AM
Answer

ger dupont

Rank: New Member

Posts: 4

Join Date: September 22, 2011

Recent Posts

Just stumble uppon the same error using 6.0.6 on tomcat. I'm downloading the nightly...