Skip to content

Instantly share code, notes, and snippets.

@THUFIR
Created February 3, 2020 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save THUFIR/af13128364b8ac520e99afc62c8f6385 to your computer and use it in GitHub Desktop.
Save THUFIR/af13128364b8ac520e99afc62c8f6385 to your computer and use it in GitHub Desktop.
thufir@dur:~/NetBeansProjects/twitterBaseX$
thufir@dur:~/NetBeansProjects/twitterBaseX$ gradle clean build run
> Task :run FAILED
Feb. 02, 2020 10:30:23 P.M. basex.DatabaseHelper add
INFO: 1224083010015956992
Feb. 02, 2020 10:30:23 P.M. basex.DatabaseHelper add
INFO: {"metadata":{"result_type":"recent","iso_language_code":"en"},"in_reply_to_status_id_str":null,"in_reply_to_status_id":null,"created_at":"Sun Feb 02 21:31:46 +0000 2020","in_reply_to_user_id_str":null,"source":"<a href=\"https://mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/a>","retweeted_status":{"metadata":{"result_type":"recent","iso_language_code":"en"},"in_reply_to_status_id_str":null,"in_reply_to_status_id":null,"created_at":"Sun Feb 02 20:53:32 +0000 2020","in_reply_to_user_id_str":null,"source":"<a href=\"https://about.twitter.com/products/tweetdeck\" rel=\"nofollow\">TweetDeck<\/a>","retweet_count":3,"retweeted":false,"geo":null,"in_reply_to_screen_name":null,"is_quote_status":false,"id_str":"1224073388706189312","in_reply_to_user_id":null,"favorite_count":8,"id":1224073388706189312,"text":"Myth of the 10x programmer:\n\nhttps://t.co/7pLzNUfoEv\n\nI particularly like the list of productivity improvement \"tools\" at the end.","place":null,"lang":"en","favorited":false,"possibly_sensitive":false,"coordinates":null,"truncated":false,"entities":{"urls":[{"display_url":"insights.sei.cmu.edu/sei_blog/2020/\u2026","indices":[29,52],"expanded_url":"https://insights.sei.cmu.edu/sei_blog/2020/01/programmer-moneyball-challenging-the-myth-of-individual-programmer-productivity.html","url":"https://t.co/7pLzNUfoEv"}],"hashtags":[],"user_mentions":[],"symbols":[]},"contributors":null,"user":{"utc_offset":null,"friends_count":846,"profile_image_url_https":"https://pbs.twimg.com/profile_images/1162030624351444995/z2NEXgDN_normal.jpg","listed_count":22,"profile_background_image_url":"http://abs.twimg.com/images/themes/theme1/bg.png","default_profile_image":false,"favourites_count":911,"description":"Programmer, father, husband. Formerly part of the team behind Stack Overflow.","created_at":"Thu Jan 22 11:54:08 +0000 2015","is_translator":false,"profile_background_image_url_https":"https://abs.twimg.com/images/themes/theme1/bg.png","protected":false,"screen_name":"OdedCoster","id_str":"2991843333","profile_link_color":"89C9FA","is_translation_enabled":false,"translator_type":"none","id":2991843333,"geo_enabled":false,"profile_background_color":"000000","lang":null,"has_extended_profile":false,"profile_sidebar_border_color":"000000","profile_text_color":"000000","verified":false,"profile_image_url":"http://pbs.twimg.com/profile_images/1162030624351444995/z2NEXgDN_normal.jpg","time_zone":null,"url":"https://t.co/CGMoLJVExZ","contributors_enabled":false,"profile_background_tile":false,"entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"OdedCoster.com/blog","indices":[0,23],"expanded_url":"http://OdedCoster.com/blog","url":"https://t.co/CGMoLJVExZ"}]}},"statuses_count":3442,"follow_request_sent":false,"followers_count":781,"profile_use_background_image":false,"default_profile":false,"following":false,"name":"Oded Coster","location":"London, UK","profile_sidebar_fill_color":"000000","notifications":false}},"retweet_count":3,"retweeted":false,"geo":null,"in_reply_to_screen_name":null,"is_quote_status":false,"id_str":"1224083010015956992","in_reply_to_user_id":null,"favorite_count":0,"id":1224083010015956992,"text":"RT @OdedCoster: Myth of the 10x programmer:\n\nhttps://t.co/7pLzNUfoEv\n\nI particularly like the list of productivity improvement \"tools\" at t\u2026","place":null,"lang":"en","favorited":false,"possibly_sensitive":false,"coordinates":null,"truncated":false,"entities":{"urls":[{"display_url":"insights.sei.cmu.edu/sei_blog/2020/\u2026","indices":[45,68],"expanded_url":"https://insights.sei.cmu.edu/sei_blog/2020/01/programmer-moneyball-challenging-the-myth-of-individual-programmer-productivity.html","url":"https://t.co/7pLzNUfoEv"}],"hashtags":[],"user_mentions":[{"indices":[3,14],"screen_name":"OdedCoster","id_str":"2991843333","name":"Oded Coster","id":2991843333}],"symbols":[]},"contributors":null,"user":{"utc_offset":null,"friends_count":695,"profile_image_url_https":"https://pbs.twimg.com/profile_images/2316539047/y13vrqqe257qh7h9erb9_normal.png","listed_count":243,"profile_background_image_url":"http://abs.twimg.com/images/themes/theme1/bg.png","default_profile_image":false,"favourites_count":28688,"description":"Professional Software Developer. Amateur Futurist and Chart Critic. Math Enthusiast. I write static code analysis tools and 1st drafts of blog posts. he/him","created_at":"Tue Jul 28 14:37:29 +0000 2009","is_translator":false,"profile_background_image_url_https":"https://abs.twimg.com/images/themes/theme1/bg.png","protected":false,"screen_name":"lizardbill","id_str":"60919433","profile_link_color":"0E6E20","is_translation_enabled":false,"translator_type":"none","id":60919433,"geo_enabled":true,"profile_background_color":"9AC295","lang":null,"has_extended_profile":false,"profile_sidebar_border_color":"C7EDCC","profile_text_color":"543920","verified":false,"profile_image_url":"http://pbs.twimg.com/profile_images/2316539047/y13vrqqe257qh7h9erb9_normal.png","time_zone":null,"url":"https://t.co/ZJdVLoKjKc","contributors_enabled":false,"profile_background_tile":false,"profile_banner_url":"https://pbs.twimg.com/profile_banners/60919433/1542989249","entities":{"description":{"urls":[]},"url":{"urls":[{"display_url":"BillTheLizard.blogspot.com","indices":[0,23],"expanded_url":"http://www.BillTheLizard.blogspot.com","url":"https://t.co/ZJdVLoKjKc"}]}},"statuses_count":19300,"follow_request_sent":false,"followers_count":5315,"profile_use_background_image":false,"default_profile":false,"following":false,"name":"Bill the Lizard","location":"Charlotte, NC USA","profile_sidebar_fill_color":"9DD4A9","notifications":false}}
Feb. 02, 2020 10:30:23 P.M. basex.DatabaseHelper add
INFO: "{&quot;metadata&quot;:{&quot;result_type&quot;:&quot;recent&quot;,&quot;iso_language_code&quot;:&quot;en&quot;},&quot;in_reply_to_status_id_str&quot;:null,&quot;in_reply_to_status_id&quot;:null,&quot;created_at&quot;:&quot;Sun Feb 02 21:31:46 +0000 2020&quot;,&quot;in_reply_to_user_id_str&quot;:null,&quot;source&quot;:&quot;&lt;a href=\&quot;https://mobile.twitter.com\&quot; rel=\&quot;nofollow\&quot;&gt;Twitter Web App&lt;\/a&gt;&quot;,&quot;retweeted_status&quot;:{&quot;metadata&quot;:{&quot;result_type&quot;:&quot;recent&quot;,&quot;iso_language_code&quot;:&quot;en&quot;},&quot;in_reply_to_status_id_str&quot;:null,&quot;in_reply_to_status_id&quot;:null,&quot;created_at&quot;:&quot;Sun Feb 02 20:53:32 +0000 2020&quot;,&quot;in_reply_to_user_id_str&quot;:null,&quot;source&quot;:&quot;&lt;a href=\&quot;https://about.twitter.com/products/tweetdeck\&quot; rel=\&quot;nofollow\&quot;&gt;TweetDeck&lt;\/a&gt;&quot;,&quot;retweet_count&quot;:3,&quot;retweeted&quot;:false,&quot;geo&quot;:null,&quot;in_reply_to_screen_name&quot;:null,&quot;is_quote_status&quot;:false,&quot;id_str&quot;:&quot;1224073388706189312&quot;,&quot;in_reply_to_user_id&quot;:null,&quot;favorite_count&quot;:8,&quot;id&quot;:1224073388706189312,&quot;text&quot;:&quot;Myth of the 10x programmer:\n\nhttps://t.co/7pLzNUfoEv\n\nI particularly like the list of productivity improvement \&quot;tools\&quot; at the end.&quot;,&quot;place&quot;:null,&quot;lang&quot;:&quot;en&quot;,&quot;favorited&quot;:false,&quot;possibly_sensitive&quot;:false,&quot;coordinates&quot;:null,&quot;truncated&quot;:false,&quot;entities&quot;:{&quot;urls&quot;:[{&quot;display_url&quot;:&quot;insights.sei.cmu.edu/sei_blog/2020/\u2026&quot;,&quot;indices&quot;:[29,52],&quot;expanded_url&quot;:&quot;https://insights.sei.cmu.edu/sei_blog/2020/01/programmer-moneyball-challenging-the-myth-of-individual-programmer-productivity.html&quot;,&quot;url&quot;:&quot;https://t.co/7pLzNUfoEv&quot;}],&quot;hashtags&quot;:[],&quot;user_mentions&quot;:[],&quot;symbols&quot;:[]},&quot;contributors&quot;:null,&quot;user&quot;:{&quot;utc_offset&quot;:null,&quot;friends_count&quot;:846,&quot;profile_image_url_https&quot;:&quot;https://pbs.twimg.com/profile_images/1162030624351444995/z2NEXgDN_normal.jpg&quot;,&quot;listed_count&quot;:22,&quot;profile_background_image_url&quot;:&quot;http://abs.twimg.com/images/themes/theme1/bg.png&quot;,&quot;default_profile_image&quot;:false,&quot;favourites_count&quot;:911,&quot;description&quot;:&quot;Programmer, father, husband. Formerly part of the team behind Stack Overflow.&quot;,&quot;created_at&quot;:&quot;Thu Jan 22 11:54:08 +0000 2015&quot;,&quot;is_translator&quot;:false,&quot;profile_background_image_url_https&quot;:&quot;https://abs.twimg.com/images/themes/theme1/bg.png&quot;,&quot;protected&quot;:false,&quot;screen_name&quot;:&quot;OdedCoster&quot;,&quot;id_str&quot;:&quot;2991843333&quot;,&quot;profile_link_color&quot;:&quot;89C9FA&quot;,&quot;is_translation_enabled&quot;:false,&quot;translator_type&quot;:&quot;none&quot;,&quot;id&quot;:2991843333,&quot;geo_enabled&quot;:false,&quot;profile_background_color&quot;:&quot;000000&quot;,&quot;lang&quot;:null,&quot;has_extended_profile&quot;:false,&quot;profile_sidebar_border_color&quot;:&quot;000000&quot;,&quot;profile_text_color&quot;:&quot;000000&quot;,&quot;verified&quot;:false,&quot;profile_image_url&quot;:&quot;http://pbs.twimg.com/profile_images/1162030624351444995/z2NEXgDN_normal.jpg&quot;,&quot;time_zone&quot;:null,&quot;url&quot;:&quot;https://t.co/CGMoLJVExZ&quot;,&quot;contributors_enabled&quot;:false,&quot;profile_background_tile&quot;:false,&quot;entities&quot;:{&quot;description&quot;:{&quot;urls&quot;:[]},&quot;url&quot;:{&quot;urls&quot;:[{&quot;display_url&quot;:&quot;OdedCoster.com/blog&quot;,&quot;indices&quot;:[0,23],&quot;expanded_url&quot;:&quot;http://OdedCoster.com/blog&quot;,&quot;url&quot;:&quot;https://t.co/CGMoLJVExZ&quot;}]}},&quot;statuses_count&quot;:3442,&quot;follow_request_sent&quot;:false,&quot;followers_count&quot;:781,&quot;profile_use_background_image&quot;:false,&quot;default_profile&quot;:false,&quot;following&quot;:false,&quot;name&quot;:&quot;Oded Coster&quot;,&quot;location&quot;:&quot;London, UK&quot;,&quot;profile_sidebar_fill_color&quot;:&quot;000000&quot;,&quot;notifications&quot;:false}},&quot;retweet_count&quot;:3,&quot;retweeted&quot;:false,&quot;geo&quot;:null,&quot;in_reply_to_screen_name&quot;:null,&quot;is_quote_status&quot;:false,&quot;id_str&quot;:&quot;1224083010015956992&quot;,&quot;in_reply_to_user_id&quot;:null,&quot;favorite_count&quot;:0,&quot;id&quot;:1224083010015956992,&quot;text&quot;:&quot;RT @OdedCoster: Myth of the 10x programmer:\n\nhttps://t.co/7pLzNUfoEv\n\nI particularly like the list of productivity improvement \&quot;tools\&quot; at t\u2026&quot;,&quot;place&quot;:null,&quot;lang&quot;:&quot;en&quot;,&quot;favorited&quot;:false,&quot;possibly_sensitive&quot;:false,&quot;coordinates&quot;:null,&quot;truncated&quot;:false,&quot;entities&quot;:{&quot;urls&quot;:[{&quot;display_url&quot;:&quot;insights.sei.cmu.edu/sei_blog/2020/\u2026&quot;,&quot;indices&quot;:[45,68],&quot;expanded_url&quot;:&quot;https://insights.sei.cmu.edu/sei_blog/2020/01/programmer-moneyball-challenging-the-myth-of-individual-programmer-productivity.html&quot;,&quot;url&quot;:&quot;https://t.co/7pLzNUfoEv&quot;}],&quot;hashtags&quot;:[],&quot;user_mentions&quot;:[{&quot;indices&quot;:[3,14],&quot;screen_name&quot;:&quot;OdedCoster&quot;,&quot;id_str&quot;:&quot;2991843333&quot;,&quot;name&quot;:&quot;Oded Coster&quot;,&quot;id&quot;:2991843333}],&quot;symbols&quot;:[]},&quot;contributors&quot;:null,&quot;user&quot;:{&quot;utc_offset&quot;:null,&quot;friends_count&quot;:695,&quot;profile_image_url_https&quot;:&quot;https://pbs.twimg.com/profile_images/2316539047/y13vrqqe257qh7h9erb9_normal.png&quot;,&quot;listed_count&quot;:243,&quot;profile_background_image_url&quot;:&quot;http://abs.twimg.com/images/themes/theme1/bg.png&quot;,&quot;default_profile_image&quot;:false,&quot;favourites_count&quot;:28688,&quot;description&quot;:&quot;Professional Software Developer. Amateur Futurist and Chart Critic. Math Enthusiast. I write static code analysis tools and 1st drafts of blog posts. he/him&quot;,&quot;created_at&quot;:&quot;Tue Jul 28 14:37:29 +0000 2009&quot;,&quot;is_translator&quot;:false,&quot;profile_background_image_url_https&quot;:&quot;https://abs.twimg.com/images/themes/theme1/bg.png&quot;,&quot;protected&quot;:false,&quot;screen_name&quot;:&quot;lizardbill&quot;,&quot;id_str&quot;:&quot;60919433&quot;,&quot;profile_link_color&quot;:&quot;0E6E20&quot;,&quot;is_translation_enabled&quot;:false,&quot;translator_type&quot;:&quot;none&quot;,&quot;id&quot;:60919433,&quot;geo_enabled&quot;:true,&quot;profile_background_color&quot;:&quot;9AC295&quot;,&quot;lang&quot;:null,&quot;has_extended_profile&quot;:false,&quot;profile_sidebar_border_color&quot;:&quot;C7EDCC&quot;,&quot;profile_text_color&quot;:&quot;543920&quot;,&quot;verified&quot;:false,&quot;profile_image_url&quot;:&quot;http://pbs.twimg.com/profile_images/2316539047/y13vrqqe257qh7h9erb9_normal.png&quot;,&quot;time_zone&quot;:null,&quot;url&quot;:&quot;https://t.co/ZJdVLoKjKc&quot;,&quot;contributors_enabled&quot;:false,&quot;profile_background_tile&quot;:false,&quot;profile_banner_url&quot;:&quot;https://pbs.twimg.com/profile_banners/60919433/1542989249&quot;,&quot;entities&quot;:{&quot;description&quot;:{&quot;urls&quot;:[]},&quot;url&quot;:{&quot;urls&quot;:[{&quot;display_url&quot;:&quot;BillTheLizard.blogspot.com&quot;,&quot;indices&quot;:[0,23],&quot;expanded_url&quot;:&quot;http://www.BillTheLizard.blogspot.com&quot;,&quot;url&quot;:&quot;https://t.co/ZJdVLoKjKc&quot;}]}},&quot;statuses_count&quot;:19300,&quot;follow_request_sent&quot;:false,&quot;followers_count&quot;:5315,&quot;profile_use_background_image&quot;:false,&quot;default_profile&quot;:false,&quot;following&quot;:false,&quot;name&quot;:&quot;Bill the Lizard&quot;,&quot;location&quot;:&quot;Charlotte, NC USA&quot;,&quot;profile_sidebar_fill_color&quot;:&quot;9DD4A9&quot;,&quot;notifications&quot;:false}}"
Exception in thread "main" org.basex.core.BaseXException: Name '' is invalid.
at org.basex.core.Command.execute(Command.java:94)
at org.basex.core.Command.execute(Command.java:116)
at basex.DatabaseHelper.add(DatabaseHelper.java:63)
at basex.DatabaseHelper.dropCreateAdd(DatabaseHelper.java:82)
at main.App.twitterToBaseX(App.java:24)
at main.App.main(App.java:28)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':run'.
> Process 'command '/home/thufir/.sdkman/candidates/java/12.0.1-zulu/bin/java'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
8 actionable tasks: 8 executed
thufir@dur:~/NetBeansProjects/twitterBaseX$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment