no reporting

Post Reply
piet
Posts: 2
Joined: 19 May 2010, 12:47

I tried to generate a report (tab: Essential Architecture Reporting) and got an:
Success. Repository snapshot generated and sent
When I looked to http://localhost:8080/essential_viewer/reportService

I got an error message:
HTTP Status 500 -
type Exception report
message

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

exception

java.lang.NullPointerException
com.enterprise_architecture.essential.report.EasReportService.doPost(EasReportService.java:137)
com.enterprise_architecture.essential.report.EasReportService.doGet(EasReportService.java:114)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.20 logs.
So I looked at the log:
26-mei-2010 12:32:07 org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet reportService threw exception
java.lang.NullPointerException
at com.enterprise_architecture.essential.report.EasReportService.doPost(EasReportService.java:137)
at com.enterprise_architecture.essential.report.EasReportService.doGet(EasReportService.java:114)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Unknown Source)
So do I have to install all the software again or is a more simple solution passible?

Regards,
Piet
piet
Posts: 2
Joined: 19 May 2010, 12:47

Problem is solved

sorry for the false alarm
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

No worries.

What was the issue in that caused this?

Thanks

Regards

Jonathan
Essential Project Team
Gaarde
Posts: 1
Joined: 07 Jun 2010, 12:54

Hi piet

Could you please specify what you did to solve the problem, as I get the exact same nullpointer exception...

Thanks!
Peter
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Hi Peter,

Not sure what Piet did to resolve this.
Can you tell me about your installation and hopefully we can resolve this quickly?
Specifically:
- What version of Tomcat are you running?
- What version of Protege are you running?
- What versions of Essential Architecture Manager are you using? You can find this in Protege in the About->Plugins menu.

Are you getting the success message on the Essential Architecture Reporting tab in Protege but the exception from Tomcat?

If you browse to http://localhost:8080/essential_viewer (or replace 'localhost' with your relevant hostname) do you get to the Essential Viewer homepage?

Thanks

Jonathan
Essential Project Team
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Just had another thought.

When trying to access the Essential Viewer, you are using the following URL:
aren't you?

It's worth noting that the URL that appears in the Essential Architecture Reporting tab in Protege is a special URL that is used to send the repository snapshot to the Essential Viewer and should NOT be used from your web browser.

I've just tried using the URL that Piet quoted and got exactly this null pointer exception.

Make sure to use the correct URL for Essential Viewer - that is without the '/reportService'.

Let me know how you get on

Jonathan
Essential Project Team
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

I've just completed a modification to the ReportingService and the Essential Viewer that's at the 'essential_viewer/reportService' URL so that attempts to access this service via a browser report that this is not the correct URL and provides a link to the correct URL (so that you can update any bookmarks etc.)

This should avoid this problem being encountered.

I'm building this update into an update release (to Essential Viewer) and a new version of the overall Essential Architecture Manager release.
Look out for updates in the 'What's New' section on the homepage for when this is available.

Jonathan
Essential Project Team
Post Reply