On 08/06/2017 15:34, Anderson P. Almeida wrote:
The Java version:

openjdk version "1.7.0_141"
OpenJDK Runtime Environment (build 1.7.0_141-b02)
OpenJDK 64-Bit Server VM (build 24.95-b02, mixed mode)

Very thanks

2017-06-08 10:28 GMT-03:00 Anderson P. Almeida <[email protected] 
<mailto:[email protected]>>:

    Hello guys,

    Can help me with this error in OS FreeBSD 11.0-STABLE?

    The same lsc and ldap configuration works on debian.

    Logs:

    Jun 07 16:35:04 - INFO  - Starting sync for lsc
    Jun 07 16:35:04 - ERROR - Error while synchronizing ID 
{uid=felipe.almeida}: java.lang.NullPointerException
    Jun 07 16:35:04 - DEBUG - java.lang.NullPointerException
    java.lang.NullPointerException: null
            at 
org.lsc.utils.ScriptingEvaluator.evalToString(ScriptingEvaluator.java:129) 
~[lsc-core-2.1.4.jar:na]
            at 
org.lsc.beans.BeanComparator.cloneSrcBean(BeanComparator.java:530) 
~[lsc-core-2.1.4.jar:na]
            at 
org.lsc.beans.BeanComparator.calculateModificationType(BeanComparator.java:127) 
~[lsc-core-2.1.4.jar:na]
            at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:733) 
[lsc-core-2.1.4.jar:na]
            at org.lsc.SynchronizeTask.run(AbstractSynchronize.java:689) 
[lsc-core-2.1.4.jar:na]
            at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 
[na:1.7.0_141]
            at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[na:1.7.0_141]
            at java.lang.Thread.run(Thread.java:748) [na:1.7.0_141]
    Jun 07 16:35:04 - ERROR - All entries: 1, to modify entries: 0, 
successfully modified entries: 0, errors: 1
    Jun 07 16:35:04 - INFO  - Starting clean for pop2rnp
    Jun 07 16:35:04 - INFO  - All entries: 1, to modify entries: 0, 
successfully modified entries: 0, errors: 0

    --
    Anderson P. Almeida




--
Anderson P. Almeida


Hi Anderson,

I think you may be having this issue 
https://stackoverflow.com/questions/10054252/trying-to-use-rhino-getenginebynamejavascript-returns-null-in-openjdk-7,
 because the command fails on calling the rhino javascript engine.

Which is not a OpenJDK bug according to Oracle : 
http://bugs.java.com/view_bug.do?bug_id=6876736, but distros.

I don't know much about FreeBSD, but according to this thread, port install 
rhino should fix it 
(https://stackoverflow.com/questions/4649519/jvm-missing-rhino).

It could also be an opportunity to upgrade to Java 8 which includes Nashborn script 
engine, see thread 
https://stackoverflow.com/questions/30007787/why-does-getenginebyname-js-return-null?noredirect=1&lq=1,

Good luck
--
Soisik
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users

Reply via email to