Обратите внимание, что данный пользователь заблокирован! Не совершайте с ним никаких сделок! Перейдите в его профиль, чтобы узнать причину блокировки.
Исходники сервера Grand Crusade (104 протокол) Сурс -
При запуске выбивает ошибку, подскажите в чем может быть проблема?
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками
Вход или Регистрация
При запуске выбивает ошибку, подскажите в чем может быть проблема?
16.10 11:35:02 WARN Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gameServer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a]: Constructor threw exception; nested exception is java.lang.NullPointerException
16.10 11:35:02 INFO Closing JPA EntityManagerFactory for persistence unit 'default'
16.10 11:35:02 INFO
Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)
16.10 11:35:02 ERROR Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gameServer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
at studio.lineage2.gameserver.GameServer.main(GameServer.java:421)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
... 16 common frames omitted
Caused by: java.lang.NullPointerException: null
at handler.bbs.custom.CommunityBuffer.onInit(CommunityBuffer.java:1033)
at studio.lineage2.gameserver.scripts.Scripts$ScriptListenerImpl.init(Scripts.java:56)
at studio.lineage2.gameserver.scripts.Scripts.init(Scripts.java:161)
at studio.lineage2.gameserver.GameServer.<init>(GameServer.java:219)
at studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a.<init>(<generated>)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
... 18 common frames omitted
16.10 11:35:02 INFO Closing JPA EntityManagerFactory for persistence unit 'default'
16.10 11:35:02 INFO
Error starting ApplicationContext. To display the auto-configuration report enable debug logging (start with --debug)
16.10 11:35:02 ERROR Application startup failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gameServer': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1105)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:776)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:313)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1185)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1174)
at studio.lineage2.gameserver.GameServer.main(GameServer.java:421)
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a]: Constructor threw exception; nested exception is java.lang.NullPointerException
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1098)
... 16 common frames omitted
Caused by: java.lang.NullPointerException: null
at handler.bbs.custom.CommunityBuffer.onInit(CommunityBuffer.java:1033)
at studio.lineage2.gameserver.scripts.Scripts$ScriptListenerImpl.init(Scripts.java:56)
at studio.lineage2.gameserver.scripts.Scripts.init(Scripts.java:161)
at studio.lineage2.gameserver.GameServer.<init>(GameServer.java:219)
at studio.lineage2.gameserver.GameServer$$EnhancerBySpringCGLIB$$bbd37c3a.<init>(<generated>)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
... 18 common frames omitted