{"action":"closed","issue":{"url":"https://api.github.com/repos/anjlab/eclipse-tapestry5-plugin/issues/21","labels_url":"https://api.github.com/repos/anjlab/eclipse-tapestry5-plugin/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/anjlab/eclipse-tapestry5-plugin/issues/21/comments","events_url":"https://api.github.com/repos/anjlab/eclipse-tapestry5-plugin/issues/21/events","html_url":"https://github.com/anjlab/eclipse-tapestry5-plugin/issues/21","id":54787431,"number":21,"title":"NullPointer in AssetReference when opening a source file","user":{"login":"kaosko","id":408889,"avatar_url":"https://avatars.githubusercontent.com/u/408889?v=3","gravatar_id":"","url":"https://api.github.com/users/kaosko","html_url":"https://github.com/kaosko","followers_url":"https://api.github.com/users/kaosko/followers","following_url":"https://api.github.com/users/kaosko/following{/other_user}","gists_url":"https://api.github.com/users/kaosko/gists{/gist_id}","starred_url":"https://api.github.com/users/kaosko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaosko/subscriptions","organizations_url":"https://api.github.com/users/kaosko/orgs","repos_url":"https://api.github.com/users/kaosko/repos","events_url":"https://api.github.com/users/kaosko/events{/privacy}","received_events_url":"https://api.github.com/users/kaosko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-01-19T16:56:27Z","updated_at":"2015-05-08T08:22:50Z","closed_at":"2015-05-08T08:22:50Z","body":"I'm regularly getting a NullPointerException just when I open a .java file for a page in Tapestry5 project. Things still seem to work fine after the initial exception. It seems that this started happening when I updated this plugin or some of the underlying components to a new version. I'm using Luna Service Release 1 (4.4.1), \"Tapestry5 Support\" version 2.6.3 (basic + additional for Eclipse4) and many other plugins.\r\n\r\n```\r\n!ENTRY org.eclipse.core.jobs 4 2 2015-01-19 08:40:24.797\r\n!MESSAGE An internal error occurred during: \"Eclipse Integration for Tapestry5\".\r\n!STACK 0\r\njava.lang.NullPointerException\r\n\tat com.anjlab.eclipse.tapestry5.AssetReference.<init>(AssetReference.java:13)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.processImportedFile(TapestryContext.java:298)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.processImport(TapestryContext.java:266)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.access$1(TapestryContext.java:260)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext$3.run(TapestryContext.java:246)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.analyzeCompilationUnit(TapestryContext.java:156)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.addImports(TapestryContext.java:224)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.analyzeCompilationUnit(TapestryContext.java:138)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.initFromJavaOrTemplateFile(TapestryContext.java:419)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryContext.initFromFile(TapestryContext.java:120)\r\n\tat com.anjlab.eclipse.tapestry5.LocalTapestryContext.<init>(LocalTapestryContext.java:32)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryUtils.createTapestryContext(TapestryUtils.java:229)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryModule$6.callback(TapestryModule.java:769)\r\n\tat com.anjlab.eclipse.tapestry5.LocalTapestryModule.enumJavaClassesRecursively(LocalTapestryModule.java:89)\r\n\tat com.anjlab.eclipse.tapestry5.LocalTapestryModule.enumJavaClassesRecursively(LocalTapestryModule.java:65)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryModule.enumJavaClassesRecursively(TapestryModule.java:753)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryModule.findComponents(TapestryModule.java:739)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryModule.initialize(TapestryModule.java:133)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryProject.addModule(TapestryProject.java:410)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryProject.addModule(TapestryProject.java:387)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryProject.findModules(TapestryProject.java:274)\r\n\tat com.anjlab.eclipse.tapestry5.TapestryProject.initialize(TapestryProject.java:121)\r\n\tat com.anjlab.eclipse.tapestry5.watchdog.TapestryProjectWatchdog$TapestryProjectAnalyzerJob.run(TapestryProjectWatchdog.java:85)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\n```"}}