NIS is stopped, NCC is running

I encounter NIS is stopped, NCC is running issue。 After I removed the nis5_mainnet.h2 db file, it’s working fine, but i noticed the transaction and XEM in my wallet is gone. Any advise on this? Thanks.

Did the synchronization process complete?
Is the upper bar red or yellow?

@GodTanu many thanks for reminding me on that. I think i was not completed just now. I will try again.

1 Like

Deleting the file does not work for me either. For 2 seconds NIS was running but not anymore. Any other idea how to make it running?

2017-03-14 13:11:21.770 INFO NEM logging has been bootstrapped! (org.nem.deploy.g a)
2017-03-14 13:11:21.772 INFO Acquiring exclusive lock to lock file: C:\Users\jjedl\nem\nis.lock (org.nem.deploy.CommonStarter tryAcquireLock)
2017-03-14 13:11:21.776 WARNING no certificate found for (file:/C:/New/nem/package/nis/nem-deploy-0.6.79-BETA.jar ) (org.nem.core.metadata.CodeSourceFacade )
2017-03-14 13:11:21.778 INFO Analyzing meta data in <nem-deploy-0.6.79-BETA.jar> (org.nem.core.metadata.JarFacade )
2017-03-14 13:11:21.780 INFO Meta data title , version <0.6.79-BETA> (org.nem.core.metadata.JarFacade )
2017-03-14 13:11:21.782 INFO Starting embedded Jetty Server. (org.nem.deploy.CommonStarter main)
2017-03-14 13:11:22.014 INFO Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@101b7af: startup date [Tue Mar 14 14:11:22 CET 2017]; root of context hierarchy (org.springframework.context.annotation.AnnotationConfigApplicationContext prepareRefresh)
2017-03-14 13:11:22.819 WARNING Exception encountered during context initialization - cancelling refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘nisAppConfig’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.nem.nis.oh.xlq org.nem.specific.deploy.appconfig.NisAppConfig.fD; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:95)
at org.nem.deploy.CommonStarter.u(CommonStarter.java:97)
at org.nem.deploy.CommonStarter.b(CommonStarter.java:177)
at org.nem.deploy.CommonStarter.a(CommonStarter.java:82)
at org.nem.deploy.CommonStarter.main(CommonStarter.java:76)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.nem.nis.oh.xlq org.nem.specific.deploy.appconfig.NisAppConfig.fD; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
… 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:622)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:591)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1397)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:434)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:412)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:186)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1105)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
… 17 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:395)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1349)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1320)
… 27 more
(org.springframework.context.annotation.AnnotationConfigApplicationContext refresh)
2017-03-14 13:11:22.833 SEVERE Stopping Jetty Server.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘nisAppConfig’: Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.nem.nis.oh.xlq org.nem.specific.deploy.appconfig.NisAppConfig.fD; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:755)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
at org.springframework.context.annotation.AnnotationConfigApplicationContext.(AnnotationConfigApplicationContext.java:95)
at org.nem.deploy.CommonStarter.u(CommonStarter.java:97)
at org.nem.deploy.CommonStarter.b(CommonStarter.java:177)
at org.nem.deploy.CommonStarter.a(CommonStarter.java:82)
at org.nem.deploy.CommonStarter.main(CommonStarter.java:76)
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.nem.nis.oh.xlq org.nem.specific.deploy.appconfig.NisAppConfig.fD; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
… 15 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.nem.nis.oh.gyh] for bean with name ‘gyh’ defined in URL [jar:file:/C:/New/nem/package/nis/nem-infrastructure-server-0.6.84-BETA.jar!/org/nem/nis/oh/gyh.class]: problem with class file or dependent class; nested exception is java.lang.IncompatibleClassChangeError: Implementing class
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineTargetType(AbstractAutowireCapableBeanFactory.java:622)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:591)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1397)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:434)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:412)
at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:186)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1105)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)
… 17 more
Caused by: java.lang.IncompatibleClassChangeError: Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.springframework.util.ClassUtils.forName(ClassUtils.java:249)
at org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:395)
at org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1349)
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1320)
… 27 more
(org.nem.deploy.CommonStarter a)
2017-03-14 13:11:22.835 INFO NEM Deploy 0.6.79-BETA shutdown… (org.nem.deploy.CommonStarter a)

Can I somehow access my funds without starting the NIS? I want to use the Nanowallet but now I cannot log in into my ncc wallet in order to upgrade :frowning:

I think you’re running old software. Do exactly as I say.
-Your computer must have a name(Let say that your pc’s name is Oscar). Go to Oscar/nem/ncc. Copy your .adb and .wlt files to a folder wherever you want. Now delete this Oscar/nem folder.
Important- Don’t forget to copy your .adb and .wlt files before deleting Oscar/nem.
-Now uninstall your current NEM client. Visit bob.nem.ninja/installer and download version 0.6.84. Install it.
-After that start NEM client. Let it start synchronising and then stop after 1-2 minutes(Close the software).
-Again visit Oscar/nem/ncc and paste your .adb and .wlt files here.
-Start NEM software again. It’ll synchronise and now you can access your wallet after logging in.

-If you want to use Nano wallet visit https://www.nem.io/#clients and download it. Get your private key from NCC and follow the steps given in my link below.
Need help getting up to date. Enjoy :slight_smile:

Looks like you got mixed 0.6.79 and 0.6.84 nem jars. Please check the folder where the jars are, maybe you have both versions in that folder.

@ iaminitnow06 - I tried that before but thank you anyway!
@ bloodyrookie - You’re right, that was it! It’s working now :slight_smile:

Thanks a lot, guys!

OK. So I have version 6.77.

I can’t find any .adb or .wlt files anywhere…

My wallet won’t open because NCC won’t run.

Help?

NIS stuck at sync at certain block, cannot continue. Any reason for that?

Do you use NIS version 0.6.93?
Synchronization may be stopped in older versions.

If you are using the latest version, please stop NIS and delete the DB.
After that download the DB from the following URL and start NIS.
https://bob.nem.ninja/nis5_mainnet.h2-1252k.db.zip

Yes, I use the older version. So can I keep that wallet DB that store in my C drive?

First of all, please only upgrade NIS version. Perhaps you should synchronize by starting a new version.
From the latest version, NCC is no longer included.
If you are using NCC, you need to migrate to NanoWallet.
(However, the environment that NIS 0.6.93 + NCC 0.6.91 is not impossible, this is a temporary correspondence.)

So for the new version, I can just ignore the Mon and NCC, just run the NIS right?

For the migration to NanoWallet, may I know how to achieve that?

The new version contains only NIS.
Rather, there are directories such as NCC, but contents are not included.

NCC is required to migrate to NanoWallet.
Now that NCC can run, it is better to do the work.

For the migration method, refer to the following document.

Many thanks, Mizu! I’ll try it.

1 Like

Hello, would like to ask I completed the NIS unning but no wallet login page jumping out, any idea on this?

NCC is no longer packaged with NIS.

Running NIS will not start any wallet login page.

I suggest you use Nanowallet: https://github.com/NemProject/NanoWallet/releases

Or you can download the deprecated NCC here: https://bob.nem.ninja/last-ncc/nis-ncc-0.6.91.zip

Thanks, Saul. Noted with no more NCC with NIS.
The reason I need the wallet login page is to login and export my wallet to nanowallet.

I got my wallet file in my pc, anyway to get the wallet info like password from that file?