Discussion

PLA (Pega Log Analyzer) Issue with Export to Excel

I'm receiving the below error when I click <Excel> button in PLA.
Any idea how to make Export To Excel work in PLA.

----------------------------------------------------------------
HTTP Status 500 -

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

net.sourceforge.stripes.exception.StripesServletException: ActionBean execution threw an exception.
net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:179)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:180)

root cause

java.io.FileNotFoundException: C:\WINDOWS\Temp\alert_export.txt (The system cannot find the path specified)
java.io.FileOutputStream.open(Native Method)
java.io.FileOutputStream.<init>(Unknown Source)
java.io.FileOutputStream.<init>(Unknown Source)
java.io.FileWriter.<init>(Unknown Source)
com.pega.pla.stripes.view.ViewMainActionBean.export(ViewMainActionBean.java:317)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
net.sourceforge.stripes.controller.DispatcherHelper$6.intercept(DispatcherHelper.java:445)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:157)
net.sourceforge.stripes.controller.BeforeAfterMethodInterceptor.intercept(BeforeAfterMethodInterceptor.java:107)
net.sourceforge.stripes.controller.ExecutionContext.proceed(ExecutionContext.java:154)
net.sourceforge.stripes.controller.ExecutionContext.wrap(ExecutionContext.java:73)
net.sourceforge.stripes.controller.DispatcherHelper.invokeEventHandler(DispatcherHelper.java:443)
net.sourceforge.stripes.controller.DispatcherServlet.invokeEventHandler(DispatcherServlet.java:241)
net.sourceforge.stripes.controller.DispatcherServlet.doPost(DispatcherServlet.java:154)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
net.sourceforge.stripes.controller.StripesFilter.doFilter(StripesFilter.java:180)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

June 25, 2014 - 5:31am

HI Harish,

Because of not having full permission on the folder structure you are facing above error.

 

To resolve above issue:

1. Create above folder strucute C:\WINDOWS\Temp\

2. Create a blank file C:\WINDOWS\Temp\alert_export.txt

3. Assign full permissions to all users to above folder

 

Panduranga.AS

July 7, 2015 - 1:55am

@PandurangaAS Thanks for the help :)