on ‎2019 Apr 30 3:00 PM
We have null pointer while server startup on Windows .After server start we have server error while we try to reach backoffice. Here is the console log
ERROR [localhost-startStop-7] [ContextLoader] Context initialization failed java.lang.NullPointerException: null at java.net.URI$Parser.parse(Unknown Source) ~[?:1.8.0_201] at java.net.URI.(Unknown Source) ~[?:1.8.0_201] at java.net.URI.create(Unknown Source) ~[?:1.8.0_201] at com.hybris.backoffice.BackofficeModulesManager.lambda$8(BackofficeModulesManager.java:533) ~[classes/:?] at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source) ~[?:1.8.0_201] at java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) ~[?:1.8.0_201] at java.util.stream.ReferencePipeline$3$1.accept(Unknown Source) ~[?:1.8.0_201] at java.util.Iterator.forEachRemaining(Unknown Source) ~[?:1.8.0_201] at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Unknown Source) ~[?:1.8.0_201] at java.util.stream.AbstractPipeline.copyInto(Unknown Source) ~[?:1.8.0_201] at java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) ~[?:1.8.0_201] at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source) ~[?:1.8.0_201] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source) ~[?:1.8.0_201] at java.util.stream.AbstractPipeline.evaluate(Unknown Source) ~[?:1.8.0_201] at java.util.stream.ReferencePipeline.forEach(Unknown Source) ~[?:1.8.0_201] at com.hybris.backoffice.BackofficeModulesManager.assureCorrectExistingModulesStructure(BackofficeModulesManager.java:532) ~[classes/:?] at com.hybris.backoffice.BackofficeApplicationContext.prepareRefresh(BackofficeApplicationContext.java:97) ~[classes/:?] at org.springframework.context.support.AbstractApplicationContext.__refresh(AbstractApplicationContext.java:512) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:41010) ~[spring-context-4.3.21.RELEASE.jar:4.3.21.RELEASE] at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) ~[spring-web-4.3.21.RELEASE.jar:4.3.21.RELEASE] at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) [spring-web-4.3.21.RELEASE.jar:4.3.21.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.21.RELEASE.jar:4.3.21.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(Unknown Source) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_201] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_201] at java.lang.Thread.run(Unknown Source) [?:1.8.0_201]
Thanks in advance.
Request clarification before answering.
Please check this Stackoverflow answer https://stackoverflow.com/questions/56867464/hybris-startup-errors/59036923#59036923
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I did not get into details, but looking at your stacktrace I guess that you have dependency to javascript defined ( js-libraries.xml file in backoffice/resources folder of an extension) that is not correct. Please take look at those.
Cheers, Jacek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.