cancel
Showing results for 
Search instead for 
Did you mean: 

Lambda expression error in backoffice module manager during server start up in Hybris 1808

former_member704915
Participant
0 Kudos
1,021

Hello! I am getting an error while server start up in Hybris 1808 version. The server finally gets started, but I am not able to open backoffice. Everytime I hit backoffice, I redirects me to HAC, without any error logs in console. I guess the error during the server start up is the issue. Please find the logs below and suggest.

Feb 05, 2019 12:19:18 PM org.apache.jasper.servlet.TldScanner scanJars INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time. ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from field java.net.URI$Parser.input of an object loaded from local variable 'this' at java.net.URI$Parser.parse(URI.java:3042) ~[?:1.8.0_192] at java.net.URI.(URI.java:588) ~[?:1.8.0_192] at java.net.URI.create(URI.java:850) ~[?:1.8.0_192] at com.hybris.backoffice.BackofficeModulesManager.lambda$8(BackofficeModulesManager.java:533) ~[classes/:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) ~[?:1.8.0_192] at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175) ~[?:1.8.0_192] at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) ~[?:1.8.0_192] at java.util.Iterator.forEachRemaining(Iterator.java:116) ~[?:1.8.0_192] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) ~[?:1.8.0_192] at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) ~[?:1.8.0_192] at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471) ~[?:1.8.0_192] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151) ~[?:1.8.0_192] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174) ~[?:1.8.0_192] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:1.8.0_192] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[?:1.8.0_192] at com.hybris.backoffice.BackofficeModulesManager.assureCorrectExistingModulesStructure(BackofficeModulesManager.java:532) ~[classes/:?] at com.hybris.backoffice.BackofficeApplicationContext.prepareRefresh(BackofficeApplicationContext.java:96) ~[classes/:?] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:512) ~[spring-context-4.3.17.RELEASE.jar:4.3.17.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) ~[spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) [spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] at de.hybris.platform.spring.HybrisContextLoaderListener.doInitWebApplicationContext(HybrisContextLoaderListener.java:225) [coreserver.jar:?] at de.hybris.platform.spring.HybrisContextLoaderListener.initWebApplicationContext(HybrisContextLoaderListener.java:199) [coreserver.jar:?] at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) [spring-web-4.3.17.RELEASE.jar:4.3.17.RELEASE] at de.hybris.platform.spring.HybrisContextLoaderListener.contextInitialized(HybrisContextLoaderListener.java:95) [coreserver.jar:?] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4792) [catalina.jar:8.5.32] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256) [catalina.jar:8.5.32] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:8.5.32] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1421) [catalina.jar:8.5.32] at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1411) [catalina.jar:8.5.32] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_192] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_192] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_192] at java.lang.Thread.run(Thread.java:836) [?:1.8.0_192] ERROR [localhost-startStop-1] [ContextLoader] Context initialization failed java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from field java.net.URI$Parser.input of an object loaded from local variable 'this' at java.net.URI$Parser.parse(URI.java:3042) ~[?:1.8.0_192] at java.net.URI.(URI.java:588) ~[?:1.8.0_192] at java.net.URI.create(URI.java:850) ~[?:1.8.0_192]

Accepted Solutions (0)

Answers (3)

Answers (3)

kernel32
Newcomer

Hi,

in my case (version 2211) removing all jars inside data/backoffice directory and restarting the hybris helped.

JenitShah
Discoverer
0 Kudos
Thanks your solution makes my day...!!!!
0 Kudos

Hi ,

I am also getting same error. Kindly let me know if resolution has found.

former_member704915
Participant

Hi,

You can try setting the below property in your local.properties file and then do ant clean all and server up

backoffice.library.home=backoffice

0 Kudos

Hi, I've got the same error. Did you found a solution?