java.lang.IllegalStateException: Parsed JSON <{"content":[{"id":"article_accurest::1","title":"test title","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.433Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"},{"id":"article_accurest::3","title":"test game","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.451Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"}],"totalPages":1,"totalElements":2,"last":true,"size":20,"number":0,"sort":null,"numberOfElements":2,"first":true}> doesn't have the size <3> for JSON path <$.content[*].tags[*]>. The size is <6>

GitHub | marcingrzejszczak | 5 months ago
  1. 0

    GitHub comment 10#231680877

    GitHub | 5 months ago | marcingrzejszczak
    java.lang.IllegalStateException: Parsed JSON <{"content":[{"id":"article_accurest::1","title":"test title","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.433Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"},{"id":"article_accurest::3","title":"test game","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.451Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"}],"totalPages":1,"totalElements":2,"last":true,"size":20,"number":0,"sort":null,"numberOfElements":2,"first":true}> doesn't have the size <3> for JSON path <$.content[*].tags[*]>. The size is <6>
  2. 0

    GitHub comment 4565#153942295

    GitHub | 1 year ago | damithc
    java.lang.IllegalStateException: Not a valid login page :<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"><head> <title>TEAMMATES - Administrator</title> <link href="/favicon.png" rel="shortcut icon" /> <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" /> <meta content="width=device-width, initial-scale=1.0" name="viewport" /> <link rel="stylesheet" href="/bootstrap/css/bootstrap.min.css" type="text/css" /> <link rel="stylesheet" href="/bootstrap/css/bootstrap-theme.min.css" type="text/css" /> <link rel="stylesheet" href="/stylesheets/teammatesCommon.css" type="text/css" /> <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> <![endif]--> <script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script><script src="/js/googleAnalytics.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" type="text/javascript"></script> <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/jquery-ui.min.js" type="text/javascript"></script> <script src="/js/common.js" type="text/javascript"></script> <script src="/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <noscript> &lt;div id="noscript-warning"&gt; &lt;h1&gt; TEAMMATES works best with JavaScript enabled. &lt;br&gt; You may enable it in your browser by following steps below. &lt;/h1&gt; &lt;div&gt; &lt;ul id="nav"&gt; &lt;li&gt;&lt;a href="#ie"&gt;Internet Explorer&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#firefox"&gt;Mozilla Firefox&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#safari"&gt;Safari&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#opera"&gt;Opera&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="#chrome"&gt;Chrome&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/div&gt; &lt;div id=content&gt; &lt;div id=ie&gt; &lt;h1&gt;Internet Explorer&lt;/h1&gt; Please complete the following instructions to activate and enable JavaScript in Internet Explorer. &lt;h3&gt;PC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;In the Tools drop-down menu, select Internet Options.&lt;/li&gt; &lt;li&gt;Next, select the Security tab.&lt;/li&gt; &lt;li&gt;Then, select the earth (Internet) icon.&lt;/li&gt; &lt;li&gt;Then select the Custom Level button.&lt;/li&gt; &lt;li&gt;Locate Scripting near the bottom of the list.&lt;/li&gt; &lt;li&gt;Under Active Scripting, select Enable, then hit OK.&lt;/li&gt; &lt;li&gt;Answer yes to the following conformation box.&lt;/li&gt; &lt;li&gt;Hit OK to close the Internet Options window.&lt;/li&gt; &lt;li&gt;Finally, hit refresh on your browser window to enjoy the javascript.&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;div id=firefox&gt; &lt;h1&gt;Firefox&lt;/h1&gt; Please complete the following instructions to activate and enable JavaScript in Firefox &lt;h3&gt;PC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;In the Tools drop-down menu, select Options.&lt;/li&gt; &lt;li&gt;Next, select the Content icon/tab at the top on the window.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox under the Web Content category.&lt;/li&gt; &lt;li&gt;Hit OK to close the Options window and save your changes.&lt;/li&gt; &lt;li&gt;Finally, Refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;h3&gt;MAC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Select the Firefox menu item from the Apple/System bar at the top of the screen.&lt;/li&gt; &lt;li&gt;From the drop-down menu, select Preferences...&lt;/li&gt; &lt;li&gt;Select the Content icon/tab at the top on the window.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox.&lt;/li&gt; &lt;li&gt;Close the Options window to save your changes.&lt;/li&gt; &lt;li&gt;Finally, refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;div id=safari&gt; &lt;h1&gt;Safari&lt;/h1&gt; Please complete the following instructions to activate and enable JavaScript in Safari. &lt;h3&gt;PC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;In the Edit drop-down menu at the top of the window, select Preferences...&lt;/li&gt; &lt;li&gt;Select the Security icon/tab at the top on the window.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox.&lt;/li&gt; &lt;li&gt;Close the window to save your changes.&lt;/li&gt; &lt;li&gt;Finally, Refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;h3&gt;MAC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Select the Safari menu item from the Apple/System bar at the top of the screen.&lt;/li&gt; &lt;li&gt;From the drop-down menu, select Preferences.&lt;/li&gt; &lt;li&gt;Select the Content icon/tab at the top of the window.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox.&lt;/li&gt; &lt;li&gt;Close the window to save your changes.&lt;/li&gt; &lt;li&gt;Finally, refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;div id=opera&gt; &lt;h1&gt;Opera&lt;/h1&gt; Please complete the following instructions to activate and enable JavaScript in Opera. &lt;h3&gt;PC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;In the Tools drop-down menu at the top of the window, select Preferences...&lt;/li&gt; &lt;li&gt;Select the Advanced tab at the top on the Preferences window.&lt;/li&gt; &lt;li&gt;Find the Content item in the list on the left-side of the window and select it.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox.&lt;/li&gt; &lt;li&gt;Click OK to save your changes and close the Preferences window. Finally, Refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;h3&gt;MAC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Select the Safari menu item from the Apple/System bar at the top of the screen.&lt;/li&gt; &lt;li&gt;From the drop-down menu, select Preferences.&lt;/li&gt; &lt;li&gt;Select the Content icon/tab at the top of the Preferences window.&lt;/li&gt; &lt;li&gt;Then, check the Enable JavaScript checkbox.&lt;/li&gt; &lt;li&gt;Click OK to save your changes and close the Preferences window.&lt;/li&gt; &lt;li&gt;Finally, refresh your browser.&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;div id=chrome&gt; &lt;h1&gt;Chrome&lt;/h1&gt; Please complete the following instructions to activate and enable JavaScript in Chrome. &lt;h3&gt;PC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Select Customize and control Google Chrome (wrench Icon) to the right of the address bar.&lt;/li&gt; &lt;li&gt;From the drop-down menu, select Options Select the Under the Hood tab at the top of the window.&lt;/li&gt; &lt;li&gt;Under the Privacy heading, select the Content settings button.&lt;/li&gt; &lt;li&gt;On the left, under the features heading, select JavaScript.&lt;/li&gt; &lt;li&gt;Select the Allow all sites to run JavaScript radio button.&lt;/li&gt; &lt;li&gt;Finally, close both preference windows, and refresh the browser.&lt;/li&gt; &lt;/ol&gt; &lt;h3&gt;MAC&lt;/h3&gt; &lt;ol&gt; &lt;li&gt;Select the Chrome menu item from the Apple/System bar at the top of the screen.&lt;/li&gt; &lt;li&gt;From the drop-down menu, select Preferences...&lt;/li&gt; &lt;li&gt;Select the Under the Hood tab at the top of the window.&lt;/li&gt; &lt;li&gt;Under the Privacy heading, select the Content settings button.&lt;/li&gt; &lt;li&gt;On the left, under the features heading, select JavaScript.&lt;/li&gt; &lt;li&gt;Select the Allow all sites to run JavaScript radio button.&lt;/li&gt; &lt;li&gt;Finally, close both preference windows, and refresh the browser.&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; &lt;/div&gt; &lt;p&gt; As taken from: &lt;/p&gt; &lt;ol&gt; &lt;li&gt;&lt;a href="http://activatejavascript.org/en/instructions/"&gt;http://activatejavascript.org/en/instructions/&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="http://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-pages"&gt; http://support.mozilla.org/en-US/kb/javascript-settings-for-interactive-web-page&lt;/a&gt;&lt;/li&gt; &lt;/ol&gt; &lt;/div&gt; </noscript> <script src="/js/adminEmail.js" type="text/javascript"></script> <script src="/tinymce/js/tinymce/tinymce.min.js" type="text/javascript"></script> <link rel="stylesheet" href="https://5-60-dot-teammatesv4.appspot.com/tinymce/js/tinymce/skins/lightgray/skin.min.css" /></head> <body> <div role="navigation" class="navbar navbar-inverse navbar-fixed-top" style="z-index: 0;"> <div class="container"> <div class="navbar-header"> <button data-target=".navbar-collapse" data-toggle="collapse" class="navbar-toggle" type="button"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a href="/index.html" class="navbar-brand">TEAMMATES</a> </div> <div id="contentLinks" class="collapse navbar-collapse"> <ul class="nav navbar-nav"> <li> <a href="/admin/adminHomePage">Create Instructor</a> </li> <li> <a href="/admin/adminAccountManagementPage">Account Management</a> </li> <li> <a href="/admin/adminSearchPage">Search</a> </li> <li> <a href="/admin/adminActivityLogPage">Activity Log</a> </li> <li> <a href="/admin/adminSessionsPage">Sessions</a> </li> <li class="active dropdown"> <a aria-expanded="false" role="button" data-toggle="dropdown" class="dropdown-toggle" href="#"> Email <span class="caret"></span> </a> <ul role="menu" class="dropdown-menu"> <li> <a href="/admin/adminEmailComposePage">Email</a> </li> <li class="divider"></li> <li> <a href="/admin/adminEmailLogPage">Email Log</a> </li> </ul> </li> </ul> <ul class="nav navbar-nav pull-right"> <li> <a href="/logout.jsp" class="nav logout"> <span class="glyphicon glyphicon-user"></span> Logout (<span title="" data-placement="bottom" data-toggle="tooltip" class="text-info" data-original-title="teammatesowner"> teammatesowner </span>) </a> </li> </ul> </div> </div> </div> <div id="mainContent" class="container"> <div id="topOfPage"></div> <h1>Admin Email</h1> <br /> <ul class="nav nav-tabs"> <li class="active" role="presentation"> <a href="/admin/adminEmailComposePage">Compose</a> </li> <li class="" role="presentation"> <a href="/admin/adminEmailSentPage">Sent</a> </li> <li class="" role="presentation"> <a href="/admin/adminEmailDraftPage">Draft</a> </li> <li class="" role="presentation"> <a href="/admin/adminEmailTrashPage">Trash</a> </li> </ul> <br /> <br /> <div id="adminEmailCompose"> <form method="post" action="/admin/adminEmailComposeSend" id="adminEmailMainForm"> To : <div class="row"> <div class="col-md-11"> <input type="text" value="" maxlength="500" placeholder="example1@email.com,example2@email.com..." name="adminemailaddressreceivers" class="form-control" id="addressReceiverEmails" /> <input type="text" value="" name="adminemailgroupreceiverlistfilekey" class="form-control" id="groupReceiverListFileKey" style="display:none;" /> </div> <div class="col-md-1 border-left-gray"> <button id="adminEmailGroupReceiverListUploadButton" class="btn btn-info" type="button"> <strong>Upload</strong> </button> </div> </div> <br /> Subject : <input type="text" value="" name="emailsubject" class="form-control" /> <br /> <p> <div role="application" tabindex="-1" hidefocus="1" class="mce-tinymce mce-container mce-panel" id="mceu_24" style="visibility: hidden; border-width: 1px;"><div class="mce-container-body mce-stack-layout" id="mceu_24-body"><div role="menubar" class="mce-container mce-menubar mce-toolbar mce-first mce-stack-layout-item" id="mceu_25" style="border-width: 0px 0px 1px;"><div class="mce-container-body mce-flow-layout" id="mceu_25-body"><div aria-labelledby="mceu_26" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-first mce-flow-layout-item" id="mceu_26" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_26-open"><span>File</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_27" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-flow-layout-item" id="mceu_27" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_27-open"><span>Edit</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_28" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-flow-layout-item" id="mceu_28" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_28-open"><span>Insert</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_29" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-flow-layout-item" id="mceu_29" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_29-open"><span>View</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_30" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-flow-layout-item" id="mceu_30" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_30-open"><span>Format</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_31" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-flow-layout-item" id="mceu_31" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_31-open"><span>Table</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_32" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-last mce-flow-layout-item" id="mceu_32" role="menuitem" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_32-open"><span>Tools</span> <i class="mce-caret"></i></button></div></div></div><div role="group" tabindex="-1" hidefocus="1" class="mce-toolbar-grp mce-container mce-panel mce-stack-layout-item" id="mceu_33"><div class="mce-container-body mce-stack-layout" id="mceu_33-body"><div role="toolbar" class="mce-container mce-toolbar mce-first mce-stack-layout-item" id="mceu_34"><div class="mce-container-body mce-flow-layout" id="mceu_34-body"><div class="mce-container mce-first mce-flow-layout-item mce-btn-group" id="mceu_35" role="group"><div id="mceu_35-body"><div aria-labelledby="mceu_0" tabindex="-1" class="mce-widget mce-btn mce-first mce-disabled" id="mceu_0" role="button" aria-label="Undo" aria-disabled="true"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-undo"></i></button></div><div aria-labelledby="mceu_1" tabindex="-1" class="mce-widget mce-btn mce-last mce-disabled" id="mceu_1" role="button" aria-label="Redo" aria-disabled="true"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-redo"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_36" role="group"><div id="mceu_36-body"><div aria-labelledby="mceu_2" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-first mce-last" id="mceu_2" role="button" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_2-open"><span>Formats</span> <i class="mce-caret"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_37" role="group"><div id="mceu_37-body"><div aria-labelledby="mceu_3" tabindex="-1" class="mce-widget mce-btn mce-first" id="mceu_3" role="button" aria-label="Bold"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-bold"></i></button></div><div aria-labelledby="mceu_4" tabindex="-1" class="mce-widget mce-btn" id="mceu_4" role="button" aria-label="Italic"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-italic"></i></button></div><div aria-labelledby="mceu_5" tabindex="-1" class="mce-widget mce-btn mce-last" id="mceu_5" role="button" aria-label="Underline"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-underline"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_38" role="group"><div id="mceu_38-body"><div aria-labelledby="mceu_6" tabindex="-1" class="mce-widget mce-btn mce-first" id="mceu_6" role="button" aria-label="Align left"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-alignleft"></i></button></div><div aria-labelledby="mceu_7" tabindex="-1" class="mce-widget mce-btn" id="mceu_7" role="button" aria-label="Align center"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-aligncenter"></i></button></div><div aria-labelledby="mceu_8" tabindex="-1" class="mce-widget mce-btn" id="mceu_8" role="button" aria-label="Align right"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-alignright"></i></button></div><div aria-labelledby="mceu_9" tabindex="-1" class="mce-widget mce-btn mce-last" id="mceu_9" role="button" aria-label="Justify"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-alignjustify"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_39" role="group"><div id="mceu_39-body"><div tabindex="-1" role="button" class="mce-widget mce-btn mce-splitbtn mce-menubtn mce-first" id="mceu_10" aria-label="Bullet list" aria-haspopup="true"><button tabindex="-1" hidefocus="1" type="button"><i class="mce-ico mce-i-bullist"></i></button><button tabindex="-1" hidefocus="1" class="mce-open" type="button"> <i class="mce-caret"></i></button></div><div tabindex="-1" role="button" class="mce-widget mce-btn mce-splitbtn mce-menubtn" id="mceu_11" aria-label="Numbered list" aria-haspopup="true"><button tabindex="-1" hidefocus="1" type="button"><i class="mce-ico mce-i-numlist"></i></button><button tabindex="-1" hidefocus="1" class="mce-open" type="button"> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_12" tabindex="-1" class="mce-widget mce-btn" id="mceu_12" role="button" aria-label="Decrease indent"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-outdent"></i></button></div><div aria-labelledby="mceu_13" tabindex="-1" class="mce-widget mce-btn mce-last" id="mceu_13" role="button" aria-label="Increase indent" aria-disabled="false"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-indent"></i></button></div></div></div><div class="mce-container mce-last mce-flow-layout-item mce-btn-group" id="mceu_40" role="group"><div id="mceu_40-body"><div aria-labelledby="mceu_14" tabindex="-1" class="mce-widget mce-btn mce-first" id="mceu_14" role="button" aria-label="Insert/edit link"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-link"></i></button></div><div aria-labelledby="mceu_15" tabindex="-1" class="mce-widget mce-btn mce-last" id="mceu_15" role="button" aria-label="Insert/edit image"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-image"></i></button></div></div></div></div></div><div role="toolbar" class="mce-container mce-toolbar mce-last mce-stack-layout-item" id="mceu_41"><div class="mce-container-body mce-flow-layout" id="mceu_41-body"><div class="mce-container mce-first mce-flow-layout-item mce-btn-group" id="mceu_42" role="group"><div id="mceu_42-body"><div aria-labelledby="mceu_16" tabindex="-1" class="mce-widget mce-btn mce-first" id="mceu_16" role="button" aria-label="Print"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-print"></i></button></div><div aria-labelledby="mceu_17" tabindex="-1" class="mce-widget mce-btn mce-last" id="mceu_17" role="button" aria-label="Preview"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-preview"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_43" role="group"><div id="mceu_43-body"><div aria-haspopup="true" tabindex="-1" role="button" class="mce-widget mce-btn mce-colorbutton mce-first" id="mceu_18" aria-label="Text color"><button tabindex="-1" type="button" hidefocus="1" role="presentation"><i class="mce-ico mce-i-forecolor"></i><span class="mce-preview" id="mceu_18-preview"></span></button><button tabindex="-1" hidefocus="1" class="mce-open" type="button"> <i class="mce-caret"></i></button></div><div aria-haspopup="true" tabindex="-1" role="button" class="mce-widget mce-btn mce-colorbutton mce-last" id="mceu_19" aria-label="Background color"><button tabindex="-1" type="button" hidefocus="1" role="presentation"><i class="mce-ico mce-i-backcolor"></i><span class="mce-preview" id="mceu_19-preview"></span></button><button tabindex="-1" hidefocus="1" class="mce-open" type="button"> <i class="mce-caret"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_44" role="group"><div id="mceu_44-body"><div aria-labelledby="mceu_20" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-fixed-width mce-listbox mce-first" id="mceu_20" role="button" aria-label="Font Sizes" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_20-open"><span>Font Sizes</span> <i class="mce-caret"></i></button></div><div aria-labelledby="mceu_21" tabindex="-1" class="mce-widget mce-btn mce-menubtn mce-fixed-width mce-listbox mce-last" id="mceu_21" role="button" aria-label="Font Family" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation" id="mceu_21-open"><span>Font Family</span> <i class="mce-caret"></i></button></div></div></div><div class="mce-container mce-flow-layout-item mce-btn-group" id="mceu_45" role="group"><div id="mceu_45-body"><div aria-labelledby="mceu_22" tabindex="-1" class="mce-widget mce-btn mce-first mce-last" id="mceu_22" role="button" aria-label="Emoticons" aria-haspopup="true"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-emoticons"></i></button></div></div></div><div class="mce-container mce-last mce-flow-layout-item mce-btn-group" id="mceu_46" role="group"><div id="mceu_46-body"><div aria-labelledby="mceu_23" tabindex="-1" class="mce-widget mce-btn mce-first mce-last" id="mceu_23" role="button" aria-label="Fullscreen"><button tabindex="-1" type="button" role="presentation"><i class="mce-ico mce-i-fullscreen"></i></button></div></div></div></div></div></div></div><div role="group" tabindex="-1" hidefocus="1" class="mce-edit-area mce-container mce-panel mce-stack-layout-item" id="mceu_47" style="border-width: 1px 0px 0px;"><iframe frameborder="0" id="adminEmailBox_ifr" allowtransparency="true" title="Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help" style="width: 100%; height: 223px; display: block;" src='javascript:""'></iframe></div><div role="group" tabindex="-1" hidefocus="1" class="mce-statusbar mce-container mce-panel mce-last mce-stack-layout-item" id="mceu_48" style="border-width: 1px 0px 0px;"><div class="mce-container-body mce-flow-layout" id="mceu_48-body"><div class="mce-path mce-flow-layout-item mce-first" id="mceu_49"><div aria-level="0" id="mceu_49-0" tabindex="-1" data-index="0" class="mce-path-item mce-last" role="button">p</div></div><label class="mce-wordcount mce-widget mce-label mce-flow-layout-item" id="mceu_51">Words: 0</label><div class="mce-flow-layout-item mce-resizehandle mce-last" id="mceu_50"><i class="mce-ico mce-i-resize"></i></div></div></div></div></div><textarea rows="10" name="emailcontent" id="adminEmailBox" cols="80" style="display: none;" aria-hidden="true"> </textarea> </p> <p> <button onclick="$('#adminEmailMainForm').submit();" id="composeSubmitButton" type="button">Send</button> <button id="composeSaveButton" type="button">save</button> </p> </form> <div style="display:none;" id="adminEmailGroupReceiverListUploadBox"> <form enctype="multipart/form-data" method="POST" action="" id="adminEmailReceiverListForm"> <span id="adminEmailGroupReceiverListInput"> <input type="file" id="adminEmailGroupReceiverList" name="emailgroupreceiverlisttoupload" /> </span> </form> </div> <div style="display: none;"> <form enctype="multipart/form-data" method="POST" action="" id="adminEmailFileForm"> <span id="adminEmailFileInput"> <input type="file" id="adminEmailFile" name="emailimagetoupload" /> </span> </form> <div id="documentBaseUrl">http://teammatesv4.appspot.com</div> </div> </div> <div style="display: none;" id="statusMessage"></div> </div> <div class="container-fluid" id="footerComponent"> <div class="container"> <div class="row"> <div class="col-md-2"> <span>[<a href="/index.html">TEAMMATES</a> V5.60]</span> </div> <div id="adminInstitute" class="col-md-8"> </div> <div class="col-md-2"> <span>[Send <a target="_blank" href="../contact.html" class="link">Feedback</a>]</span> </div> </div> </div> </div> </body></html>
  3. 0

    GitHub comment 684#220771569

    GitHub | 7 months ago | vasylholovchak93
    java.lang.IllegalStateException: Expected response body to be verified as JSON, HTML or XML but content-type 'text/json' is not supported out of the box. Try registering a custom parser using: RestAssured.registerParser("text/json", <parser type>); Content was: {"test":true}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    dynamically generated tabs??

    Oracle Community | 1 decade ago | 843842
    java.lang.IllegalStateException: test

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Parsed JSON <{"content":[{"id":"article_accurest::1","title":"test title","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.433Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"},{"id":"article_accurest::3","title":"test game","lead":"test lead","leadPhoto":{"url":"http://grey.png","alt":"Sasha photo","title":"Sasha Grey"},"content":"test content","tags":["tag1","tag2","tag3"],"createdDate":null,"createdBy":null,"modifiedDate":"2016-07-06T08:10:22.451Z","modifiedBy":"accurest_editor","publishDate":"2018-05-17T12:32:28Z","status":"DRAFT","bioId":"test-bio-id"}],"totalPages":1,"totalElements":2,"last":true,"size":20,"number":0,"sort":null,"numberOfElements":2,"first":true}> doesn't have the size <3> for JSON path <$.content[*].tags[*]>. The size is <6>

      at com.toomuchcoding.jsonassert.JsonAsserter.hasSize()
    2. com.toomuchcoding.jsonassert
      JsonAsserter.hasSize
      1. com.toomuchcoding.jsonassert.JsonAsserter.hasSize(JsonAsserter.java:244)
      1 frame