{"id":2134,"date":"2017-12-07T11:09:51","date_gmt":"2017-12-07T11:09:51","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=2134"},"modified":"2020-01-09T09:45:04","modified_gmt":"2020-01-09T09:45:04","slug":"missing-expected-character-at-byte-0-found","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/missing-expected-character-at-byte-0-found\/","title":{"rendered":"Missing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221;"},"content":{"rendered":"<p><strong>scmuser created the topic: Missing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221;<\/strong><br \/>\nI am getting following error while accessing lib in buildforge&#8230;<br \/>\nMissing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221;<\/p>\n<p><strong>rajeshkumar replied the topic: Missing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221;<\/strong><br \/>\nYou may export the troublesome project by using bfexport command then re-import the project from GUI.<\/p>\n<p>Note given by Ed Munoz &#8211; I also noticed that the access groups get reset. The product, at the particular time, can not import the access groups. So, watch out, you must login as root to be able to see all objects and reset the access groups back to what they were originally.<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>rajeshkumar replied the topic: Missing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221;<\/strong><br \/>\nOne found on <a href=\"http:\/\/www-01.ibm.com\/support\/docview.wss?uid=swg21427225\" target=\"_blank\" rel=\"noopener\">www-01.ibm.com\/support\/docview.wss?uid=swg21427225<\/a> <\/p>\n<p>Cause<\/p>\n<p>The root cause is from a PHP parsing error. When a user logs-in or select a page from within the Build Forge UI the following applies to from the page (these may effect how the page is formed).<\/p>\n<p>Group Access<br \/>\nLanguage setting<br \/>\nLicense<br \/>\nUser preferences<br \/>\nUI filters<\/p>\n<p>Diagnosing the problem<\/p>\n<p>When diagnosing this problem, check and rule out each possible cause one by one.<\/p>\n<p>Resolving the problem<\/p>\n<p>1. Group Access<br \/>\nDoes the user or users have the correct access to the page they are receiving the error from?<br \/>\nAre the users or user in a group that is unique or different from the rest?<br \/>\nIf they have the correct access and they are not in a unique group, you may be able to rule this out as a possible cause.<\/p>\n<p>2. Language setting<br \/>\nIs this user language setting unique or different from working users?<\/p>\n<p>3. License<br \/>\nIs the user getting a license?<\/p>\n<p>4. User Preferences<br \/>\nYou can look to see if the there is any unusual in the users preferences by queering the database:<br \/>\nIf you do not know the user&#8217;s ID you can run the following to get that information<br \/>\nselect * from bf_users where bf_login=&#8217;<log-in of user>&#8216;;<br \/>\nOnce you have user ID you can run the following to view the User Preferences<br \/>\nselect * from bf_preferences where bf_user_id=&#8217;<user id>&#8216;;<br \/>\nIf you are unsure if there is something unusual you can compare them to a user that is not having this issue.<br \/>\nThis table is transitive and can be rebuilt on the fly. So if we suspect this to be cause we can delete the users preferences by:<\/p>\n<p>delete from bf_preferences where bf_user_id=&#8217;<user id>&#8216;;<br \/>\ncommit;<\/p>\n<p>5. UI filters<br \/>\nDoes the user have any unusual filters to the page or pages getting the error?<br \/>\nWe can view the user&#8217;s filters by using the following query:<br \/>\nselect * from bf_uifilters where bf_user_id=&#8217;<user id>&#8216;;<br \/>\nAgain this table is transitive and will be rebuilt on the fly. If we suspect that this could be the issue we can delete the user&#8217;s UI filters by using the following query:<\/p>\n<p>delete from bf_uifilters where bf_user_id=&#8217;<user id>&#8216;;<br \/>\ncommit;<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>scmuser created the topic: Missing expected character &#8220;[&#8221; at byte 0 &#8211; found &#8220;&#8221; I am getting following error while accessing lib in buildforge&#8230; Missing expected character &#8220;[&#8221; at byte&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[2],"tags":[447],"class_list":["post-2134","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-character"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2134"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2134\/revisions"}],"predecessor-version":[{"id":2135,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/2134\/revisions\/2135"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}