{"id":701,"date":"2010-01-07T15:15:32","date_gmt":"2010-01-07T15:15:32","guid":{"rendered":"http:\/\/salientsoft.co.uk\/?p=701"},"modified":"2011-11-17T13:28:18","modified_gmt":"2011-11-17T13:28:18","slug":"eclipse-error-on-opening-jspx-with-web-page-editor","status":"publish","type":"post","link":"https:\/\/salientsoft.co.uk\/?p=701","title":{"rendered":"Eclipse error on opening jsf\/jspx page with web page editor"},"content":{"rendered":"<p>I have run in to an issue with Eclipse (Galileo 3.5.1) when opening a jsf page with the web page editor &#8211; I get the error:-<\/p>\n<p>&#8220;Could not open the editor: null argument:&#8221;<\/p>\n<p>I tried the <strong>-clean <\/strong> flag on startup as per <strong><a title=\"http:\/\/salientsoft.co.uk\/?p=98\" href=\"http:\/\/salientsoft.co.uk\/?p=98\">this post<\/a><\/strong> but this did not fix the problem. I also tried deleting <strong><a title=\"http:\/\/salientsoft.co.uk\/?p=65\" href=\"http:\/\/salientsoft.co.uk\/?p=65\">this metadata file<\/a> <\/strong>but this had no effect in this case<\/p>\n<p>This appeared to be due to Eclipse disliking the syntax of some sections of the code I had commented out. In one case, adding the following comment:-<\/p>\n<p style=\"padding-left: 30px;\">&lt;!&#8211; \u00a0value=&#8221;#{appRoles.selected}&#8221; &#8211;&gt;<\/p>\n<p>caused the error to occur, and removing it caused the error to disappear. The cause was not always consistent &#8211; in another copy of this same page I had to delete a commented out table column to fix the problem:-<\/p>\n<p>In general, I think that certain usage of commented out sections can trip Eclipse up and cause the editor to fail. removing these causes the problem to disappear.<\/p>\n<p>Note that the error does not occur with the JSP editor, so this can be used instead or to edit the sections causing the problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have run in to an issue with Eclipse (Galileo 3.5.1) when opening a jsf page with the web page editor &#8211; I get the error:- &#8220;Could not open the editor: null argument:&#8221; I tried the -clean flag on startup as per this post but this did not fix the problem. I also tried deleting [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[12],"tags":[13,9],"_links":{"self":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/701"}],"collection":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=701"}],"version-history":[{"count":6,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/701\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/701\/revisions\/703"}],"wp:attachment":[{"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=701"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=701"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salientsoft.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=701"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}