Is nuxeo hotreload working on windows 7 ?

Hello,

Is nuxeo hotreload working on windows 7 ?

Each time I am trying to execute nuxeo hotreload I have exceptions :

2019-07-18 15:33:25,670 ERROR [Dev Bundles Loader] [org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap] Failed to reload dev bundles
java.lang.RuntimeException: Failed to reload dev bundles
    at org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap.loadDevBundles(DevFrameworkBootstrap.java:217)
    at org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap$1.run(DevFrameworkBootstrap.java:136)
    at java.util.TimerThread.mainLoop(Timer.java:555)
    at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.nuxeo.runtime.tomcat.dev.ReloadServiceInvoker.reloadBundles(ReloadServiceInvoker.java:284)
    at org.nuxeo.runtime.tomcat.dev.ReloadServiceInvoker.hotReloadBundles(ReloadServiceInvoker.java:217)
    at org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap.reloadDevBundles(DevFrameworkBootstrap.java:265)
    at org.nuxeo.runtime.tomcat.dev.DevFrameworkBootstrap.loadDevBundles(DevFrameworkBootstrap.java:215)
    ... 3 more
Caused by: java.lang.IllegalAccessError: tried to access field org.nuxeo.ecm.platform.commandline.executor.service.CommandLineExecutorComponent.executors from class org.nuxeo.ecm.platform.commandline.executor.service.ExecutorRegister
    at org.nuxeo.ecm.platform.commandline.executor.service.ExecutorRegister.register(ExecutorRegister.java:22)
    at fr.xxxxx.dam.nuxeo.core.services.impl.ExecutorServiceImpl.<init>(ExecutorServiceImpl.java:22)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at java.lang.Class.newInstance(Class.java:442)
    at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.createInstance(ComponentInstanceImpl.java:88)
    at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.<init>(ComponentInstanceImpl.java:68)
    at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.createComponentInstance(RegistrationInfoImpl.java:341)
    at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:421)
    at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponent(ComponentManagerImpl.java:547)
    at org.nuxeo.runtime.model.impl.ComponentManagerImpl.applyStashWhenRunning(ComponentManagerImpl.java:1009)
    at org.nuxeo.runtime.model.impl.ComponentManagerImpl.unstash(ComponentManagerImpl.java:981)
    at org.nuxeo.runtime.reload.ReloadComponent.reloadBundles(ReloadComponent.java:369)
    at org.nuxeo.runtime.reload.DevReloadBridge.reloadBundles(DevReloadBridge.java:60)

Thanks

0 votes

1 answers

1369 views

ANSWER



Hello,

With the latest release of Drive, it should work properly. Win7 is indeed supported : https://github.com/nuxeo/nuxeo-drive/blob/master/docs/support.md

0 votes