{"action":"created","issue":{"url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/157","labels_url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/157/comments","events_url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/157/events","html_url":"https://github.com/aurusov/rdo-xtext/issues/157","id":106230771,"number":157,"title":"Ошибка запуска модели","user":{"login":"aurusov","id":5585202,"avatar_url":"https://avatars.githubusercontent.com/u/5585202?v=3","gravatar_id":"","url":"https://api.github.com/users/aurusov","html_url":"https://github.com/aurusov","followers_url":"https://api.github.com/users/aurusov/followers","following_url":"https://api.github.com/users/aurusov/following{/other_user}","gists_url":"https://api.github.com/users/aurusov/gists{/gist_id}","starred_url":"https://api.github.com/users/aurusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurusov/subscriptions","organizations_url":"https://api.github.com/users/aurusov/orgs","repos_url":"https://api.github.com/users/aurusov/repos","events_url":"https://api.github.com/users/aurusov/events{/privacy}","received_events_url":"https://api.github.com/users/aurusov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aurusov/rdo-xtext/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/aurusov/rdo-xtext/labels/priority","name":"priority","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"bogachev-pa","id":6528492,"avatar_url":"https://avatars.githubusercontent.com/u/6528492?v=3","gravatar_id":"","url":"https://api.github.com/users/bogachev-pa","html_url":"https://github.com/bogachev-pa","followers_url":"https://api.github.com/users/bogachev-pa/followers","following_url":"https://api.github.com/users/bogachev-pa/following{/other_user}","gists_url":"https://api.github.com/users/bogachev-pa/gists{/gist_id}","starred_url":"https://api.github.com/users/bogachev-pa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogachev-pa/subscriptions","organizations_url":"https://api.github.com/users/bogachev-pa/orgs","repos_url":"https://api.github.com/users/bogachev-pa/repos","events_url":"https://api.github.com/users/bogachev-pa/events{/privacy}","received_events_url":"https://api.github.com/users/bogachev-pa/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aurusov/rdo-xtext/milestones/4","html_url":"https://github.com/aurusov/rdo-xtext/milestones/%D0%9A%20%D0%BF%D0%B5%D1%80%D0%B2%D0%BE%D0%B9%20%D0%BB%D0%B0%D0%B1%D0%B5","labels_url":"https://api.github.com/repos/aurusov/rdo-xtext/milestones/4/labels","id":1302547,"number":4,"title":"К первой лабе","description":"","creator":{"login":"aurusov","id":5585202,"avatar_url":"https://avatars.githubusercontent.com/u/5585202?v=3","gravatar_id":"","url":"https://api.github.com/users/aurusov","html_url":"https://github.com/aurusov","followers_url":"https://api.github.com/users/aurusov/followers","following_url":"https://api.github.com/users/aurusov/following{/other_user}","gists_url":"https://api.github.com/users/aurusov/gists{/gist_id}","starred_url":"https://api.github.com/users/aurusov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aurusov/subscriptions","organizations_url":"https://api.github.com/users/aurusov/orgs","repos_url":"https://api.github.com/users/aurusov/repos","events_url":"https://api.github.com/users/aurusov/events{/privacy}","received_events_url":"https://api.github.com/users/aurusov/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":0,"state":"open","created_at":"2015-09-12T17:49:04Z","updated_at":"2015-09-13T18:17:56Z","due_on":"2015-10-09T21:00:00Z","closed_at":null},"comments":4,"created_at":"2015-09-13T18:15:58Z","updated_at":"2015-09-13T18:24:21Z","closed_at":null,"body":"Модель не содержит ошибок, но не запускается\r\n```erlang\r\nenum Положение {станок_1, станок_2, станок_3, накопитель_1, накопитель_2, тележка_1_н, тележка_1_к, тележка_2_н, тележка_2_к, нигде}\r\n\r\ntype Накопители {\r\n    Положение положение;\r\n    int номер;\r\n    int максимальное_количество = 25;\r\n    int текущее_количество = 0;\r\n}\r\n\r\nenum Состояние_тележки {свободен, занят, загружен, перемещается, прибыл, ожидает} \r\ntype Тележки {\r\n\tint номер;\r\n\tПоложение положение;\r\n\tСостояние_тележки состояние = Состояние_тележки.свободен;\r\n}\r\n\r\nenum Состояние_робота {свободен, занят}\r\ntype Роботы {\r\n\tint номер;\r\n\tПоложение положение;\r\n\tСостояние_робота состояние = Состояние_робота.свободен;\r\n}\r\n\r\nenum Состояние_станка {свободен, загружается, готов_к_обработке, работает,разгружается, закончил_обработку}\r\ntype Станки {\r\n\tint номер;\r\n\tПоложение положение;\r\n\tСостояние_станка состояние = Состояние_станка.свободен;\r\n\tdouble длительность_обработки;\r\n}\r\n\r\nenum Состояние_детали {хранится, транспортируется, обрабатывается, обработка_закончна}\r\ntype Детали {\r\n\tint номер;\r\n\tПоложение положение = Положение.накопитель_1;\r\n\tСостояние_детали состояние = Состояние_детали.хранится;\r\n}\r\n```\r\n\r\n```\r\nJava Model Exception: Java Model Status [Build path contains duplicate entry: 'C:git/rdo-xtext/ru.bmstu.rk9.rao.lib/bin/' for project 'fms_laba']\r\n\tat org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:785)\r\n\tat org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3097)\r\n\tat org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3059)\r\n\tat org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:3112)\r\n\tat ru.bmstu.rk9.rao.ui.build.ModelBuilder.checkProjectClassPath(ModelBuilder.java:131)\r\n\tat ru.bmstu.rk9.rao.ui.build.ModelBuilder.access$0(ModelBuilder.java:98)\r\n\tat ru.bmstu.rk9.rao.ui.build.ModelBuilder$1.run(ModelBuilder.java:193)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat ru.bmstu.rk9.rao.ui.run.ExecutionHandler$2.run(ExecutionHandler.java:169)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\nCaused by: ru.bmstu.rk9.rao.lib.json.JSONException: JSONObject[\"structure\"] not found.\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.get(JSONObject.java:478)\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.getJSONObject(JSONObject.java:578)\r\n\tat ru.bmstu.rk9.rao.lib.database.Database.<init>(Database.java:97)\r\n\tat ru.bmstu.rk9.rao.lib.simulator.Simulator.initSimulation(Simulator.java:31)\r\n\tat rao_model.Embedded.initSimulation(Embedded.java:15)\r\n\t... 6 more\r\n\r\n!ENTRY ru.bmstu.rk9.rao.ui 4 0 2015-09-13 21:13:40.920\r\n!MESSAGE Execution failed\r\n!STACK 0\r\njava.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat ru.bmstu.rk9.rao.ui.run.ExecutionHandler$2.run(ExecutionHandler.java:169)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\nCaused by: ru.bmstu.rk9.rao.lib.json.JSONException: JSONObject[\"structure\"] not found.\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.get(JSONObject.java:478)\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.getJSONObject(JSONObject.java:578)\r\n\tat ru.bmstu.rk9.rao.lib.database.Database.<init>(Database.java:97)\r\n\tat ru.bmstu.rk9.rao.lib.simulator.Simulator.initSimulation(Simulator.java:31)\r\n\tat rao_model.Embedded.initSimulation(Embedded.java:15)\r\n\t... 6 more\r\nRoot exception:\r\nru.bmstu.rk9.rao.lib.json.JSONException: JSONObject[\"structure\"] not found.\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.get(JSONObject.java:478)\r\n\tat ru.bmstu.rk9.rao.lib.json.JSONObject.getJSONObject(JSONObject.java:578)\r\n\tat ru.bmstu.rk9.rao.lib.database.Database.<init>(Database.java:97)\r\n\tat ru.bmstu.rk9.rao.lib.simulator.Simulator.initSimulation(Simulator.java:31)\r\n\tat rao_model.Embedded.initSimulation(Embedded.java:15)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Unknown Source)\r\n\tat ru.bmstu.rk9.rao.ui.run.ExecutionHandler$2.run(ExecutionHandler.java:169)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)\r\n```"},"comment":{"url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/comments/139901327","html_url":"https://github.com/aurusov/rdo-xtext/issues/157#issuecomment-139901327","issue_url":"https://api.github.com/repos/aurusov/rdo-xtext/issues/157","id":139901327,"user":{"login":"bogachev-pa","id":6528492,"avatar_url":"https://avatars.githubusercontent.com/u/6528492?v=3","gravatar_id":"","url":"https://api.github.com/users/bogachev-pa","html_url":"https://github.com/bogachev-pa","followers_url":"https://api.github.com/users/bogachev-pa/followers","following_url":"https://api.github.com/users/bogachev-pa/following{/other_user}","gists_url":"https://api.github.com/users/bogachev-pa/gists{/gist_id}","starred_url":"https://api.github.com/users/bogachev-pa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogachev-pa/subscriptions","organizations_url":"https://api.github.com/users/bogachev-pa/orgs","repos_url":"https://api.github.com/users/bogachev-pa/repos","events_url":"https://api.github.com/users/bogachev-pa/events{/privacy}","received_events_url":"https://api.github.com/users/bogachev-pa/received_events","type":"User","site_admin":false},"created_at":"2015-09-13T18:24:21Z","updated_at":"2015-09-13T18:24:21Z","body":">Проект и файл модели названы одинаково. М.б. в этом проблема.\r\n\r\nДаже есть таска. https://github.com/aurusov/rdo-xtext/issues/33\r\nНо я не ожидал таких фатальных последствий."}}