{"action":"opened","issue":{"url":"https://api.github.com/repos/idea2-platform/pepito-test/issues/834","repository_url":"https://api.github.com/repos/idea2-platform/pepito-test","labels_url":"https://api.github.com/repos/idea2-platform/pepito-test/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/idea2-platform/pepito-test/issues/834/comments","events_url":"https://api.github.com/repos/idea2-platform/pepito-test/issues/834/events","html_url":"https://github.com/idea2-platform/pepito-test/issues/834","id":168916326,"number":834,"title":"IP-1734. Error JIRA integration with attachments","user":{"login":"idea2-pepito","id":20704124,"avatar_url":"https://avatars.githubusercontent.com/u/20704124?v=3","gravatar_id":"","url":"https://api.github.com/users/idea2-pepito","html_url":"https://github.com/idea2-pepito","followers_url":"https://api.github.com/users/idea2-pepito/followers","following_url":"https://api.github.com/users/idea2-pepito/following{/other_user}","gists_url":"https://api.github.com/users/idea2-pepito/gists{/gist_id}","starred_url":"https://api.github.com/users/idea2-pepito/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idea2-pepito/subscriptions","organizations_url":"https://api.github.com/users/idea2-pepito/orgs","repos_url":"https://api.github.com/users/idea2-pepito/repos","events_url":"https://api.github.com/users/idea2-pepito/events{/privacy}","received_events_url":"https://api.github.com/users/idea2-pepito/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/idea2-platform/pepito-test/labels/state/released","name":"state/released","color":"e6e6e6"},{"url":"https://api.github.com/repos/idea2-platform/pepito-test/labels/type/bug","name":"type/bug","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"lefunes","id":219467,"avatar_url":"https://avatars.githubusercontent.com/u/219467?v=3","gravatar_id":"","url":"https://api.github.com/users/lefunes","html_url":"https://github.com/lefunes","followers_url":"https://api.github.com/users/lefunes/followers","following_url":"https://api.github.com/users/lefunes/following{/other_user}","gists_url":"https://api.github.com/users/lefunes/gists{/gist_id}","starred_url":"https://api.github.com/users/lefunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lefunes/subscriptions","organizations_url":"https://api.github.com/users/lefunes/orgs","repos_url":"https://api.github.com/users/lefunes/repos","events_url":"https://api.github.com/users/lefunes/events{/privacy}","received_events_url":"https://api.github.com/users/lefunes/received_events","type":"User","site_admin":false},"assignees":[{"login":"lefunes","id":219467,"avatar_url":"https://avatars.githubusercontent.com/u/219467?v=3","gravatar_id":"","url":"https://api.github.com/users/lefunes","html_url":"https://github.com/lefunes","followers_url":"https://api.github.com/users/lefunes/followers","following_url":"https://api.github.com/users/lefunes/following{/other_user}","gists_url":"https://api.github.com/users/lefunes/gists{/gist_id}","starred_url":"https://api.github.com/users/lefunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lefunes/subscriptions","organizations_url":"https://api.github.com/users/lefunes/orgs","repos_url":"https://api.github.com/users/lefunes/repos","events_url":"https://api.github.com/users/lefunes/events{/privacy}","received_events_url":"https://api.github.com/users/lefunes/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/idea2-platform/pepito-test/milestones/94","html_url":"https://github.com/idea2-platform/pepito-test/milestones/iteration%2031","labels_url":"https://api.github.com/repos/idea2-platform/pepito-test/milestones/94/labels","id":1896928,"number":94,"title":"iteration 31","description":"","creator":{"login":"dgaviola","id":190500,"avatar_url":"https://avatars.githubusercontent.com/u/190500?v=3","gravatar_id":"","url":"https://api.github.com/users/dgaviola","html_url":"https://github.com/dgaviola","followers_url":"https://api.github.com/users/dgaviola/followers","following_url":"https://api.github.com/users/dgaviola/following{/other_user}","gists_url":"https://api.github.com/users/dgaviola/gists{/gist_id}","starred_url":"https://api.github.com/users/dgaviola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgaviola/subscriptions","organizations_url":"https://api.github.com/users/dgaviola/orgs","repos_url":"https://api.github.com/users/dgaviola/repos","events_url":"https://api.github.com/users/dgaviola/events{/privacy}","received_events_url":"https://api.github.com/users/dgaviola/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"closed","created_at":"2016-07-21T15:35:57Z","updated_at":"2016-08-02T15:32:31Z","due_on":null,"closed_at":"2016-07-21T15:35:57Z"},"comments":0,"created_at":"2016-08-02T15:32:31Z","updated_at":"2016-08-02T15:32:32Z","closed_at":null,"body":"Sounds like there are issues to send attachments to JIRA in the integration we have with CRM. The following error was seen in the logs:\r\n\r\n```\r\n2014-10-06 12:09:16,253 <taskListenersExecutor-4> ERROR com.idea2.logic.scripts.ScriptHelpers - [anonymous] Error executing script\r\njava.lang.NullPointerException\r\n        at com.idea2.db.entities.types.FileUploadType.validate(FileUploadType.java:134)\r\n        at com.idea2.db.entities.types.EntityFieldType.validate(EntityFieldType.java:528)\r\n        at com.idea2.logic.data.DataValidationService.validateFieldByType(DataValidationService.java:213)\r\n        at com.idea2.logic.data.DataValidationService.validateRecursive(DataValidationService.java:132)\r\n        at com.idea2.logic.data.DataValidationService.validate(DataValidationService.java:62)\r\n        at com.idea2.logic.data.DataManipulationService.updateData(DataManipulationService.java:657)\r\n        at com.idea2.logic.scripts.ScriptHelpers$5.execute(ScriptHelpers.java:259)\r\n        at com.idea2.logic.scripts.ScriptHelpers.execute(ScriptHelpers.java:677)\r\n        at com.idea2.logic.scripts.ScriptHelpers.updateData(ScriptHelpers.java:234)\r\n        at com.idea2.logic.scripts.BaseScriptContext.updateData(BaseScriptContext.java:137)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n        at java.lang.reflect.Method.invoke(Method.java:606)\r\n        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:126)\r\n        at org.mozilla.javascript.FunctionObject.call(FunctionObject.java:449)\r\n        at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:63)\r\n        at org.mozilla.javascript.gen.api*js_1._c_anonymous*73(api.js:883)\r\n        at org.mozilla.javascript.gen.api*js*1.call(api.js)\r\n        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)\r\n        at org.mozilla.javascript.gen.appScripts*js_3._c_anonymous*19(appScripts.js:204)\r\n        at org.mozilla.javascript.gen.appScripts*js*3.call(appScripts.js)\r\n        at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)\r\n        at org.mozilla.javascript.gen.api*js_1._c_anonymous*71(api.js:838)\r\n        at org.mozilla.javascript.gen.api*js*1.call(api.js)\r\n        at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)\r\n        at org.mozilla.javascript.gen.appScripts*js_3._c_anonymous*17(appScripts.js:181)\r\n        at org.mozilla.javascript.gen.appScripts*js*3.call(appScripts.js)\r\n        at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)\r\n        at org.mozilla.javascript.gen.appScripts*js_3._c_anonymous*20(appScripts.js:213)\r\n        at org.mozilla.javascript.gen.appScripts*js*3.call(appScripts.js)\r\n        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1473)\r\n        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:815)\r\n        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:109)\r\n        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)\r\n        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)\r\n        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:120)\r\n        at org.mozilla.javascript.Context.evaluateString(Context.java:1079)\r\n        at com.idea2.logic.scripts.ScriptsExecutionScope.executeScript(ScriptsExecutionScope.java:516)\r\n        at com.idea2.logic.scripts.ScriptsExecutionScope.callIntegrationPointAction(ScriptsExecutionScope.java:337)\r\n        at com.idea2.logic.integrations.InboundEventsProcessor$1.execute(InboundEventsProcessor.java:248)\r\n        at com.idea2.logic.scripts.ScriptsService.execute(ScriptsService.java:116)\r\n        at com.idea2.logic.integrations.InboundEventsProcessor.processIntegrationPoints(InboundEventsProcessor.java:245)\r\n        at com.idea2.logic.integrations.InboundEventsProcessor.access$8(InboundEventsProcessor.java:219)\r\n        at com.idea2.logic.integrations.InboundEventsProcessor$InboundEventTask.run(InboundEventsProcessor.java:163)\r\n        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n```\n\n**lefunes added a comment - Mon Oct 06 2014 15:43:47 GMT-0000 (UTC)**\n\nThis error occurs when an script executes a \"updateData\" over an object with a not null file field and the current user is null.\n"}}
{"actor":{"display_login":"idea2-pepito"}}