[#10331] - JasperStudio 6.5.1 Can't edit jrxml behind Apache with Mod_JK

Category:
Bug report
Priority:
Low
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:
0

Same problem in Jaspersoft Studio version 6.5.1, as described in https://community.jaspersoft.com/jaspersoft-studio/issues/4836 for 6.0.

The workaround to "Use SOAP protocol only" still works (as mentioned in https://community.jaspersoft.com/jaspersoft-studio/issues/4836).

The Problem:
When trying to load a jrxml from a server going over Apache (with https/Let’s Encrypt) -> mod_jk -> Tomcat I get the exception below.
When connecting to the Tomcat directly, or configuring the connection to "Use SOAP protocol only", it works as expected.

Versions
Apache/2.4.10
mod_jk/1.2.37
Apache Tomcat/7.0.78

java.lang.NullPointerException
at java.lang.Class.isAssignableFrom(Native Method)
at org.glassfish.jersey.message.internal.MessageBodyFactory.isCompatible(MessageBodyFactory.java:699)
at org.glassfish.jersey.message.internal.MessageBodyFactory._getMessageBodyReader(MessageBodyFactory.java:736)
at org.glassfish.jersey.message.internal.MessageBodyFactory.getMessageBodyReader(MessageBodyFactory.java:664)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$TerminalReaderInterceptor.aroundReadFrom(ReaderInterceptorExecutor.java:215)
at org.glassfish.jersey.message.internal.ReaderInterceptorExecutor.proceed(ReaderInterceptorExecutor.java:154)
at org.glassfish.jersey.message.internal.MessageBodyFactory.readFrom(MessageBodyFactory.java:1124)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:851)
at org.glassfish.jersey.message.internal.InboundMessageContext.readEntity(InboundMessageContext.java:783)
at org.glassfish.jersey.client.ClientResponse.readEntity(ClientResponse.java:326)
at org.glassfish.jersey.client.InboundJaxrsResponse$1.call(InboundJaxrsResponse.java:111)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:399)
at org.glassfish.jersey.client.InboundJaxrsResponse.readEntity(InboundJaxrsResponse.java:108)
at com.jaspersoft.studio.server.protocol.restv2.ARestV2ConnectionJersey.toObj(ARestV2ConnectionJersey.java:45)
at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.setMainReportFlag(RestV2ConnectionJersey.java:477)
at com.jaspersoft.studio.server.protocol.restv2.RestV2ConnectionJersey.get(RestV2ConnectionJersey.java:453)
at com.jaspersoft.studio.server.protocol.ProxyConnection.get(ProxyConnection.java:176)
at com.jaspersoft.studio.server.WSClientHelper.getResource(WSClientHelper.java:241)
at com.jaspersoft.studio.server.WSClientHelper.getResource(WSClientHelper.java:226)
at com.jaspersoft.studio.server.action.resource.OpenInEditorAction.dorun(OpenInEditorAction.java:126)
at com.jaspersoft.studio.server.action.resource.OpenInEditorAction$1.runInWorkspace(OpenInEditorAction.java:103)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Jaspersoft Studio
ebeutler's picture
Joined: Jan 5 2018 - 9:22am
Last seen: 1 month 3 days ago
Feedback
randomness