{"action":"created","issue":{"url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/6","repository_url":"https://api.github.com/repos/ITDSystems/alvex-orgchart","labels_url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/6/comments","events_url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/6/events","html_url":"https://github.com/ITDSystems/alvex-orgchart/issues/6","id":173141211,"number":6,"title":"Не устанавливается Alvex Orgchart","user":{"login":"code-911","id":11460176,"avatar_url":"https://avatars.githubusercontent.com/u/11460176?v=3","gravatar_id":"","url":"https://api.github.com/users/code-911","html_url":"https://github.com/code-911","followers_url":"https://api.github.com/users/code-911/followers","following_url":"https://api.github.com/users/code-911/following{/other_user}","gists_url":"https://api.github.com/users/code-911/gists{/gist_id}","starred_url":"https://api.github.com/users/code-911/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-911/subscriptions","organizations_url":"https://api.github.com/users/code-911/orgs","repos_url":"https://api.github.com/users/code-911/repos","events_url":"https://api.github.com/users/code-911/events{/privacy}","received_events_url":"https://api.github.com/users/code-911/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-25T08:21:24Z","updated_at":"2016-08-25T08:27:42Z","closed_at":"2016-08-25T08:23:41Z","body":"Привет.\r\n\r\nСтавил по инструкции: http://docs.alvexsoftware.com/ru-RU/Alvex/2.1/html-single/Admin_Guide/\r\n\r\nУстановил Alfresco Community (Build: 201602)\r\n\t- Alfresco Platform:\t5.1.e\r\n\t- Alfresco Share: 5.1.e\r\n\r\nЗапустил, остановил. Удалил каталоги  tomcat/webapps/alfresco и tomcat/webapps/share\r\n\r\nСобрал из исходников *.amp -ы, переименовал в orgchart-1.1-repo.amp и orgchart-1.1-share.amp Скопировал в соответствующие каталоги, запустил  bin/apply_amps.sh, в списке модулей их увидел.\r\n\r\nЗапустил альфрезку, все стартует:\r\n\r\n`$ ./alfresco.sh start\r\nwaiting for server to start.... done\r\nserver started\r\n/store/program/alfresco-community/postgresql/scripts/ctl.sh : postgresql  started at port 5433\r\nUsing CATALINA_BASE:   /store/program/alfresco-community/tomcat\r\nUsing CATALINA_HOME:   /store/program/alfresco-community/tomcat\r\nUsing CATALINA_TMPDIR: /store/program/alfresco-community/tomcat/temp\r\nUsing JRE_HOME:        /store/program/alfresco-community/java\r\nUsing CLASSPATH:       /store/program/alfresco-community/tomcat/bin/bootstrap.jar:/store/program/alfresco-community/tomcat/bin/tomcat-juli.jar\r\nUsing CATALINA_PID:    /store/program/alfresco-community/tomcat/temp/catalina.pid\r\nTomcat started.\r\n/store/program/alfresco-community/tomcat/scripts/ctl.sh : tomcat started`\r\n\r\nНо share не работает. Обращение в http://localhost:8085/share/ (томкат на 8085) выдает:\r\n\r\n`HTTP Status 404 - /share/`\r\n\r\nВ логе alfresco-community/share.log такое:\r\n\r\n`2016-08-24 14:51:00,608 ERROR [org.springframework.web.context.ContextLoader] [localhost-startStop-1] Context initialization failed\r\norg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alvex-orgchart' defined in file [/store/program/alfresco-community/tomcat/webapps/share/WEB-INF/classes/alfresco/web-extension/alvex-orgchart-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1514)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5524)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)\r\n\tat org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)\r\n\tat org.apache.catalina.core.StandardHost.addChild(StandardHost.java:649)\r\n\tat org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:672)\r\n\tat org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1859)\r\n\tat java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.NullPointerException\r\n\tat sun.misc.MetaIndex.mayContain(MetaIndex.java:242)\r\n\tat sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:995)\r\n\tat sun.misc.URLClassPath.getResource(URLClassPath.java:212)\r\n\tat sun.misc.URLClassPath.getResource(URLClassPath.java:265)\r\n\tat java.lang.ClassLoader.getBootstrapResource(ClassLoader.java:1261)\r\n\tat java.lang.ClassLoader.getResource(ClassLoader.java:1090)\r\n\tat java.lang.ClassLoader.getResource(ClassLoader.java:1088)\r\n\tat java.lang.ClassLoader.getResource(ClassLoader.java:1088)\r\n\tat java.lang.ClassLoader.getResource(ClassLoader.java:1088)\r\n\tat java.net.URLClassLoader.getResourceAsStream(URLClassLoader.java:232)\r\n\tat org.apache.catalina.loader.WebappClassLoader.getResourceAsStream(WebappClassLoader.java:1542)\r\n\tat com.alvexcore.share.ShareExtension.afterPropertiesSet(ShareExtension.java:66)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1573)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)\r\n\t... 25 more`\r\n\r\n\r\nПрошу помощи."},"comment":{"url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/comments/242315353","html_url":"https://github.com/ITDSystems/alvex-orgchart/issues/6#issuecomment-242315353","issue_url":"https://api.github.com/repos/ITDSystems/alvex-orgchart/issues/6","id":242315353,"user":{"login":"aviriel","id":596948,"avatar_url":"https://avatars.githubusercontent.com/u/596948?v=3","gravatar_id":"","url":"https://api.github.com/users/aviriel","html_url":"https://github.com/aviriel","followers_url":"https://api.github.com/users/aviriel/followers","following_url":"https://api.github.com/users/aviriel/following{/other_user}","gists_url":"https://api.github.com/users/aviriel/gists{/gist_id}","starred_url":"https://api.github.com/users/aviriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aviriel/subscriptions","organizations_url":"https://api.github.com/users/aviriel/orgs","repos_url":"https://api.github.com/users/aviriel/repos","events_url":"https://api.github.com/users/aviriel/events{/privacy}","received_events_url":"https://api.github.com/users/aviriel/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T08:27:42Z","updated_at":"2016-08-25T08:27:42Z","body":"Соберите orgchart из репозитория https://github.com/ITDSystems/alvex-meta, все зависимости подтянутся сами.\r\nНо на данный момент в orgchart присутствует баг, который позволяет развернуть оргстурктуру из скрипта импорта, но не позволяет ее создать через админку (#5). Подождите вторника, этот баг будет решен."}}
{"actor":{"display_login":"aviriel"}}