[#4991] - NullPointerException to execute report when external authentication LDAP is enabled

Category:
Bug report
Priority:
High
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

When enable applicationContext-externalAuth-LDAP.xml, JasperServer can't execute reports, only after remove applicationContext-externalAuth-LDAP.xml, this bug only happens on the 6.1, the external auth works perfectly on 6.0.1.

There are some way to fix this bug?

Thank you.

AttachmentSize
Binary Data error_jasper14.49 KB
v6.1
JasperReports Server
klinux's picture
4
Joined: Apr 7 2015 - 1:56pm
Last seen: 5 years 1 month ago

6 Comments:

#1
  • Priority:Normal» High
  • Severity:Minor» Critical
#2

the same problem here with jr server 6.1 Build 20150527_1348
To verify that this error has to do with ldap authentication I simply move away applicationContext-externalAuth-LDAP.xml and reports work again...

I suppose this error has to do with bean id="abstractExternalProcessor" in the referenced xml file.
Maybe it's objectPermissionService - the corresponding bean is in applicationContext.xml

Unfortunately I'm novice in spring diagnostics :-(

#3

This should be the same than ISSUE-4961
http://community.jaspersoft.com/jasperreports-server/issues/4961
, unfortunately there is no way to adapt this solution to this XML

#4

I've recompiled 6.1.0 specific JAR and now it works with all kind of ext auth
Simple, remove the old 6.1.0 webapps/jasperserver/WEB-INF/lib/jasperserver-api-engine-impl-6.1.0.jar and put this one

AttachmentSize
File jasperserver-api-engine-impl-6.1.0.jar761.94 KB
#5

I've recompiled 6.1.0 specific JAR and now it works with all kind of ext auth
Simple, remove the old 6.1.0 webapps/jasperserver/WEB-INF/lib/jasperserver-api-engine-impl-6.1.0.jar and put this one

AttachmentSize
File jasperserver-api-engine-impl-6.1.0.jar761.94 KB
#6

sweet! anyhow, what exactly is the difference to the upstream jar and yours?

Feedback
randomness