diff --git a/components.js b/components.js index 34e82cee73..5ec62c0f02 100644 --- a/components.js +++ b/components.js @@ -1,2 +1,2 @@ -var components = {"core":{"meta":{"path":"components/prism-core.js","option":"mandatory"},"core":"Core"},"themes":{"meta":{"path":"themes/{id}.css","link":"index.html?theme={id}","exclusive":true},"prism":{"title":"Default","option":"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{"title":"Okaidia","owner":"ocodia"},"prism-twilight":{"title":"Twilight","owner":"remybach"},"prism-coy":{"title":"Coy","owner":"tshedor"},"prism-solarizedlight":{"title":"Solarized Light","owner":"hectormatos2011 "},"prism-tomorrow":{"title":"Tomorrow Night","owner":"Rosey"}},"languages":{"meta":{"path":"components/prism-{id}","noCSS":true,"examplesPath":"examples/prism-{id}","addCheckAll":true},"markup":{"title":"Markup","alias":["html","xml","svg","mathml","ssml","atom","rss"],"aliasTitles":{"html":"HTML","xml":"XML","svg":"SVG","mathml":"MathML","ssml":"SSML","atom":"Atom","rss":"RSS"},"option":"default"},"css":{"title":"CSS","option":"default","modify":"markup"},"clike":{"title":"C-like","option":"default"},"javascript":{"title":"JavaScript","require":"clike","modify":"markup","optional":"regex","alias":"js","option":"default"},"abap":{"title":"ABAP","owner":"dellagustin"},"abnf":{"title":"ABNF","owner":"RunDevelopment"},"actionscript":{"title":"ActionScript","require":"javascript","modify":"markup","owner":"Golmote"},"ada":{"title":"Ada","owner":"Lucretia"},"agda":{"title":"Agda","owner":"xy-ren"},"al":{"title":"AL","owner":"RunDevelopment"},"antlr4":{"title":"ANTLR4","alias":"g4","owner":"RunDevelopment"},"apacheconf":{"title":"Apache Configuration","owner":"GuiTeK"},"apex":{"title":"Apex","require":["clike","sql"],"owner":"RunDevelopment"},"apl":{"title":"APL","owner":"ngn"},"applescript":{"title":"AppleScript","owner":"Golmote"},"aql":{"title":"AQL","owner":"RunDevelopment"},"arduino":{"title":"Arduino","require":"cpp","owner":"dkern"},"arff":{"title":"ARFF","owner":"Golmote"},"asciidoc":{"alias":"adoc","title":"AsciiDoc","owner":"Golmote"},"aspnet":{"title":"ASP.NET (C#)","require":["markup","csharp"],"owner":"nauzilus"},"asm6502":{"title":"6502 Assembly","owner":"kzurawel"},"autohotkey":{"title":"AutoHotkey","owner":"aviaryan"},"autoit":{"title":"AutoIt","owner":"Golmote"},"bash":{"title":"Bash","alias":"shell","aliasTitles":{"shell":"Shell"},"owner":"zeitgeist87"},"basic":{"title":"BASIC","owner":"Golmote"},"batch":{"title":"Batch","owner":"Golmote"},"bbcode":{"title":"BBcode","alias":"shortcode","aliasTitles":{"shortcode":"Shortcode"},"owner":"RunDevelopment"},"bicep":{"title":"Bicep","owner":"johnnyreilly"},"birb":{"title":"Birb","require":"clike","owner":"Calamity210"},"bison":{"title":"Bison","require":"c","owner":"Golmote"},"bnf":{"title":"BNF","alias":"rbnf","aliasTitles":{"rbnf":"RBNF"},"owner":"RunDevelopment"},"brainfuck":{"title":"Brainfuck","owner":"Golmote"},"brightscript":{"title":"BrightScript","owner":"RunDevelopment"},"bro":{"title":"Bro","owner":"wayward710"},"bsl":{"title":"BSL (1C:Enterprise)","alias":"oscript","aliasTitles":{"oscript":"OneScript"},"owner":"Diversus23"},"c":{"title":"C","require":"clike","owner":"zeitgeist87"},"csharp":{"title":"C#","require":"clike","alias":["cs","dotnet"],"owner":"mvalipour"},"cpp":{"title":"C++","require":"c","owner":"zeitgeist87"},"cfscript":{"title":"CFScript","require":"clike","alias":"cfc","owner":"mjclemente"},"chaiscript":{"title":"ChaiScript","require":["clike","cpp"],"owner":"RunDevelopment"},"cil":{"title":"CIL","owner":"sbrl"},"clojure":{"title":"Clojure","owner":"troglotit"},"cmake":{"title":"CMake","owner":"mjrogozinski"},"cobol":{"title":"COBOL","owner":"RunDevelopment"},"coffeescript":{"title":"CoffeeScript","require":"javascript","alias":"coffee","owner":"R-osey"},"concurnas":{"title":"Concurnas","alias":"conc","owner":"jasontatton"},"csp":{"title":"Content-Security-Policy","owner":"ScottHelme"},"coq":{"title":"Coq","owner":"RunDevelopment"},"crystal":{"title":"Crystal","require":"ruby","owner":"MakeNowJust"},"css-extras":{"title":"CSS Extras","require":"css","modify":"css","owner":"milesj"},"csv":{"title":"CSV","owner":"RunDevelopment"},"cypher":{"title":"Cypher","owner":"RunDevelopment"},"d":{"title":"D","require":"clike","owner":"Golmote"},"dart":{"title":"Dart","require":"clike","owner":"Golmote"},"dataweave":{"title":"DataWeave","owner":"machaval"},"dax":{"title":"DAX","owner":"peterbud"},"dhall":{"title":"Dhall","owner":"RunDevelopment"},"diff":{"title":"Diff","owner":"uranusjr"},"django":{"title":"Django/Jinja2","require":"markup-templating","alias":"jinja2","owner":"romanvm"},"dns-zone-file":{"title":"DNS zone file","owner":"RunDevelopment","alias":"dns-zone"},"docker":{"title":"Docker","alias":"dockerfile","owner":"JustinBeckwith"},"dot":{"title":"DOT (Graphviz)","alias":"gv","optional":"markup","owner":"RunDevelopment"},"ebnf":{"title":"EBNF","owner":"RunDevelopment"},"editorconfig":{"title":"EditorConfig","owner":"osipxd"},"eiffel":{"title":"Eiffel","owner":"Conaclos"},"ejs":{"title":"EJS","require":["javascript","markup-templating"],"owner":"RunDevelopment","alias":"eta","aliasTitles":{"eta":"Eta"}},"elixir":{"title":"Elixir","owner":"Golmote"},"elm":{"title":"Elm","owner":"zwilias"},"etlua":{"title":"Embedded Lua templating","require":["lua","markup-templating"],"owner":"RunDevelopment"},"erb":{"title":"ERB","require":["ruby","markup-templating"],"owner":"Golmote"},"erlang":{"title":"Erlang","owner":"Golmote"},"excel-formula":{"title":"Excel Formula","alias":["xlsx","xls"],"owner":"RunDevelopment"},"fsharp":{"title":"F#","require":"clike","owner":"simonreynolds7"},"factor":{"title":"Factor","owner":"catb0t"},"false":{"title":"False","owner":"edukisto"},"firestore-security-rules":{"title":"Firestore security rules","require":"clike","owner":"RunDevelopment"},"flow":{"title":"Flow","require":"javascript","owner":"Golmote"},"fortran":{"title":"Fortran","owner":"Golmote"},"ftl":{"title":"FreeMarker Template Language","require":"markup-templating","owner":"RunDevelopment"},"gml":{"title":"GameMaker Language","alias":"gamemakerlanguage","require":"clike","owner":"LiarOnce"},"gcode":{"title":"G-code","owner":"RunDevelopment"},"gdscript":{"title":"GDScript","owner":"RunDevelopment"},"gedcom":{"title":"GEDCOM","owner":"Golmote"},"gherkin":{"title":"Gherkin","owner":"hason"},"git":{"title":"Git","owner":"lgiraudel"},"glsl":{"title":"GLSL","require":"c","owner":"Golmote"},"go":{"title":"Go","require":"clike","owner":"arnehormann"},"graphql":{"title":"GraphQL","optional":"markdown","owner":"Golmote"},"groovy":{"title":"Groovy","require":"clike","owner":"robfletcher"},"haml":{"title":"Haml","require":"ruby","optional":["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],"owner":"Golmote"},"handlebars":{"title":"Handlebars","require":"markup-templating","alias":"hbs","owner":"Golmote"},"haskell":{"title":"Haskell","alias":"hs","owner":"bholst"},"haxe":{"title":"Haxe","require":"clike","owner":"Golmote"},"hcl":{"title":"HCL","owner":"outsideris"},"hlsl":{"title":"HLSL","require":"c","owner":"RunDevelopment"},"hoon":{"title":"Hoon","owner":"matildepark"},"http":{"title":"HTTP","optional":["css","javascript","json","markup","uri"],"owner":"danielgtaylor"},"hpkp":{"title":"HTTP Public-Key-Pins","owner":"ScottHelme"},"hsts":{"title":"HTTP Strict-Transport-Security","owner":"ScottHelme"},"ichigojam":{"title":"IchigoJam","owner":"BlueCocoa"},"icon":{"title":"Icon","owner":"Golmote"},"icu-message-format":{"title":"ICU Message Format","owner":"RunDevelopment"},"idris":{"title":"Idris","alias":"idr","owner":"KeenS","require":"haskell"},"ignore":{"title":".ignore","owner":"osipxd","alias":["gitignore","hgignore","npmignore"],"aliasTitles":{"gitignore":".gitignore","hgignore":".hgignore","npmignore":".npmignore"}},"inform7":{"title":"Inform 7","owner":"Golmote"},"ini":{"title":"Ini","owner":"aviaryan"},"io":{"title":"Io","owner":"AlesTsurko"},"j":{"title":"J","owner":"Golmote"},"java":{"title":"Java","require":"clike","owner":"sherblot"},"javadoc":{"title":"JavaDoc","require":["markup","java","javadoclike"],"modify":"java","optional":"scala","owner":"RunDevelopment"},"javadoclike":{"title":"JavaDoc-like","modify":["java","javascript","php"],"owner":"RunDevelopment"},"javastacktrace":{"title":"Java stack trace","owner":"RunDevelopment"},"jexl":{"title":"Jexl","owner":"czosel"},"jolie":{"title":"Jolie","require":"clike","owner":"thesave"},"jq":{"title":"JQ","owner":"RunDevelopment"},"jsdoc":{"title":"JSDoc","require":["javascript","javadoclike","typescript"],"modify":"javascript","optional":["actionscript","coffeescript"],"owner":"RunDevelopment"},"js-extras":{"title":"JS Extras","require":"javascript","modify":"javascript","optional":["actionscript","coffeescript","flow","n4js","typescript"],"owner":"RunDevelopment"},"json":{"title":"JSON","alias":"webmanifest","aliasTitles":{"webmanifest":"Web App Manifest"},"owner":"CupOfTea696"},"json5":{"title":"JSON5","require":"json","owner":"RunDevelopment"},"jsonp":{"title":"JSONP","require":"json","owner":"RunDevelopment"},"jsstacktrace":{"title":"JS stack trace","owner":"sbrl"},"js-templates":{"title":"JS Templates","require":"javascript","modify":"javascript","optional":["css","css-extras","graphql","markdown","markup","sql"],"owner":"RunDevelopment"},"julia":{"title":"Julia","owner":"cdagnino"},"keyman":{"title":"Keyman","owner":"mcdurdin"},"kotlin":{"title":"Kotlin","alias":["kt","kts"],"aliasTitles":{"kts":"Kotlin Script"},"require":"clike","owner":"Golmote"},"kumir":{"title":"KuMir (КуМир)","alias":"kum","owner":"edukisto"},"latex":{"title":"LaTeX","alias":["tex","context"],"aliasTitles":{"tex":"TeX","context":"ConTeXt"},"owner":"japborst"},"latte":{"title":"Latte","require":["clike","markup-templating","php"],"owner":"nette"},"less":{"title":"Less","require":"css","optional":"css-extras","owner":"Golmote"},"lilypond":{"title":"LilyPond","require":"scheme","alias":"ly","owner":"RunDevelopment"},"liquid":{"title":"Liquid","require":"markup-templating","owner":"cinhtau"},"lisp":{"title":"Lisp","alias":["emacs","elisp","emacs-lisp"],"owner":"JuanCaicedo"},"livescript":{"title":"LiveScript","owner":"Golmote"},"llvm":{"title":"LLVM IR","owner":"porglezomp"},"log":{"title":"Log file","owner":"RunDevelopment"},"lolcode":{"title":"LOLCODE","owner":"Golmote"},"lua":{"title":"Lua","owner":"Golmote"},"makefile":{"title":"Makefile","owner":"Golmote"},"markdown":{"title":"Markdown","require":"markup","optional":"yaml","alias":"md","owner":"Golmote"},"markup-templating":{"title":"Markup templating","require":"markup","owner":"Golmote"},"matlab":{"title":"MATLAB","owner":"Golmote"},"mel":{"title":"MEL","owner":"Golmote"},"mizar":{"title":"Mizar","owner":"Golmote"},"mongodb":{"title":"MongoDB","owner":"airs0urce","require":"javascript"},"monkey":{"title":"Monkey","owner":"Golmote"},"moonscript":{"title":"MoonScript","alias":"moon","owner":"RunDevelopment"},"n1ql":{"title":"N1QL","owner":"TMWilds"},"n4js":{"title":"N4JS","require":"javascript","optional":"jsdoc","alias":"n4jsd","owner":"bsmith-n4"},"nand2tetris-hdl":{"title":"Nand To Tetris HDL","owner":"stephanmax"},"naniscript":{"title":"Naninovel Script","owner":"Elringus","alias":"nani"},"nasm":{"title":"NASM","owner":"rbmj"},"neon":{"title":"NEON","owner":"nette"},"nevod":{"title":"Nevod","owner":"nezaboodka"},"nginx":{"title":"nginx","owner":"volado"},"nim":{"title":"Nim","owner":"Golmote"},"nix":{"title":"Nix","owner":"Golmote"},"nsis":{"title":"NSIS","owner":"idleberg"},"objectivec":{"title":"Objective-C","require":"c","alias":"objc","owner":"uranusjr"},"ocaml":{"title":"OCaml","owner":"Golmote"},"opencl":{"title":"OpenCL","require":"c","modify":["c","cpp"],"owner":"Milania1"},"openqasm":{"title":"OpenQasm","alias":"qasm","owner":"RunDevelopment"},"oz":{"title":"Oz","owner":"Golmote"},"parigp":{"title":"PARI/GP","owner":"Golmote"},"parser":{"title":"Parser","require":"markup","owner":"Golmote"},"pascal":{"title":"Pascal","alias":"objectpascal","aliasTitles":{"objectpascal":"Object Pascal"},"owner":"Golmote"},"pascaligo":{"title":"Pascaligo","owner":"DefinitelyNotAGoat"},"psl":{"title":"PATROL Scripting Language","owner":"bertysentry"},"pcaxis":{"title":"PC-Axis","alias":"px","owner":"RunDevelopment"},"peoplecode":{"title":"PeopleCode","alias":"pcode","owner":"RunDevelopment"},"perl":{"title":"Perl","owner":"Golmote"},"php":{"title":"PHP","require":"markup-templating","owner":"milesj"},"phpdoc":{"title":"PHPDoc","require":["php","javadoclike"],"modify":"php","owner":"RunDevelopment"},"php-extras":{"title":"PHP Extras","require":"php","modify":"php","owner":"milesj"},"plsql":{"title":"PL/SQL","require":"sql","owner":"Golmote"},"powerquery":{"title":"PowerQuery","alias":["pq","mscript"],"owner":"peterbud"},"powershell":{"title":"PowerShell","owner":"nauzilus"},"processing":{"title":"Processing","require":"clike","owner":"Golmote"},"prolog":{"title":"Prolog","owner":"Golmote"},"promql":{"title":"PromQL","owner":"arendjr"},"properties":{"title":".properties","owner":"Golmote"},"protobuf":{"title":"Protocol Buffers","require":"clike","owner":"just-boris"},"pug":{"title":"Pug","require":["markup","javascript"],"optional":["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],"owner":"Golmote"},"puppet":{"title":"Puppet","owner":"Golmote"},"pure":{"title":"Pure","optional":["c","cpp","fortran"],"owner":"Golmote"},"purebasic":{"title":"PureBasic","require":"clike","alias":"pbfasm","owner":"HeX0R101"},"purescript":{"title":"PureScript","require":"haskell","alias":"purs","owner":"sriharshachilakapati"},"python":{"title":"Python","alias":"py","owner":"multipetros"},"qsharp":{"title":"Q#","require":"clike","alias":"qs","owner":"fedonman"},"q":{"title":"Q (kdb+ database)","owner":"Golmote"},"qml":{"title":"QML","require":"javascript","owner":"RunDevelopment"},"qore":{"title":"Qore","require":"clike","owner":"temnroegg"},"r":{"title":"R","owner":"Golmote"},"racket":{"title":"Racket","require":"scheme","alias":"rkt","owner":"RunDevelopment"},"jsx":{"title":"React JSX","require":["markup","javascript"],"optional":["jsdoc","js-extras","js-templates"],"owner":"vkbansal"},"tsx":{"title":"React TSX","require":["jsx","typescript"]},"reason":{"title":"Reason","require":"clike","owner":"Golmote"},"regex":{"title":"Regex","owner":"RunDevelopment"},"rego":{"title":"Rego","owner":"JordanSh"},"renpy":{"title":"Ren'py","alias":"rpy","owner":"HyuchiaDiego"},"rest":{"title":"reST (reStructuredText)","owner":"Golmote"},"rip":{"title":"Rip","owner":"ravinggenius"},"roboconf":{"title":"Roboconf","owner":"Golmote"},"robotframework":{"title":"Robot Framework","alias":"robot","owner":"RunDevelopment"},"ruby":{"title":"Ruby","require":"clike","alias":"rb","owner":"samflores"},"rust":{"title":"Rust","owner":"Golmote"},"sas":{"title":"SAS","optional":["groovy","lua","sql"],"owner":"Golmote"},"sass":{"title":"Sass (Sass)","require":"css","optional":"css-extras","owner":"Golmote"},"scss":{"title":"Sass (Scss)","require":"css","optional":"css-extras","owner":"MoOx"},"scala":{"title":"Scala","require":"java","owner":"jozic"},"scheme":{"title":"Scheme","owner":"bacchus123"},"shell-session":{"title":"Shell session","require":"bash","alias":["sh-session","shellsession"],"owner":"RunDevelopment"},"smali":{"title":"Smali","owner":"RunDevelopment"},"smalltalk":{"title":"Smalltalk","owner":"Golmote"},"smarty":{"title":"Smarty","require":"markup-templating","owner":"Golmote"},"sml":{"title":"SML","alias":"smlnj","aliasTitles":{"smlnj":"SML/NJ"},"owner":"RunDevelopment"},"solidity":{"title":"Solidity (Ethereum)","alias":"sol","require":"clike","owner":"glachaud"},"solution-file":{"title":"Solution file","alias":"sln","owner":"RunDevelopment"},"soy":{"title":"Soy (Closure Template)","require":"markup-templating","owner":"Golmote"},"sparql":{"title":"SPARQL","require":"turtle","owner":"Triply-Dev","alias":"rq"},"splunk-spl":{"title":"Splunk SPL","owner":"RunDevelopment"},"sqf":{"title":"SQF: Status Quo Function (Arma 3)","require":"clike","owner":"RunDevelopment"},"sql":{"title":"SQL","owner":"multipetros"},"squirrel":{"title":"Squirrel","require":"clike","owner":"RunDevelopment"},"stan":{"title":"Stan","owner":"RunDevelopment"},"iecst":{"title":"Structured Text (IEC 61131-3)","owner":"serhioromano"},"stylus":{"title":"Stylus","owner":"vkbansal"},"swift":{"title":"Swift","require":"clike","owner":"chrischares"},"t4-templating":{"title":"T4 templating","owner":"RunDevelopment"},"t4-cs":{"title":"T4 Text Templates (C#)","require":["t4-templating","csharp"],"alias":"t4","owner":"RunDevelopment"},"t4-vb":{"title":"T4 Text Templates (VB)","require":["t4-templating","vbnet"],"owner":"RunDevelopment"},"tap":{"title":"TAP","owner":"isaacs","require":"yaml"},"tcl":{"title":"Tcl","owner":"PeterChaplin"},"tt2":{"title":"Template Toolkit 2","require":["clike","markup-templating"],"owner":"gflohr"},"textile":{"title":"Textile","require":"markup","optional":"css","owner":"Golmote"},"toml":{"title":"TOML","owner":"RunDevelopment"},"turtle":{"title":"Turtle","alias":"trig","aliasTitles":{"trig":"TriG"},"owner":"jakubklimek"},"twig":{"title":"Twig","require":"markup","owner":"brandonkelly"},"typescript":{"title":"TypeScript","require":"javascript","optional":"js-templates","alias":"ts","owner":"vkbansal"},"typoscript":{"title":"TypoScript","alias":"tsconfig","aliasTitles":{"tsconfig":"TSConfig"},"owner":"dkern"},"unrealscript":{"title":"UnrealScript","alias":["uscript","uc"],"owner":"RunDevelopment"},"uri":{"title":"URI","alias":"url","aliasTitles":{"url":"URL"},"owner":"RunDevelopment"},"v":{"title":"V","require":"clike","owner":"taggon"},"vala":{"title":"Vala","require":"clike","optional":"regex","owner":"TemplarVolk"},"vbnet":{"title":"VB.Net","require":"basic","owner":"Bigsby"},"velocity":{"title":"Velocity","require":"markup","owner":"Golmote"},"verilog":{"title":"Verilog","owner":"a-rey"},"vhdl":{"title":"VHDL","owner":"a-rey"},"vim":{"title":"vim","owner":"westonganger"},"visual-basic":{"title":"Visual Basic","alias":["vb","vba"],"aliasTitles":{"vba":"VBA"},"owner":"Golmote"},"warpscript":{"title":"WarpScript","owner":"RunDevelopment"},"wasm":{"title":"WebAssembly","owner":"Golmote"},"wiki":{"title":"Wiki markup","require":"markup","owner":"Golmote"},"wolfram":{"title":"Wolfram language","alias":["mathematica","nb","wl"],"aliasTitles":{"mathematica":"Mathematica","nb":"Mathematica Notebook"},"owner":"msollami"},"xeora":{"title":"Xeora","require":"markup","alias":"xeoracube","aliasTitles":{"xeoracube":"XeoraCube"},"owner":"freakmaxi"},"xml-doc":{"title":"XML doc (.net)","require":"markup","modify":["csharp","fsharp","vbnet"],"owner":"RunDevelopment"},"xojo":{"title":"Xojo (REALbasic)","owner":"Golmote"},"xquery":{"title":"XQuery","require":"markup","owner":"Golmote"},"yaml":{"title":"YAML","alias":"yml","owner":"hason"},"yang":{"title":"YANG","owner":"RunDevelopment"},"zig":{"title":"Zig","owner":"RunDevelopment"}},"plugins":{"meta":{"path":"plugins/{id}/prism-{id}","link":"plugins/{id}/"},"line-highlight":{"title":"Line Highlight","description":"Highlights specific lines and/or line ranges."},"line-numbers":{"title":"Line Numbers","description":"Line number at the beginning of code lines.","owner":"kuba-kubula"},"show-invisibles":{"title":"Show Invisibles","description":"Show hidden characters such as tabs and line breaks.","optional":["autolinker","data-uri-highlight"]},"autolinker":{"title":"Autolinker","description":"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},"wpd":{"title":"WebPlatform Docs","description":"Makes tokens link to WebPlatform.org documentation. The links open in a new tab."},"custom-class":{"title":"Custom Class","description":"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.","owner":"dvkndn","noCSS":true},"file-highlight":{"title":"File Highlight","description":"Fetch external files and highlight them with Prism. Used on the Prism website itself.","noCSS":true},"show-language":{"title":"Show Language","description":"Display the highlighted language in code blocks (inline code does not show the label).","owner":"nauzilus","noCSS":true,"require":"toolbar"},"jsonp-highlight":{"title":"JSONP Highlight","description":"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).","noCSS":true,"owner":"nauzilus"},"highlight-keywords":{"title":"Highlight Keywords","description":"Adds special CSS classes for each keyword matched in the code. For example, the keyword if will have the class keyword-if as well. You can have fine grained control over the appearance of each keyword by providing your own CSS rules.","owner":"vkbansal","noCSS":true},"remove-initial-line-feed":{"title":"Remove initial line feed","description":"Removes the initial line feed in code blocks.","owner":"Golmote","noCSS":true},"inline-color":{"title":"Inline color","description":"Adds a small inline preview for colors in style sheets.","require":"css-extras","owner":"RunDevelopment"},"previewers":{"title":"Previewers","description":"Previewers for angles, colors, gradients, easing and time.","require":"css-extras","owner":"Golmote"},"autoloader":{"title":"Autoloader","description":"Automatically loads the needed languages to highlight the code blocks.","owner":"Golmote","noCSS":true},"keep-markup":{"title":"Keep Markup","description":"Prevents custom markup from being dropped out during highlighting.","owner":"Golmote","optional":"normalize-whitespace","noCSS":true},"command-line":{"title":"Command Line","description":"Display a command line with a prompt and, optionally, the output/response from the commands.","owner":"chriswells0"},"unescaped-markup":{"title":"Unescaped Markup","description":"Write markup without having to escape anything."},"normalize-whitespace":{"title":"Normalize Whitespace","description":"Supports multiple operations to normalize whitespace in code blocks.","owner":"zeitgeist87","optional":"unescaped-markup","noCSS":true},"data-uri-highlight":{"title":"Data-URI Highlight","description":"Highlights data-URI contents.","owner":"Golmote","noCSS":true},"toolbar":{"title":"Toolbar","description":"Attach a toolbar for plugins to easily register buttons on the top of a code block.","owner":"mAAdhaTTah"},"copy-to-clipboard":{"title":"Copy to Clipboard Button","description":"Add a button that copies the code block to the clipboard when clicked.","owner":"mAAdhaTTah","require":"toolbar","noCSS":true},"download-button":{"title":"Download Button","description":"A button in the toolbar of a code block adding a convenient way to download a code file.","owner":"Golmote","require":"toolbar","noCSS":true},"match-braces":{"title":"Match braces","description":"Highlights matching braces.","owner":"RunDevelopment"},"diff-highlight":{"title":"Diff Highlight","description":"Highlights the code inside diff blocks.","owner":"RunDevelopment","require":"diff"},"filter-highlight-all":{"title":"Filter highlightAll","description":"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.","owner":"RunDevelopment","noCSS":true},"treeview":{"title":"Treeview","description":"A language with special styles to highlight file system tree structures.","owner":"Golmote"}}}; +var components = {"core":{"meta":{"path":"components/prism-core.js","option":"mandatory"},"core":"Core"},"themes":{"meta":{"path":"themes/{id}.css","link":"index.html?theme={id}","exclusive":true},"prism":{"title":"Default","option":"default"},"prism-dark":"Dark","prism-funky":"Funky","prism-okaidia":{"title":"Okaidia","owner":"ocodia"},"prism-twilight":{"title":"Twilight","owner":"remybach"},"prism-coy":{"title":"Coy","owner":"tshedor"},"prism-solarizedlight":{"title":"Solarized Light","owner":"hectormatos2011 "},"prism-tomorrow":{"title":"Tomorrow Night","owner":"Rosey"}},"languages":{"meta":{"path":"components/prism-{id}","noCSS":true,"examplesPath":"examples/prism-{id}","addCheckAll":true},"markup":{"title":"Markup","alias":["html","xml","svg","mathml","ssml","atom","rss"],"aliasTitles":{"html":"HTML","xml":"XML","svg":"SVG","mathml":"MathML","ssml":"SSML","atom":"Atom","rss":"RSS"},"option":"default"},"css":{"title":"CSS","option":"default","modify":"markup"},"clike":{"title":"C-like","option":"default"},"javascript":{"title":"JavaScript","require":"clike","modify":"markup","optional":"regex","alias":"js","option":"default"},"abap":{"title":"ABAP","owner":"dellagustin"},"abnf":{"title":"ABNF","owner":"RunDevelopment"},"actionscript":{"title":"ActionScript","require":"javascript","modify":"markup","owner":"Golmote"},"ada":{"title":"Ada","owner":"Lucretia"},"agda":{"title":"Agda","owner":"xy-ren"},"al":{"title":"AL","owner":"RunDevelopment"},"antlr4":{"title":"ANTLR4","alias":"g4","owner":"RunDevelopment"},"apacheconf":{"title":"Apache Configuration","owner":"GuiTeK"},"apex":{"title":"Apex","require":["clike","sql"],"owner":"RunDevelopment"},"apl":{"title":"APL","owner":"ngn"},"applescript":{"title":"AppleScript","owner":"Golmote"},"aql":{"title":"AQL","owner":"RunDevelopment"},"arduino":{"title":"Arduino","require":"cpp","owner":"dkern"},"arff":{"title":"ARFF","owner":"Golmote"},"asciidoc":{"alias":"adoc","title":"AsciiDoc","owner":"Golmote"},"aspnet":{"title":"ASP.NET (C#)","require":["markup","csharp"],"owner":"nauzilus"},"asm6502":{"title":"6502 Assembly","owner":"kzurawel"},"autohotkey":{"title":"AutoHotkey","owner":"aviaryan"},"autoit":{"title":"AutoIt","owner":"Golmote"},"bash":{"title":"Bash","alias":"shell","aliasTitles":{"shell":"Shell"},"owner":"zeitgeist87"},"basic":{"title":"BASIC","owner":"Golmote"},"batch":{"title":"Batch","owner":"Golmote"},"bbcode":{"title":"BBcode","alias":"shortcode","aliasTitles":{"shortcode":"Shortcode"},"owner":"RunDevelopment"},"bicep":{"title":"Bicep","owner":"johnnyreilly"},"birb":{"title":"Birb","require":"clike","owner":"Calamity210"},"bison":{"title":"Bison","require":"c","owner":"Golmote"},"bnf":{"title":"BNF","alias":"rbnf","aliasTitles":{"rbnf":"RBNF"},"owner":"RunDevelopment"},"brainfuck":{"title":"Brainfuck","owner":"Golmote"},"brightscript":{"title":"BrightScript","owner":"RunDevelopment"},"bro":{"title":"Bro","owner":"wayward710"},"bsl":{"title":"BSL (1C:Enterprise)","alias":"oscript","aliasTitles":{"oscript":"OneScript"},"owner":"Diversus23"},"c":{"title":"C","require":"clike","owner":"zeitgeist87"},"csharp":{"title":"C#","require":"clike","alias":["cs","dotnet"],"owner":"mvalipour"},"cpp":{"title":"C++","require":"c","owner":"zeitgeist87"},"cfscript":{"title":"CFScript","require":"clike","alias":"cfc","owner":"mjclemente"},"chaiscript":{"title":"ChaiScript","require":["clike","cpp"],"owner":"RunDevelopment"},"cil":{"title":"CIL","owner":"sbrl"},"clojure":{"title":"Clojure","owner":"troglotit"},"cmake":{"title":"CMake","owner":"mjrogozinski"},"cobol":{"title":"COBOL","owner":"RunDevelopment"},"coffeescript":{"title":"CoffeeScript","require":"javascript","alias":"coffee","owner":"R-osey"},"concurnas":{"title":"Concurnas","alias":"conc","owner":"jasontatton"},"csp":{"title":"Content-Security-Policy","owner":"ScottHelme"},"coq":{"title":"Coq","owner":"RunDevelopment"},"crystal":{"title":"Crystal","require":"ruby","owner":"MakeNowJust"},"css-extras":{"title":"CSS Extras","require":"css","modify":"css","owner":"milesj"},"csv":{"title":"CSV","owner":"RunDevelopment"},"cypher":{"title":"Cypher","owner":"RunDevelopment"},"d":{"title":"D","require":"clike","owner":"Golmote"},"dart":{"title":"Dart","require":"clike","owner":"Golmote"},"dataweave":{"title":"DataWeave","owner":"machaval"},"dax":{"title":"DAX","owner":"peterbud"},"dhall":{"title":"Dhall","owner":"RunDevelopment"},"diff":{"title":"Diff","owner":"uranusjr"},"django":{"title":"Django/Jinja2","require":"markup-templating","alias":"jinja2","owner":"romanvm"},"dns-zone-file":{"title":"DNS zone file","owner":"RunDevelopment","alias":"dns-zone"},"docker":{"title":"Docker","alias":"dockerfile","owner":"JustinBeckwith"},"dot":{"title":"DOT (Graphviz)","alias":"gv","optional":"markup","owner":"RunDevelopment"},"ebnf":{"title":"EBNF","owner":"RunDevelopment"},"editorconfig":{"title":"EditorConfig","owner":"osipxd"},"eiffel":{"title":"Eiffel","owner":"Conaclos"},"ejs":{"title":"EJS","require":["javascript","markup-templating"],"owner":"RunDevelopment","alias":"eta","aliasTitles":{"eta":"Eta"}},"elixir":{"title":"Elixir","owner":"Golmote"},"elm":{"title":"Elm","owner":"zwilias"},"etlua":{"title":"Embedded Lua templating","require":["lua","markup-templating"],"owner":"RunDevelopment"},"erb":{"title":"ERB","require":["ruby","markup-templating"],"owner":"Golmote"},"erlang":{"title":"Erlang","owner":"Golmote"},"excel-formula":{"title":"Excel Formula","alias":["xlsx","xls"],"owner":"RunDevelopment"},"fsharp":{"title":"F#","require":"clike","owner":"simonreynolds7"},"factor":{"title":"Factor","owner":"catb0t"},"false":{"title":"False","owner":"edukisto"},"firestore-security-rules":{"title":"Firestore security rules","require":"clike","owner":"RunDevelopment"},"flow":{"title":"Flow","require":"javascript","owner":"Golmote"},"fortran":{"title":"Fortran","owner":"Golmote"},"ftl":{"title":"FreeMarker Template Language","require":"markup-templating","owner":"RunDevelopment"},"gml":{"title":"GameMaker Language","alias":"gamemakerlanguage","require":"clike","owner":"LiarOnce"},"gcode":{"title":"G-code","owner":"RunDevelopment"},"gdscript":{"title":"GDScript","owner":"RunDevelopment"},"gedcom":{"title":"GEDCOM","owner":"Golmote"},"gherkin":{"title":"Gherkin","owner":"hason"},"git":{"title":"Git","owner":"lgiraudel"},"glsl":{"title":"GLSL","require":"c","owner":"Golmote"},"go":{"title":"Go","require":"clike","owner":"arnehormann"},"graphql":{"title":"GraphQL","optional":"markdown","owner":"Golmote"},"groovy":{"title":"Groovy","require":"clike","owner":"robfletcher"},"haml":{"title":"Haml","require":"ruby","optional":["css","css-extras","coffeescript","erb","javascript","less","markdown","scss","textile"],"owner":"Golmote"},"handlebars":{"title":"Handlebars","require":"markup-templating","alias":"hbs","owner":"Golmote"},"haskell":{"title":"Haskell","alias":"hs","owner":"bholst"},"haxe":{"title":"Haxe","require":"clike","owner":"Golmote"},"hcl":{"title":"HCL","owner":"outsideris"},"hlsl":{"title":"HLSL","require":"c","owner":"RunDevelopment"},"hoon":{"title":"Hoon","owner":"matildepark"},"http":{"title":"HTTP","optional":["css","javascript","json","markup","uri"],"owner":"danielgtaylor"},"hpkp":{"title":"HTTP Public-Key-Pins","owner":"ScottHelme"},"hsts":{"title":"HTTP Strict-Transport-Security","owner":"ScottHelme"},"ichigojam":{"title":"IchigoJam","owner":"BlueCocoa"},"icon":{"title":"Icon","owner":"Golmote"},"icu-message-format":{"title":"ICU Message Format","owner":"RunDevelopment"},"idris":{"title":"Idris","alias":"idr","owner":"KeenS","require":"haskell"},"ignore":{"title":".ignore","owner":"osipxd","alias":["gitignore","hgignore","npmignore"],"aliasTitles":{"gitignore":".gitignore","hgignore":".hgignore","npmignore":".npmignore"}},"inform7":{"title":"Inform 7","owner":"Golmote"},"ini":{"title":"Ini","owner":"aviaryan"},"io":{"title":"Io","owner":"AlesTsurko"},"j":{"title":"J","owner":"Golmote"},"java":{"title":"Java","require":"clike","owner":"sherblot"},"javadoc":{"title":"JavaDoc","require":["markup","java","javadoclike"],"modify":"java","optional":"scala","owner":"RunDevelopment"},"javadoclike":{"title":"JavaDoc-like","modify":["java","javascript","php"],"owner":"RunDevelopment"},"javastacktrace":{"title":"Java stack trace","owner":"RunDevelopment"},"jexl":{"title":"Jexl","owner":"czosel"},"jolie":{"title":"Jolie","require":"clike","owner":"thesave"},"jq":{"title":"JQ","owner":"RunDevelopment"},"jsdoc":{"title":"JSDoc","require":["javascript","javadoclike","typescript"],"modify":"javascript","optional":["actionscript","coffeescript"],"owner":"RunDevelopment"},"js-extras":{"title":"JS Extras","require":"javascript","modify":"javascript","optional":["actionscript","coffeescript","flow","n4js","typescript"],"owner":"RunDevelopment"},"json":{"title":"JSON","alias":"webmanifest","aliasTitles":{"webmanifest":"Web App Manifest"},"owner":"CupOfTea696"},"json5":{"title":"JSON5","require":"json","owner":"RunDevelopment"},"jsonp":{"title":"JSONP","require":"json","owner":"RunDevelopment"},"jsstacktrace":{"title":"JS stack trace","owner":"sbrl"},"js-templates":{"title":"JS Templates","require":"javascript","modify":"javascript","optional":["css","css-extras","graphql","markdown","markup","sql"],"owner":"RunDevelopment"},"julia":{"title":"Julia","owner":"cdagnino"},"keyman":{"title":"Keyman","owner":"mcdurdin"},"kotlin":{"title":"Kotlin","alias":["kt","kts"],"aliasTitles":{"kts":"Kotlin Script"},"require":"clike","owner":"Golmote"},"kumir":{"title":"KuMir (КуМир)","alias":"kum","owner":"edukisto"},"latex":{"title":"LaTeX","alias":["tex","context"],"aliasTitles":{"tex":"TeX","context":"ConTeXt"},"owner":"japborst"},"latte":{"title":"Latte","require":["clike","markup-templating","php"],"owner":"nette"},"less":{"title":"Less","require":"css","optional":"css-extras","owner":"Golmote"},"lilypond":{"title":"LilyPond","require":"scheme","alias":"ly","owner":"RunDevelopment"},"liquid":{"title":"Liquid","require":"markup-templating","owner":"cinhtau"},"lisp":{"title":"Lisp","alias":["emacs","elisp","emacs-lisp"],"owner":"JuanCaicedo"},"livescript":{"title":"LiveScript","owner":"Golmote"},"llvm":{"title":"LLVM IR","owner":"porglezomp"},"log":{"title":"Log file","optional":"javastacktrace","owner":"RunDevelopment"},"lolcode":{"title":"LOLCODE","owner":"Golmote"},"lua":{"title":"Lua","owner":"Golmote"},"makefile":{"title":"Makefile","owner":"Golmote"},"markdown":{"title":"Markdown","require":"markup","optional":"yaml","alias":"md","owner":"Golmote"},"markup-templating":{"title":"Markup templating","require":"markup","owner":"Golmote"},"matlab":{"title":"MATLAB","owner":"Golmote"},"mel":{"title":"MEL","owner":"Golmote"},"mizar":{"title":"Mizar","owner":"Golmote"},"mongodb":{"title":"MongoDB","owner":"airs0urce","require":"javascript"},"monkey":{"title":"Monkey","owner":"Golmote"},"moonscript":{"title":"MoonScript","alias":"moon","owner":"RunDevelopment"},"n1ql":{"title":"N1QL","owner":"TMWilds"},"n4js":{"title":"N4JS","require":"javascript","optional":"jsdoc","alias":"n4jsd","owner":"bsmith-n4"},"nand2tetris-hdl":{"title":"Nand To Tetris HDL","owner":"stephanmax"},"naniscript":{"title":"Naninovel Script","owner":"Elringus","alias":"nani"},"nasm":{"title":"NASM","owner":"rbmj"},"neon":{"title":"NEON","owner":"nette"},"nevod":{"title":"Nevod","owner":"nezaboodka"},"nginx":{"title":"nginx","owner":"volado"},"nim":{"title":"Nim","owner":"Golmote"},"nix":{"title":"Nix","owner":"Golmote"},"nsis":{"title":"NSIS","owner":"idleberg"},"objectivec":{"title":"Objective-C","require":"c","alias":"objc","owner":"uranusjr"},"ocaml":{"title":"OCaml","owner":"Golmote"},"opencl":{"title":"OpenCL","require":"c","modify":["c","cpp"],"owner":"Milania1"},"openqasm":{"title":"OpenQasm","alias":"qasm","owner":"RunDevelopment"},"oz":{"title":"Oz","owner":"Golmote"},"parigp":{"title":"PARI/GP","owner":"Golmote"},"parser":{"title":"Parser","require":"markup","owner":"Golmote"},"pascal":{"title":"Pascal","alias":"objectpascal","aliasTitles":{"objectpascal":"Object Pascal"},"owner":"Golmote"},"pascaligo":{"title":"Pascaligo","owner":"DefinitelyNotAGoat"},"psl":{"title":"PATROL Scripting Language","owner":"bertysentry"},"pcaxis":{"title":"PC-Axis","alias":"px","owner":"RunDevelopment"},"peoplecode":{"title":"PeopleCode","alias":"pcode","owner":"RunDevelopment"},"perl":{"title":"Perl","owner":"Golmote"},"php":{"title":"PHP","require":"markup-templating","owner":"milesj"},"phpdoc":{"title":"PHPDoc","require":["php","javadoclike"],"modify":"php","owner":"RunDevelopment"},"php-extras":{"title":"PHP Extras","require":"php","modify":"php","owner":"milesj"},"plsql":{"title":"PL/SQL","require":"sql","owner":"Golmote"},"powerquery":{"title":"PowerQuery","alias":["pq","mscript"],"owner":"peterbud"},"powershell":{"title":"PowerShell","owner":"nauzilus"},"processing":{"title":"Processing","require":"clike","owner":"Golmote"},"prolog":{"title":"Prolog","owner":"Golmote"},"promql":{"title":"PromQL","owner":"arendjr"},"properties":{"title":".properties","owner":"Golmote"},"protobuf":{"title":"Protocol Buffers","require":"clike","owner":"just-boris"},"pug":{"title":"Pug","require":["markup","javascript"],"optional":["coffeescript","ejs","handlebars","less","livescript","markdown","scss","stylus","twig"],"owner":"Golmote"},"puppet":{"title":"Puppet","owner":"Golmote"},"pure":{"title":"Pure","optional":["c","cpp","fortran"],"owner":"Golmote"},"purebasic":{"title":"PureBasic","require":"clike","alias":"pbfasm","owner":"HeX0R101"},"purescript":{"title":"PureScript","require":"haskell","alias":"purs","owner":"sriharshachilakapati"},"python":{"title":"Python","alias":"py","owner":"multipetros"},"qsharp":{"title":"Q#","require":"clike","alias":"qs","owner":"fedonman"},"q":{"title":"Q (kdb+ database)","owner":"Golmote"},"qml":{"title":"QML","require":"javascript","owner":"RunDevelopment"},"qore":{"title":"Qore","require":"clike","owner":"temnroegg"},"r":{"title":"R","owner":"Golmote"},"racket":{"title":"Racket","require":"scheme","alias":"rkt","owner":"RunDevelopment"},"jsx":{"title":"React JSX","require":["markup","javascript"],"optional":["jsdoc","js-extras","js-templates"],"owner":"vkbansal"},"tsx":{"title":"React TSX","require":["jsx","typescript"]},"reason":{"title":"Reason","require":"clike","owner":"Golmote"},"regex":{"title":"Regex","owner":"RunDevelopment"},"rego":{"title":"Rego","owner":"JordanSh"},"renpy":{"title":"Ren'py","alias":"rpy","owner":"HyuchiaDiego"},"rest":{"title":"reST (reStructuredText)","owner":"Golmote"},"rip":{"title":"Rip","owner":"ravinggenius"},"roboconf":{"title":"Roboconf","owner":"Golmote"},"robotframework":{"title":"Robot Framework","alias":"robot","owner":"RunDevelopment"},"ruby":{"title":"Ruby","require":"clike","alias":"rb","owner":"samflores"},"rust":{"title":"Rust","owner":"Golmote"},"sas":{"title":"SAS","optional":["groovy","lua","sql"],"owner":"Golmote"},"sass":{"title":"Sass (Sass)","require":"css","optional":"css-extras","owner":"Golmote"},"scss":{"title":"Sass (Scss)","require":"css","optional":"css-extras","owner":"MoOx"},"scala":{"title":"Scala","require":"java","owner":"jozic"},"scheme":{"title":"Scheme","owner":"bacchus123"},"shell-session":{"title":"Shell session","require":"bash","alias":["sh-session","shellsession"],"owner":"RunDevelopment"},"smali":{"title":"Smali","owner":"RunDevelopment"},"smalltalk":{"title":"Smalltalk","owner":"Golmote"},"smarty":{"title":"Smarty","require":"markup-templating","owner":"Golmote"},"sml":{"title":"SML","alias":"smlnj","aliasTitles":{"smlnj":"SML/NJ"},"owner":"RunDevelopment"},"solidity":{"title":"Solidity (Ethereum)","alias":"sol","require":"clike","owner":"glachaud"},"solution-file":{"title":"Solution file","alias":"sln","owner":"RunDevelopment"},"soy":{"title":"Soy (Closure Template)","require":"markup-templating","owner":"Golmote"},"sparql":{"title":"SPARQL","require":"turtle","owner":"Triply-Dev","alias":"rq"},"splunk-spl":{"title":"Splunk SPL","owner":"RunDevelopment"},"sqf":{"title":"SQF: Status Quo Function (Arma 3)","require":"clike","owner":"RunDevelopment"},"sql":{"title":"SQL","owner":"multipetros"},"squirrel":{"title":"Squirrel","require":"clike","owner":"RunDevelopment"},"stan":{"title":"Stan","owner":"RunDevelopment"},"iecst":{"title":"Structured Text (IEC 61131-3)","owner":"serhioromano"},"stylus":{"title":"Stylus","owner":"vkbansal"},"swift":{"title":"Swift","require":"clike","owner":"chrischares"},"t4-templating":{"title":"T4 templating","owner":"RunDevelopment"},"t4-cs":{"title":"T4 Text Templates (C#)","require":["t4-templating","csharp"],"alias":"t4","owner":"RunDevelopment"},"t4-vb":{"title":"T4 Text Templates (VB)","require":["t4-templating","vbnet"],"owner":"RunDevelopment"},"tap":{"title":"TAP","owner":"isaacs","require":"yaml"},"tcl":{"title":"Tcl","owner":"PeterChaplin"},"tt2":{"title":"Template Toolkit 2","require":["clike","markup-templating"],"owner":"gflohr"},"textile":{"title":"Textile","require":"markup","optional":"css","owner":"Golmote"},"toml":{"title":"TOML","owner":"RunDevelopment"},"turtle":{"title":"Turtle","alias":"trig","aliasTitles":{"trig":"TriG"},"owner":"jakubklimek"},"twig":{"title":"Twig","require":"markup","owner":"brandonkelly"},"typescript":{"title":"TypeScript","require":"javascript","optional":"js-templates","alias":"ts","owner":"vkbansal"},"typoscript":{"title":"TypoScript","alias":"tsconfig","aliasTitles":{"tsconfig":"TSConfig"},"owner":"dkern"},"unrealscript":{"title":"UnrealScript","alias":["uscript","uc"],"owner":"RunDevelopment"},"uri":{"title":"URI","alias":"url","aliasTitles":{"url":"URL"},"owner":"RunDevelopment"},"v":{"title":"V","require":"clike","owner":"taggon"},"vala":{"title":"Vala","require":"clike","optional":"regex","owner":"TemplarVolk"},"vbnet":{"title":"VB.Net","require":"basic","owner":"Bigsby"},"velocity":{"title":"Velocity","require":"markup","owner":"Golmote"},"verilog":{"title":"Verilog","owner":"a-rey"},"vhdl":{"title":"VHDL","owner":"a-rey"},"vim":{"title":"vim","owner":"westonganger"},"visual-basic":{"title":"Visual Basic","alias":["vb","vba"],"aliasTitles":{"vba":"VBA"},"owner":"Golmote"},"warpscript":{"title":"WarpScript","owner":"RunDevelopment"},"wasm":{"title":"WebAssembly","owner":"Golmote"},"wiki":{"title":"Wiki markup","require":"markup","owner":"Golmote"},"wolfram":{"title":"Wolfram language","alias":["mathematica","nb","wl"],"aliasTitles":{"mathematica":"Mathematica","nb":"Mathematica Notebook"},"owner":"msollami"},"xeora":{"title":"Xeora","require":"markup","alias":"xeoracube","aliasTitles":{"xeoracube":"XeoraCube"},"owner":"freakmaxi"},"xml-doc":{"title":"XML doc (.net)","require":"markup","modify":["csharp","fsharp","vbnet"],"owner":"RunDevelopment"},"xojo":{"title":"Xojo (REALbasic)","owner":"Golmote"},"xquery":{"title":"XQuery","require":"markup","owner":"Golmote"},"yaml":{"title":"YAML","alias":"yml","owner":"hason"},"yang":{"title":"YANG","owner":"RunDevelopment"},"zig":{"title":"Zig","owner":"RunDevelopment"}},"plugins":{"meta":{"path":"plugins/{id}/prism-{id}","link":"plugins/{id}/"},"line-highlight":{"title":"Line Highlight","description":"Highlights specific lines and/or line ranges."},"line-numbers":{"title":"Line Numbers","description":"Line number at the beginning of code lines.","owner":"kuba-kubula"},"show-invisibles":{"title":"Show Invisibles","description":"Show hidden characters such as tabs and line breaks.","optional":["autolinker","data-uri-highlight"]},"autolinker":{"title":"Autolinker","description":"Converts URLs and emails in code to clickable links. Parses Markdown links in comments."},"wpd":{"title":"WebPlatform Docs","description":"Makes tokens link to WebPlatform.org documentation. The links open in a new tab."},"custom-class":{"title":"Custom Class","description":"This plugin allows you to prefix Prism's default classes (.comment can become .namespace--comment) or replace them with your defined ones (like .editor__comment). You can even add new classes.","owner":"dvkndn","noCSS":true},"file-highlight":{"title":"File Highlight","description":"Fetch external files and highlight them with Prism. Used on the Prism website itself.","noCSS":true},"show-language":{"title":"Show Language","description":"Display the highlighted language in code blocks (inline code does not show the label).","owner":"nauzilus","noCSS":true,"require":"toolbar"},"jsonp-highlight":{"title":"JSONP Highlight","description":"Fetch content with JSONP and highlight some interesting content (e.g. GitHub/Gists or Bitbucket API).","noCSS":true,"owner":"nauzilus"},"highlight-keywords":{"title":"Highlight Keywords","description":"Adds special CSS classes for each keyword matched in the code. For example, the keyword if will have the class keyword-if as well. You can have fine grained control over the appearance of each keyword by providing your own CSS rules.","owner":"vkbansal","noCSS":true},"remove-initial-line-feed":{"title":"Remove initial line feed","description":"Removes the initial line feed in code blocks.","owner":"Golmote","noCSS":true},"inline-color":{"title":"Inline color","description":"Adds a small inline preview for colors in style sheets.","require":"css-extras","owner":"RunDevelopment"},"previewers":{"title":"Previewers","description":"Previewers for angles, colors, gradients, easing and time.","require":"css-extras","owner":"Golmote"},"autoloader":{"title":"Autoloader","description":"Automatically loads the needed languages to highlight the code blocks.","owner":"Golmote","noCSS":true},"keep-markup":{"title":"Keep Markup","description":"Prevents custom markup from being dropped out during highlighting.","owner":"Golmote","optional":"normalize-whitespace","noCSS":true},"command-line":{"title":"Command Line","description":"Display a command line with a prompt and, optionally, the output/response from the commands.","owner":"chriswells0"},"unescaped-markup":{"title":"Unescaped Markup","description":"Write markup without having to escape anything."},"normalize-whitespace":{"title":"Normalize Whitespace","description":"Supports multiple operations to normalize whitespace in code blocks.","owner":"zeitgeist87","optional":"unescaped-markup","noCSS":true},"data-uri-highlight":{"title":"Data-URI Highlight","description":"Highlights data-URI contents.","owner":"Golmote","noCSS":true},"toolbar":{"title":"Toolbar","description":"Attach a toolbar for plugins to easily register buttons on the top of a code block.","owner":"mAAdhaTTah"},"copy-to-clipboard":{"title":"Copy to Clipboard Button","description":"Add a button that copies the code block to the clipboard when clicked.","owner":"mAAdhaTTah","require":"toolbar","noCSS":true},"download-button":{"title":"Download Button","description":"A button in the toolbar of a code block adding a convenient way to download a code file.","owner":"Golmote","require":"toolbar","noCSS":true},"match-braces":{"title":"Match braces","description":"Highlights matching braces.","owner":"RunDevelopment"},"diff-highlight":{"title":"Diff Highlight","description":"Highlights the code inside diff blocks.","owner":"RunDevelopment","require":"diff"},"filter-highlight-all":{"title":"Filter highlightAll","description":"Filters the elements the highlightAll and highlightAllUnder methods actually highlight.","owner":"RunDevelopment","noCSS":true},"treeview":{"title":"Treeview","description":"A language with special styles to highlight file system tree structures.","owner":"Golmote"}}}; if (typeof module !== 'undefined' && module.exports) { module.exports = components; } \ No newline at end of file diff --git a/components.json b/components.json index de649a8045..8f91b0381e 100644 --- a/components.json +++ b/components.json @@ -758,6 +758,7 @@ }, "log": { "title": "Log file", + "optional": "javastacktrace", "owner": "RunDevelopment" }, "lolcode": { diff --git a/components/prism-log.js b/components/prism-log.js index ecb62ff6a1..4ec02053f5 100644 --- a/components/prism-log.js +++ b/components/prism-log.js @@ -10,6 +10,18 @@ Prism.languages.log = { greedy: true, }, + 'exception': { + pattern: /(^|[^\w.])[a-z][\w.]*(?:Exception|Error):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/, + lookbehind: true, + greedy: true, + alias: ['javastacktrace', 'language-javastacktrace'], + inside: Prism.languages['javastacktrace'] || { + 'keyword': /\bat\b/, + 'function': /[a-z_][\w$]*(?=\()/, + 'punctuation': /[.:()]/ + } + }, + 'level': [ { pattern: /\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/, diff --git a/components/prism-log.min.js b/components/prism-log.min.js index ec2a8e6e81..73e60835b9 100644 --- a/components/prism-log.min.js +++ b/components/prism-log.min.js @@ -1 +1 @@ -Prism.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:https?|ftp|file):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/i,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp("\\b\\d{4}[-/]\\d{2}[-/]\\d{2}(?:T(?=\\d{1,2}:)|(?=\\s\\d{1,2}:))|\\b\\d{1,4}[-/ ](?:\\d{1,2}|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[-/ ]\\d{2,4}T?\\b|\\b(?:(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:\\s{1,2}(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec))?|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s{1,2}\\d{1,2}\\b","i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:true|false|null)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}; \ No newline at end of file +Prism.languages.log={string:{pattern:/"(?:[^"\\\r\n]|\\.)*"|'(?![st] | \w)(?:[^'\\\r\n]|\\.)*'/,greedy:!0},exception:{pattern:/(^|[^\w.])[a-z][\w.]*(?:Exception|Error):.*(?:(?:\r\n?|\n)[ \t]*(?:at[ \t].+|\.{3}.*|Caused by:.*))+(?:(?:\r\n?|\n)[ \t]*\.\.\. .*)?/,lookbehind:!0,greedy:!0,alias:["javastacktrace","language-javastacktrace"],inside:Prism.languages.javastacktrace||{keyword:/\bat\b/,function:/[a-z_][\w$]*(?=\()/,punctuation:/[.:()]/}},level:[{pattern:/\b(?:ALERT|CRIT|CRITICAL|EMERG|EMERGENCY|ERR|ERROR|FAILURE|FATAL|SEVERE)\b/,alias:["error","important"]},{pattern:/\b(?:WARN|WARNING|WRN)\b/,alias:["warning","important"]},{pattern:/\b(?:DISPLAY|INF|INFO|NOTICE|STATUS)\b/,alias:["info","keyword"]},{pattern:/\b(?:DBG|DEBUG|FINE)\b/,alias:["debug","keyword"]},{pattern:/\b(?:FINER|FINEST|TRACE|TRC|VERBOSE|VRB)\b/,alias:["trace","comment"]}],property:{pattern:/((?:^|[\]|])[ \t]*)[a-z_](?:[\w-]|\b\/\b)*(?:[. ]\(?\w(?:[\w-]|\b\/\b)*\)?)*:(?=\s)/im,lookbehind:!0},separator:{pattern:/(^|[^-+])-{3,}|={3,}|\*{3,}|- - /m,lookbehind:!0,alias:"comment"},url:/\b(?:https?|ftp|file):\/\/[^\s|,;'"]*[^\s|,;'">.]/,email:{pattern:/(^|\s)[-\w+.]+@[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)+(?=\s)/,lookbehind:!0,alias:"url"},"ip-address":{pattern:/\b(?:\d{1,3}(?:\.\d{1,3}){3})\b/i,alias:"constant"},"mac-address":{pattern:/\b[a-f0-9]{2}(?::[a-f0-9]{2}){5}\b/i,alias:"constant"},domain:{pattern:/(^|\s)[a-z][a-z0-9-]*(?:\.[a-z][a-z0-9-]*)*\.[a-z][a-z0-9-]+(?=\s)/,lookbehind:!0,alias:"constant"},uuid:{pattern:/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/i,alias:"constant"},hash:{pattern:/\b(?:[a-f0-9]{32}){1,2}\b/i,alias:"constant"},"file-path":{pattern:/\b[a-z]:[\\/][^\s|,;:(){}\[\]"']+|(^|[\s:\[\](>|])\.{0,2}\/\w[^\s|,;:(){}\[\]"']*/i,lookbehind:!0,greedy:!0,alias:"string"},date:{pattern:RegExp("\\b\\d{4}[-/]\\d{2}[-/]\\d{2}(?:T(?=\\d{1,2}:)|(?=\\s\\d{1,2}:))|\\b\\d{1,4}[-/ ](?:\\d{1,2}|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)[-/ ]\\d{2,4}T?\\b|\\b(?:(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:\\s{1,2}(?:Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec))?|Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s{1,2}\\d{1,2}\\b","i"),alias:"number"},time:{pattern:/\b\d{1,2}:\d{1,2}:\d{1,2}(?:[.,:]\d+)?(?:\s?[+-]\d{2}:?\d{2}|Z)?\b/,alias:"number"},boolean:/\b(?:true|false|null)\b/i,number:{pattern:/(^|[^.\w])(?:0x[a-f0-9]+|0o[0-7]+|0b[01]+|v?\d[\da-f]*(?:\.\d+)*(?:e[+-]?\d+)?[a-z]{0,3}\b)\b(?!\.\w)/i,lookbehind:!0},operator:/[;:?<=>~/@!$%&+\-|^(){}*#]/,punctuation:/[\[\].,]/}; \ No newline at end of file diff --git a/tests/languages/log!+javastacktrace/_hadoop_javastacktrace_inclusion.test b/tests/languages/log!+javastacktrace/_hadoop_javastacktrace_inclusion.test new file mode 100644 index 0000000000..9993da7931 --- /dev/null +++ b/tests/languages/log!+javastacktrace/_hadoop_javastacktrace_inclusion.test @@ -0,0 +1,1014 @@ +[2021-07-21 14:07:47.665]Container killed on request. Exit code is 143 +[2021-07-21 14:07:47.746]Container exited with a non-zero exit code 143. + +2021-07-21 14:08:47,137 INFO [main] mapreduce.Job (Job.java:printTaskEvents(1457)) - Task Id : attempt_1626702076395_0052_m_000404_1, Status : FAILED +[2021-07-21 14:07:48.433]Container [pid=33331,containerID=container_e102_1626702076395_0052_01_000877] is running beyond physical memory limits. Current usage: 2.5 GB of 2 GB physical memory used; 4.7 GB of 4.2 GB virtual memory used. Killing container. +Dump of the process-tree for container_e102_1626702076395_0052_01_000877 : + |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE + |- 33331 33328 33331 33331 (bash) 0 1 7065600 846 /bin/bash -c /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx3072m -Djava.io.tmpdir=/tmp/hadoop/nm-local-dir/usercache/ms26bybu/appcache/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 141.54.132.64 39863 attempt_1626702076395_0052_m_000404_1 112150186034029 1>/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stdout 2>/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stderr + |- 33340 33331 33331 33331 (java) 5424 755 5028823040 665860 /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx3072m -Djava.io.tmpdir=/tmp/hadoop/nm-local-dir/usercache/ms26bybu/appcache/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 141.54.132.64 39863 attempt_1626702076395_0052_m_000404_1 112150186034029 + +[2021-07-21 14:07:48.611]Container killed on request. Exit code is 143 +[2021-07-21 14:07:48.633]Container exited with a non-zero exit code 143. + +2021-07-21 14:08:47,233 INFO [main] mapreduce.Job (Job.java:monitorAndPrintJob(1431)) - Job job_1626702076395_0052 failed with state FAILED due to: Task failed task_1626702076395_0052_m_000000 +Job failed as tasks failed. failedMaps:1 failedReduces:0 + +2021-07-21 14:08:47,330 INFO [main] mapreduce.Job (Job.java:monitorAndPrintJob(1436)) - Counters: 14 + Job Counters + Failed map tasks=1436 + Killed map tasks=1527 + Killed reduce tasks=1 + Launched map tasks=1816 + Other local map tasks=1218 + Rack-local map tasks=598 + Total time spent by all maps in occupied slots (ms)=119609884 + Total time spent by all reduces in occupied slots (ms)=0 + Total time spent by all map tasks (ms)=59804942 + Total vcore-milliseconds taken by all map tasks=59804942 + Total megabyte-milliseconds taken by all map tasks=122480521216 + Map-Reduce Framework + CPU time spent (ms)=0 + Physical memory (bytes) snapshot=0 + Virtual memory (bytes) snapshot=0 +java.lang.RuntimeException: java.lang.RuntimeException: Job failed. + at org.netspeak.usage.Cli.run(Cli.java:272) + at picocli.CommandLine.executeUserObject(CommandLine.java:1919) + at picocli.CommandLine.access$1200(CommandLine.java:145) + at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2326) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2291) + at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159) + at picocli.CommandLine.execute(CommandLine.java:2058) + at org.netspeak.usage.Cli.main(Cli.java:292) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.apache.hadoop.util.RunJar.run(RunJar.java:239) + at org.apache.hadoop.util.RunJar.main(RunJar.java:153) +Caused by: java.lang.RuntimeException: Job failed. + at org.netspeak.hadoop.Merge.run(Merge.java:124) + at org.netspeak.usage.Cli.runHadoop(Cli.java:239) + at org.netspeak.usage.Cli.runWithExecption(Cli.java:259) + at org.netspeak.usage.Cli.run(Cli.java:270) + ... 14 more + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:47.665"], + ["punctuation", "]"], + "Container killed on request", + ["punctuation", "."], + " Exit code is ", + ["number", "143"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:47.746"], + ["punctuation", "]"], + "Container exited with a non", + ["operator", "-"], + "zero exit code ", + ["number", "143"], + ["punctuation", "."], + + ["date", "2021-07-21"], + ["time", "14:08:47,137"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "printTaskEvents", + ["operator", "("], + ["number", "1457"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Task Id ", + ["operator", ":"], + " attempt_1626702076395_0052_m_000404_1", + ["punctuation", ","], + " Status ", + ["operator", ":"], + " FAILED\r\n", + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.433"], + ["punctuation", "]"], + "Container ", + ["punctuation", "["], + "pid", + ["operator", "="], + ["number", "33331"], + ["punctuation", ","], + "containerID", + ["operator", "="], + "container_e102_1626702076395_0052_01_000877", + ["punctuation", "]"], + " is running beyond physical memory limits", + ["punctuation", "."], + " Current usage", + ["operator", ":"], + ["number", "2.5"], + " GB of ", + ["number", "2"], + " GB physical memory used", + ["operator", ";"], + ["number", "4.7"], + " GB of ", + ["number", "4.2"], + " GB virtual memory used", + ["punctuation", "."], + " Killing container", + ["punctuation", "."], + + "\r\nDump of the process", + ["operator", "-"], + "tree for container_e102_1626702076395_0052_01_000877 ", + ["operator", ":"], + + ["operator", "|"], + ["operator", "-"], + " PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME", + ["operator", "("], + "MILLIS", + ["operator", ")"], + " SYSTEM_TIME", + ["operator", "("], + "MILLIS", + ["operator", ")"], + " VMEM_USAGE", + ["operator", "("], + "BYTES", + ["operator", ")"], + " RSSMEM_USAGE", + ["operator", "("], + "PAGES", + ["operator", ")"], + " FULL_CMD_LINE\r\n ", + + ["operator", "|"], + ["operator", "-"], + ["number", "33331"], + ["number", "33328"], + ["number", "33331"], + ["number", "33331"], + ["operator", "("], + "bash", + ["operator", ")"], + ["number", "0"], + ["number", "1"], + ["number", "7065600"], + ["number", "846"], + ["file-path", "/bin/bash"], + ["operator", "-"], + "c ", + ["file-path", "/usr/lib/jvm/java-8-openjdk-amd64/bin/java"], + ["operator", "-"], + "Djava", + ["punctuation", "."], + "net", + ["punctuation", "."], + "preferIPv4Stack", + ["operator", "="], + ["boolean", "true"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "metrics", + ["punctuation", "."], + "log", + ["punctuation", "."], + "level", + ["operator", "="], + ["level", "WARN"], + ["operator", "-"], + "Xmx3072m ", + ["operator", "-"], + "Djava", + ["punctuation", "."], + "io", + ["punctuation", "."], + "tmpdir", + ["operator", "="], + ["operator", "/"], + "tmp", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "nm", + ["operator", "-"], + "local", + ["operator", "-"], + "dir", + ["operator", "/"], + "usercache", + ["operator", "/"], + "ms26bybu", + ["operator", "/"], + "appcache", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877", + ["operator", "/"], + "tmp ", + ["operator", "-"], + "Dlog4j", + ["punctuation", "."], + "configuration", + ["operator", "="], + "container", + ["operator", "-"], + "log4j", + ["punctuation", "."], + "properties ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "dir", + ["operator", "="], + ["operator", "/"], + "opt", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "logs", + ["operator", "/"], + "userlogs", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877 ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "filesize", + ["operator", "="], + ["number", "0"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logger", + ["operator", "="], + ["level", "INFO"], + ["punctuation", ","], + "CLA ", + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logfile", + ["operator", "="], + "syslog org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "mapred", + ["punctuation", "."], + "YarnChild ", + ["ip-address", "141.54.132.64"], + ["number", "39863"], + " attempt_1626702076395_0052_m_000404_1 ", + ["number", "112150186034029"], + ["number", "1"], + ["operator", ">"], + ["file-path", "/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stdout"], + ["number", "2"], + ["operator", ">"], + ["file-path", "/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stderr"], + + ["operator", "|"], + ["operator", "-"], + ["number", "33340"], + ["number", "33331"], + ["number", "33331"], + ["number", "33331"], + ["operator", "("], + "java", + ["operator", ")"], + ["number", "5424"], + ["number", "755"], + ["number", "5028823040"], + ["number", "665860"], + ["file-path", "/usr/lib/jvm/java-8-openjdk-amd64/bin/java"], + ["operator", "-"], + "Djava", + ["punctuation", "."], + "net", + ["punctuation", "."], + "preferIPv4Stack", + ["operator", "="], + ["boolean", "true"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "metrics", + ["punctuation", "."], + "log", + ["punctuation", "."], + "level", + ["operator", "="], + ["level", "WARN"], + ["operator", "-"], + "Xmx3072m ", + ["operator", "-"], + "Djava", + ["punctuation", "."], + "io", + ["punctuation", "."], + "tmpdir", + ["operator", "="], + ["operator", "/"], + "tmp", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "nm", + ["operator", "-"], + "local", + ["operator", "-"], + "dir", + ["operator", "/"], + "usercache", + ["operator", "/"], + "ms26bybu", + ["operator", "/"], + "appcache", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877", + ["operator", "/"], + "tmp ", + ["operator", "-"], + "Dlog4j", + ["punctuation", "."], + "configuration", + ["operator", "="], + "container", + ["operator", "-"], + "log4j", + ["punctuation", "."], + "properties ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "dir", + ["operator", "="], + ["operator", "/"], + "opt", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "logs", + ["operator", "/"], + "userlogs", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877 ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "filesize", + ["operator", "="], + ["number", "0"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logger", + ["operator", "="], + ["level", "INFO"], + ["punctuation", ","], + "CLA ", + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logfile", + ["operator", "="], + "syslog org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "mapred", + ["punctuation", "."], + "YarnChild ", + ["ip-address", "141.54.132.64"], + ["number", "39863"], + " attempt_1626702076395_0052_m_000404_1 ", + ["number", "112150186034029"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.611"], + ["punctuation", "]"], + "Container killed on request", + ["punctuation", "."], + " Exit code is ", + ["number", "143"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.633"], + ["punctuation", "]"], + "Container exited with a non", + ["operator", "-"], + "zero exit code ", + ["number", "143"], + ["punctuation", "."], + + ["date", "2021-07-21"], + ["time", "14:08:47,233"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "monitorAndPrintJob", + ["operator", "("], + ["number", "1431"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Job job_1626702076395_0052 failed with state FAILED due to", + ["operator", ":"], + " Task failed task_1626702076395_0052_m_000000\r\nJob failed as tasks failed", + ["punctuation", "."], + " failedMaps", + ["operator", ":"], + ["number", "1"], + " failedReduces", + ["operator", ":"], + ["number", "0"], + + ["date", "2021-07-21"], + ["time", "14:08:47,330"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "monitorAndPrintJob", + ["operator", "("], + ["number", "1436"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Counters", + ["operator", ":"], + ["number", "14"], + + "\r\n Job Counters\r\n Failed map tasks", + ["operator", "="], + ["number", "1436"], + + "\r\n Killed map tasks", + ["operator", "="], + ["number", "1527"], + + "\r\n Killed reduce tasks", + ["operator", "="], + ["number", "1"], + + "\r\n Launched map tasks", + ["operator", "="], + ["number", "1816"], + + "\r\n Other local map tasks", + ["operator", "="], + ["number", "1218"], + + "\r\n Rack", + ["operator", "-"], + "local map tasks", + ["operator", "="], + ["number", "598"], + + "\r\n Total time spent by all maps in occupied slots ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "119609884"], + + "\r\n Total time spent by all reduces in occupied slots ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "0"], + + "\r\n Total time spent by all map tasks ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "59804942"], + + "\r\n Total vcore", + ["operator", "-"], + "milliseconds taken by all map tasks", + ["operator", "="], + ["number", "59804942"], + + "\r\n Total megabyte", + ["operator", "-"], + "milliseconds taken by all map tasks", + ["operator", "="], + ["number", "122480521216"], + + "\r\n Map", + ["operator", "-"], + "Reduce Framework\r\n CPU time spent ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "0"], + + "\r\n Physical memory ", + ["operator", "("], + "bytes", + ["operator", ")"], + " snapshot", + ["operator", "="], + ["number", "0"], + + "\r\n Virtual memory ", + ["operator", "("], + "bytes", + ["operator", ")"], + " snapshot", + ["operator", "="], + ["number", "0"], + + ["exception", [ + ["summary", [ + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["message", "Job failed."] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "272"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "executeUserObject"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "1919"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "access$1200"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "145"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "executeUserObjectOfLastSubcommandWithSameParent"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2332"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2326"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2291"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$AbstractParseResultHandler"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2159"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2058"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "292"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + ["source", [ + ["keyword", "Native Method"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "NativeMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "62"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "DelegatingMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "DelegatingMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "43"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "Method"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "Method.java"], + ["punctuation", ":"], + ["line-number", "498"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."] + ]], + ["class-name", "RunJar"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "RunJar.java"], + ["punctuation", ":"], + ["line-number", "239"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."] + ]], + ["class-name", "RunJar"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "RunJar.java"], + ["punctuation", ":"], + ["line-number", "153"] + ]], + ["punctuation", ")"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["message", "Job failed."] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "hadoop", + ["punctuation", "."] + ]], + ["class-name", "Merge"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Merge.java"], + ["punctuation", ":"], + ["line-number", "124"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "runHadoop"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "239"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "runWithExecption"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "259"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "270"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "14"], + ["keyword", "more"] + ]] + ]] +] diff --git a/tests/languages/log!+javastacktrace/_java_stack_trace_inclusion.test b/tests/languages/log!+javastacktrace/_java_stack_trace_inclusion.test new file mode 100644 index 0000000000..361c9efe98 --- /dev/null +++ b/tests/languages/log!+javastacktrace/_java_stack_trace_inclusion.test @@ -0,0 +1,903 @@ +java.net.BindException: Address already in use + at sun.nio.ch.Net.bind0(Native Method) ~[na:1.8.0_171] + at sun.nio.ch.Net.bind(Net.java:433) ~[na:1.8.0_171] + at sun.nio.ch.Net.bind(Net.java:425) ~[na:1.8.0_171] + at sun.nio.ch.ServeISocketChannelImpl.bind(ServerSocketChannellmpl.java:223) ~[na:1.8.0_171] + +org.apache.maven.lifecycle.LifecycleExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500 + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:564) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143) + at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334) + at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125) + at org.apache.maven.cli.MavenCli.main(MavenCli.java:280) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) + at java.lang.reflect.Method.invoke(Method.java:585) + at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) + at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) + at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) + at org.codehaus.classworlds.Launcher.main(Launcher.java:375) +Caused by: org.apache.maven.plugin.MojoExecutionException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500 + at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174) + at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443) + at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539) + ... 16 more +Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500 + at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:102) + at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:162) + ... 18 more +Caused by: org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500 + at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:441) + at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:86) + ... 19 more +Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500 + at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:172) + at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:237) + at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifactMetadata(DefaultWagonManager.java:162) + at org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetadataManager.deploy(DefaultRepositoryMetadataManager.java:437) + ... 20 more + +---------------------------------------------------- + +[ + ["exception", [ + ["summary", [ + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "net"], + ["punctuation", "."], + ["class-name", "BindException"] + ]], + ["punctuation", ":"], + ["message", "Address already in use"] + ]], + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."] + ]], + ["class-name", "Net"], + ["punctuation", "."], + ["function", "bind0"], + ["punctuation", "("], + ["source", [ + ["keyword", "Native Method"] + ]], + ["punctuation", ")"] + ]], + " ~[na:1.8.0_171]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."] + ]], + ["class-name", "Net"], + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + ["source", [ + ["file", "Net.java"], + ["punctuation", ":"], + ["line-number", "433"] + ]], + ["punctuation", ")"] + ]], + " ~[na:1.8.0_171]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."] + ]], + ["class-name", "Net"], + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + ["source", [ + ["file", "Net.java"], + ["punctuation", ":"], + ["line-number", "425"] + ]], + ["punctuation", ")"] + ]], + " ~[na:1.8.0_171]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."] + ]], + ["class-name", "ServeISocketChannelImpl"], + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + ["source", [ + ["file", "ServerSocketChannellmpl.java"], + ["punctuation", ":"], + ["line-number", "223"] + ]], + ["punctuation", ")"] + ]], + " ~[na:1.8.0_171]" + ]], + + ["exception", [ + ["summary", [ + ["exceptions", [ + ["namespace", "org"], + ["punctuation", "."], + ["namespace", "apache"], + ["punctuation", "."], + ["namespace", "maven"], + ["punctuation", "."], + ["namespace", "lifecycle"], + ["punctuation", "."], + ["class-name", "LifecycleExecutionException"] + ]], + ["punctuation", ":"], + ["message", "Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeGoals"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "564"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeGoalWithLifecycle"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "480"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeGoal"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "459"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeGoalAndHandleFailures"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "311"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeTaskSegments"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "278"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "143"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."] + ]], + ["class-name", "DefaultMaven"], + ["punctuation", "."], + ["function", "doExecute"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultMaven.java"], + ["punctuation", ":"], + ["line-number", "334"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."] + ]], + ["class-name", "DefaultMaven"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultMaven.java"], + ["punctuation", ":"], + ["line-number", "125"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "cli", + ["punctuation", "."] + ]], + ["class-name", "MavenCli"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "MavenCli.java"], + ["punctuation", ":"], + ["line-number", "280"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + ["source", [ + ["keyword", "Native Method"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "NativeMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "39"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "DelegatingMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "DelegatingMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "25"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "Method"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "Method.java"], + ["punctuation", ":"], + ["line-number", "585"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."] + ]], + ["class-name", "Launcher"], + ["punctuation", "."], + ["function", "launchEnhanced"], + ["punctuation", "("], + ["source", [ + ["file", "Launcher.java"], + ["punctuation", ":"], + ["line-number", "315"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."] + ]], + ["class-name", "Launcher"], + ["punctuation", "."], + ["function", "launch"], + ["punctuation", "("], + ["source", [ + ["file", "Launcher.java"], + ["punctuation", ":"], + ["line-number", "255"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."] + ]], + ["class-name", "Launcher"], + ["punctuation", "."], + ["function", "mainWithExitCode"], + ["punctuation", "("], + ["source", [ + ["file", "Launcher.java"], + ["punctuation", ":"], + ["line-number", "430"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."] + ]], + ["class-name", "Launcher"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "Launcher.java"], + ["punctuation", ":"], + ["line-number", "375"] + ]], + ["punctuation", ")"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "org"], + ["punctuation", "."], + ["namespace", "apache"], + ["punctuation", "."], + ["namespace", "maven"], + ["punctuation", "."], + ["namespace", "plugin"], + ["punctuation", "."], + ["class-name", "MojoExecutionException"] + ]], + ["punctuation", ":"], + ["message", "Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "deploy", + ["punctuation", "."] + ]], + ["class-name", "DeployMojo"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "DeployMojo.java"], + ["punctuation", ":"], + ["line-number", "174"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."] + ]], + ["class-name", "DefaultPluginManager"], + ["punctuation", "."], + ["function", "executeMojo"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultPluginManager.java"], + ["punctuation", ":"], + ["line-number", "443"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."] + ]], + ["class-name", "DefaultLifecycleExecutor"], + ["punctuation", "."], + ["function", "executeGoals"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultLifecycleExecutor.java"], + ["punctuation", ":"], + ["line-number", "539"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "16"], + ["keyword", "more"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "org"], + ["punctuation", "."], + ["namespace", "apache"], + ["punctuation", "."], + ["namespace", "maven"], + ["punctuation", "."], + ["namespace", "artifact"], + ["punctuation", "."], + ["namespace", "deployer"], + ["punctuation", "."], + ["class-name", "ArtifactDeploymentException"] + ]], + ["punctuation", ":"], + ["message", "Error installing artifact's metadata: Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "deployer", + ["punctuation", "."] + ]], + ["class-name", "DefaultArtifactDeployer"], + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultArtifactDeployer.java"], + ["punctuation", ":"], + ["line-number", "102"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "deploy", + ["punctuation", "."] + ]], + ["class-name", "DeployMojo"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "DeployMojo.java"], + ["punctuation", ":"], + ["line-number", "162"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "18"], + ["keyword", "more"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "org"], + ["punctuation", "."], + ["namespace", "apache"], + ["punctuation", "."], + ["namespace", "maven"], + ["punctuation", "."], + ["namespace", "artifact"], + ["punctuation", "."], + ["namespace", "repository"], + ["punctuation", "."], + ["namespace", "metadata"], + ["punctuation", "."], + ["class-name", "RepositoryMetadataDeploymentException"] + ]], + ["punctuation", ":"], + ["message", "Error while deploying metadata: Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "repository", + ["punctuation", "."], + "metadata", + ["punctuation", "."] + ]], + ["class-name", "DefaultRepositoryMetadataManager"], + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultRepositoryMetadataManager.java"], + ["punctuation", ":"], + ["line-number", "441"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "deployer", + ["punctuation", "."] + ]], + ["class-name", "DefaultArtifactDeployer"], + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultArtifactDeployer.java"], + ["punctuation", ":"], + ["line-number", "86"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "19"], + ["keyword", "more"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "org"], + ["punctuation", "."], + ["namespace", "apache"], + ["punctuation", "."], + ["namespace", "maven"], + ["punctuation", "."], + ["namespace", "wagon"], + ["punctuation", "."], + ["class-name", "TransferFailedException"] + ]], + ["punctuation", ":"], + ["message", "Failed to transfer file: http://repo.xxxx.com/foo/bar.pom. Return code is: 500"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "wagon", + ["punctuation", "."], + "providers", + ["punctuation", "."], + "http", + ["punctuation", "."] + ]], + ["class-name", "LightweightHttpWagon"], + ["punctuation", "."], + ["function", "put"], + ["punctuation", "("], + ["source", [ + ["file", "LightweightHttpWagon.java"], + ["punctuation", ":"], + ["line-number", "172"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "manager", + ["punctuation", "."] + ]], + ["class-name", "DefaultWagonManager"], + ["punctuation", "."], + ["function", "putRemoteFile"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultWagonManager.java"], + ["punctuation", ":"], + ["line-number", "237"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "manager", + ["punctuation", "."] + ]], + ["class-name", "DefaultWagonManager"], + ["punctuation", "."], + ["function", "putArtifactMetadata"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultWagonManager.java"], + ["punctuation", ":"], + ["line-number", "162"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "repository", + ["punctuation", "."], + "metadata", + ["punctuation", "."] + ]], + ["class-name", "DefaultRepositoryMetadataManager"], + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + ["source", [ + ["file", "DefaultRepositoryMetadataManager.java"], + ["punctuation", ":"], + ["line-number", "437"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "20"], + ["keyword", "more"] + ]] + ]] +] diff --git a/tests/languages/log!+javastacktrace/_minecraft_javastacktrace_inclusion.test b/tests/languages/log!+javastacktrace/_minecraft_javastacktrace_inclusion.test new file mode 100644 index 0000000000..52d67c66cf --- /dev/null +++ b/tests/languages/log!+javastacktrace/_minecraft_javastacktrace_inclusion.test @@ -0,0 +1,408 @@ +[07:28:17] [Server thread/INFO] [net.minecraft.server.dedicated.DedicatedServer]: Starting minecraft server version 1.12.2 +[07:28:17] [Server thread/INFO] [FML]: MinecraftForge v14.23.5.2847 Initialized +[07:28:17] [Server thread/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. +[07:28:18] [Server thread/INFO] [FML]: Invalid recipe found with multiple oredict ingredients in the same ingredient... +[07:28:19] [Server thread/INFO] [FML]: Replaced 1227 ore ingredients +[07:28:19] [Server thread/INFO] [FML]: Searching /home/minecraft/multicraft/servers/server99505/./mods for mods +[07:28:21] [Server thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load +[07:28:21] [Server thread/WARN] [FML]: Missing English translation for FML: assets/fml/lang/en_us.lang +[07:28:21] [Server thread/FATAL] [FML]: net.minecraftforge.fml.common.MissingModsException: Mod thaumcraft (Thaumcraft) requires [baubles@[1.5.2,)] +[07:28:21] [Server thread/ERROR] [net.minecraft.server.MinecraftServer]: Encountered an unexpected exception +net.minecraftforge.fml.common.MissingModsException: Mod thaumcraft (Thaumcraft) requires [baubles@[1.5.2,)] + at net.minecraftforge.fml.common.Loader.sortModList(Loader.java:266) ~[Loader.class:?] + at net.minecraftforge.fml.common.Loader.loadMods(Loader.java:572) ~[Loader.class:?] + at net.minecraftforge.fml.server.FMLServerHandler.beginServerLoading(FMLServerHandler.java:98) ~[FMLServerHandler.class:?] + at net.minecraftforge.fml.common.FMLCommonHandler.onServerStart(FMLCommonHandler.java:333) ~[FMLCommonHandler.class:?] + at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:125) ~[nz.class:?] + at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:486) [MinecraftServer.class:?] + at java.lang.Thread.run(Thread.java:748) [?:1.8.0_222] + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["time", "07:28:17"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."], + "dedicated", + ["punctuation", "."], + "DedicatedServer", + ["punctuation", "]"], + ["operator", ":"], + " Starting minecraft server version ", + ["number", "1.12.2"], + + ["punctuation", "["], + ["time", "07:28:17"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " MinecraftForge ", + ["number", "v14.23.5.2847"], + " Initialized\r\n", + + ["punctuation", "["], + ["time", "07:28:17"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Starts to replace vanilla recipe ingredients with ore ingredients", + ["punctuation", "."], + + ["punctuation", "["], + ["time", "07:28:18"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Invalid recipe found with multiple oredict ingredients in the same ingredient", + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + + ["punctuation", "["], + ["time", "07:28:19"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Replaced ", + ["number", "1227"], + " ore ingredients\r\n", + + ["punctuation", "["], + ["time", "07:28:19"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Searching ", + ["file-path", "/home/minecraft/multicraft/servers/server99505/./mods"], + " for mods\r\n", + + ["punctuation", "["], + ["time", "07:28:21"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "INFO"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Forge Mod Loader has identified ", + ["number", "5"], + " mods to load\r\n", + + ["punctuation", "["], + ["time", "07:28:21"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "WARN"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " Missing English translation for FML", + ["operator", ":"], + " assets", + ["operator", "/"], + "fml", + ["operator", "/"], + "lang", + ["operator", "/"], + "en_us", + ["punctuation", "."], + "lang\r\n", + + ["punctuation", "["], + ["time", "07:28:21"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "FATAL"], + ["punctuation", "]"], + ["punctuation", "["], + "FML", + ["punctuation", "]"], + ["operator", ":"], + " net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."], + "MissingModsException", + ["operator", ":"], + " Mod thaumcraft ", + ["operator", "("], + "Thaumcraft", + ["operator", ")"], + " requires ", + ["punctuation", "["], + "baubles", + ["operator", "@"], + ["punctuation", "["], + ["number", "1.5.2"], + ["punctuation", ","], + ["operator", ")"], + ["punctuation", "]"], + + ["punctuation", "["], + ["time", "07:28:21"], + ["punctuation", "]"], + ["punctuation", "["], + "Server thread", + ["operator", "/"], + ["level", "ERROR"], + ["punctuation", "]"], + ["punctuation", "["], + "net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."], + "MinecraftServer", + ["punctuation", "]"], + ["operator", ":"], + " Encountered an unexpected exception\r\n", + + ["exception", [ + ["summary", [ + ["exceptions", [ + ["namespace", "net"], + ["punctuation", "."], + ["namespace", "minecraftforge"], + ["punctuation", "."], + ["namespace", "fml"], + ["punctuation", "."], + ["namespace", "common"], + ["punctuation", "."], + ["class-name", "MissingModsException"] + ]], + ["punctuation", ":"], + ["message", "Mod thaumcraft (Thaumcraft) requires [baubles@[1.5.2,)]"] + ]], + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."] + ]], + ["class-name", "Loader"], + ["punctuation", "."], + ["function", "sortModList"], + ["punctuation", "("], + ["source", [ + ["file", "Loader.java"], + ["punctuation", ":"], + ["line-number", "266"] + ]], + ["punctuation", ")"] + ]], + " ~[Loader.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."] + ]], + ["class-name", "Loader"], + ["punctuation", "."], + ["function", "loadMods"], + ["punctuation", "("], + ["source", [ + ["file", "Loader.java"], + ["punctuation", ":"], + ["line-number", "572"] + ]], + ["punctuation", ")"] + ]], + " ~[Loader.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "server", + ["punctuation", "."] + ]], + ["class-name", "FMLServerHandler"], + ["punctuation", "."], + ["function", "beginServerLoading"], + ["punctuation", "("], + ["source", [ + ["file", "FMLServerHandler.java"], + ["punctuation", ":"], + ["line-number", "98"] + ]], + ["punctuation", ")"] + ]], + " ~[FMLServerHandler.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."] + ]], + ["class-name", "FMLCommonHandler"], + ["punctuation", "."], + ["function", "onServerStart"], + ["punctuation", "("], + ["source", [ + ["file", "FMLCommonHandler.java"], + ["punctuation", ":"], + ["line-number", "333"] + ]], + ["punctuation", ")"] + ]], + " ~[FMLCommonHandler.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."], + "dedicated", + ["punctuation", "."] + ]], + ["class-name", "DedicatedServer"], + ["punctuation", "."], + ["function", "func_71197_b"], + ["punctuation", "("], + ["source", [ + ["file", "DedicatedServer.java"], + ["punctuation", ":"], + ["line-number", "125"] + ]], + ["punctuation", ")"] + ]], + " ~[nz.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."] + ]], + ["class-name", "MinecraftServer"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "MinecraftServer.java"], + ["punctuation", ":"], + ["line-number", "486"] + ]], + ["punctuation", ")"] + ]], + " [MinecraftServer.class:?]\r\n", + + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."] + ]], + ["class-name", "Thread"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Thread.java"], + ["punctuation", ":"], + ["line-number", "748"] + ]], + ["punctuation", ")"] + ]], + " [?:1.8.0_222]" + ]] +] diff --git a/tests/languages/log!+javastacktrace/exception_javastacktrace_inclusion.test b/tests/languages/log!+javastacktrace/exception_javastacktrace_inclusion.test new file mode 100644 index 0000000000..d99b6d85ad --- /dev/null +++ b/tests/languages/log!+javastacktrace/exception_javastacktrace_inclusion.test @@ -0,0 +1,438 @@ +[2021-07-21 14:07:48.633] ERR java.lang.RuntimeException: java.lang.RuntimeException: Job failed. + at org.netspeak.usage.Cli.run(Cli.java:272) + at picocli.CommandLine.executeUserObject(CommandLine.java:1919) + at picocli.CommandLine.access$1200(CommandLine.java:145) + at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2326) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2291) + at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159) + at picocli.CommandLine.execute(CommandLine.java:2058) + at org.netspeak.usage.Cli.main(Cli.java:292) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.apache.hadoop.util.RunJar.run(RunJar.java:239) + at org.apache.hadoop.util.RunJar.main(RunJar.java:153) +Caused by: java.lang.RuntimeException: Job failed. + at org.netspeak.hadoop.Merge.run(Merge.java:124) + at org.netspeak.usage.Cli.runHadoop(Cli.java:239) + at org.netspeak.usage.Cli.runWithExecption(Cli.java:259) + at org.netspeak.usage.Cli.run(Cli.java:270) + ... 14 more + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.633"], + ["punctuation", "]"], + ["level", "ERR"], + ["exception", [ + ["summary", [ + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["message", "Job failed."] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "272"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "executeUserObject"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "1919"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "access$1200"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "145"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "executeUserObjectOfLastSubcommandWithSameParent"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2332"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2326"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$RunLast"], + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2291"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine$AbstractParseResultHandler"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2159"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "picocli", + ["punctuation", "."] + ]], + ["class-name", "CommandLine"], + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + ["source", [ + ["file", "CommandLine.java"], + ["punctuation", ":"], + ["line-number", "2058"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "292"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + ["source", [ + ["keyword", "Native Method"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "NativeMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "NativeMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "62"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "DelegatingMethodAccessorImpl"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "DelegatingMethodAccessorImpl.java"], + ["punctuation", ":"], + ["line-number", "43"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."] + ]], + ["class-name", "Method"], + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + ["source", [ + ["file", "Method.java"], + ["punctuation", ":"], + ["line-number", "498"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."] + ]], + ["class-name", "RunJar"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "RunJar.java"], + ["punctuation", ":"], + ["line-number", "239"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."] + ]], + ["class-name", "RunJar"], + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + ["source", [ + ["file", "RunJar.java"], + ["punctuation", ":"], + ["line-number", "153"] + ]], + ["punctuation", ")"] + ]], + ["summary", [ + ["keyword", "Caused by"], + ["punctuation", ":"], + ["exceptions", [ + ["namespace", "java"], + ["punctuation", "."], + ["namespace", "lang"], + ["punctuation", "."], + ["class-name", "RuntimeException"] + ]], + ["punctuation", ":"], + ["message", "Job failed."] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "hadoop", + ["punctuation", "."] + ]], + ["class-name", "Merge"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Merge.java"], + ["punctuation", ":"], + ["line-number", "124"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "runHadoop"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "239"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "runWithExecption"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "259"] + ]], + ["punctuation", ")"] + ]], + ["stack-frame", [ + ["keyword", "at"], + ["namespace", [ + "org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."] + ]], + ["class-name", "Cli"], + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + ["source", [ + ["file", "Cli.java"], + ["punctuation", ":"], + ["line-number", "270"] + ]], + ["punctuation", ")"] + ]], + ["more", [ + ["punctuation", "..."], + ["number", "14"], + ["keyword", "more"] + ]] + ]] +] diff --git a/tests/languages/log/_hadoop.test b/tests/languages/log/_hadoop.test new file mode 100644 index 0000000000..7d55346f29 --- /dev/null +++ b/tests/languages/log/_hadoop.test @@ -0,0 +1,948 @@ +[2021-07-21 14:07:47.665]Container killed on request. Exit code is 143 +[2021-07-21 14:07:47.746]Container exited with a non-zero exit code 143. + +2021-07-21 14:08:47,137 INFO [main] mapreduce.Job (Job.java:printTaskEvents(1457)) - Task Id : attempt_1626702076395_0052_m_000404_1, Status : FAILED +[2021-07-21 14:07:48.433]Container [pid=33331,containerID=container_e102_1626702076395_0052_01_000877] is running beyond physical memory limits. Current usage: 2.5 GB of 2 GB physical memory used; 4.7 GB of 4.2 GB virtual memory used. Killing container. +Dump of the process-tree for container_e102_1626702076395_0052_01_000877 : + |- PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME(MILLIS) SYSTEM_TIME(MILLIS) VMEM_USAGE(BYTES) RSSMEM_USAGE(PAGES) FULL_CMD_LINE + |- 33331 33328 33331 33331 (bash) 0 1 7065600 846 /bin/bash -c /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx3072m -Djava.io.tmpdir=/tmp/hadoop/nm-local-dir/usercache/ms26bybu/appcache/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 141.54.132.64 39863 attempt_1626702076395_0052_m_000404_1 112150186034029 1>/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stdout 2>/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stderr + |- 33340 33331 33331 33331 (java) 5424 755 5028823040 665860 /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Djava.net.preferIPv4Stack=true -Dhadoop.metrics.log.level=WARN -Xmx3072m -Djava.io.tmpdir=/tmp/hadoop/nm-local-dir/usercache/ms26bybu/appcache/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/tmp -Dlog4j.configuration=container-log4j.properties -Dyarn.app.container.log.dir=/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877 -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA -Dhadoop.root.logfile=syslog org.apache.hadoop.mapred.YarnChild 141.54.132.64 39863 attempt_1626702076395_0052_m_000404_1 112150186034029 + +[2021-07-21 14:07:48.611]Container killed on request. Exit code is 143 +[2021-07-21 14:07:48.633]Container exited with a non-zero exit code 143. + +2021-07-21 14:08:47,233 INFO [main] mapreduce.Job (Job.java:monitorAndPrintJob(1431)) - Job job_1626702076395_0052 failed with state FAILED due to: Task failed task_1626702076395_0052_m_000000 +Job failed as tasks failed. failedMaps:1 failedReduces:0 + +2021-07-21 14:08:47,330 INFO [main] mapreduce.Job (Job.java:monitorAndPrintJob(1436)) - Counters: 14 + Job Counters + Failed map tasks=1436 + Killed map tasks=1527 + Killed reduce tasks=1 + Launched map tasks=1816 + Other local map tasks=1218 + Rack-local map tasks=598 + Total time spent by all maps in occupied slots (ms)=119609884 + Total time spent by all reduces in occupied slots (ms)=0 + Total time spent by all map tasks (ms)=59804942 + Total vcore-milliseconds taken by all map tasks=59804942 + Total megabyte-milliseconds taken by all map tasks=122480521216 + Map-Reduce Framework + CPU time spent (ms)=0 + Physical memory (bytes) snapshot=0 + Virtual memory (bytes) snapshot=0 +java.lang.RuntimeException: java.lang.RuntimeException: Job failed. + at org.netspeak.usage.Cli.run(Cli.java:272) + at picocli.CommandLine.executeUserObject(CommandLine.java:1919) + at picocli.CommandLine.access$1200(CommandLine.java:145) + at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2326) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2291) + at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159) + at picocli.CommandLine.execute(CommandLine.java:2058) + at org.netspeak.usage.Cli.main(Cli.java:292) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.apache.hadoop.util.RunJar.run(RunJar.java:239) + at org.apache.hadoop.util.RunJar.main(RunJar.java:153) +Caused by: java.lang.RuntimeException: Job failed. + at org.netspeak.hadoop.Merge.run(Merge.java:124) + at org.netspeak.usage.Cli.runHadoop(Cli.java:239) + at org.netspeak.usage.Cli.runWithExecption(Cli.java:259) + at org.netspeak.usage.Cli.run(Cli.java:270) + ... 14 more + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:47.665"], + ["punctuation", "]"], + "Container killed on request", + ["punctuation", "."], + " Exit code is ", + ["number", "143"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:47.746"], + ["punctuation", "]"], + "Container exited with a non", + ["operator", "-"], + "zero exit code ", + ["number", "143"], + ["punctuation", "."], + + ["date", "2021-07-21"], + ["time", "14:08:47,137"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "printTaskEvents", + ["operator", "("], + ["number", "1457"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Task Id ", + ["operator", ":"], + " attempt_1626702076395_0052_m_000404_1", + ["punctuation", ","], + " Status ", + ["operator", ":"], + " FAILED\r\n", + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.433"], + ["punctuation", "]"], + "Container ", + ["punctuation", "["], + "pid", + ["operator", "="], + ["number", "33331"], + ["punctuation", ","], + "containerID", + ["operator", "="], + "container_e102_1626702076395_0052_01_000877", + ["punctuation", "]"], + " is running beyond physical memory limits", + ["punctuation", "."], + " Current usage", + ["operator", ":"], + ["number", "2.5"], + " GB of ", + ["number", "2"], + " GB physical memory used", + ["operator", ";"], + ["number", "4.7"], + " GB of ", + ["number", "4.2"], + " GB virtual memory used", + ["punctuation", "."], + " Killing container", + ["punctuation", "."], + + "\r\nDump of the process", + ["operator", "-"], + "tree for container_e102_1626702076395_0052_01_000877 ", + ["operator", ":"], + + ["operator", "|"], + ["operator", "-"], + " PID PPID PGRPID SESSID CMD_NAME USER_MODE_TIME", + ["operator", "("], + "MILLIS", + ["operator", ")"], + " SYSTEM_TIME", + ["operator", "("], + "MILLIS", + ["operator", ")"], + " VMEM_USAGE", + ["operator", "("], + "BYTES", + ["operator", ")"], + " RSSMEM_USAGE", + ["operator", "("], + "PAGES", + ["operator", ")"], + " FULL_CMD_LINE\r\n ", + + ["operator", "|"], + ["operator", "-"], + ["number", "33331"], + ["number", "33328"], + ["number", "33331"], + ["number", "33331"], + ["operator", "("], + "bash", + ["operator", ")"], + ["number", "0"], + ["number", "1"], + ["number", "7065600"], + ["number", "846"], + ["file-path", "/bin/bash"], + ["operator", "-"], + "c ", + ["file-path", "/usr/lib/jvm/java-8-openjdk-amd64/bin/java"], + ["operator", "-"], + "Djava", + ["punctuation", "."], + "net", + ["punctuation", "."], + "preferIPv4Stack", + ["operator", "="], + ["boolean", "true"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "metrics", + ["punctuation", "."], + "log", + ["punctuation", "."], + "level", + ["operator", "="], + ["level", "WARN"], + ["operator", "-"], + "Xmx3072m ", + ["operator", "-"], + "Djava", + ["punctuation", "."], + "io", + ["punctuation", "."], + "tmpdir", + ["operator", "="], + ["operator", "/"], + "tmp", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "nm", + ["operator", "-"], + "local", + ["operator", "-"], + "dir", + ["operator", "/"], + "usercache", + ["operator", "/"], + "ms26bybu", + ["operator", "/"], + "appcache", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877", + ["operator", "/"], + "tmp ", + ["operator", "-"], + "Dlog4j", + ["punctuation", "."], + "configuration", + ["operator", "="], + "container", + ["operator", "-"], + "log4j", + ["punctuation", "."], + "properties ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "dir", + ["operator", "="], + ["operator", "/"], + "opt", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "logs", + ["operator", "/"], + "userlogs", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877 ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "filesize", + ["operator", "="], + ["number", "0"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logger", + ["operator", "="], + ["level", "INFO"], + ["punctuation", ","], + "CLA ", + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logfile", + ["operator", "="], + "syslog org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "mapred", + ["punctuation", "."], + "YarnChild ", + ["ip-address", "141.54.132.64"], + ["number", "39863"], + " attempt_1626702076395_0052_m_000404_1 ", + ["number", "112150186034029"], + ["number", "1"], + ["operator", ">"], + ["file-path", "/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stdout"], + ["number", "2"], + ["operator", ">"], + ["file-path", "/opt/hadoop/logs/userlogs/application_1626702076395_0052/container_e102_1626702076395_0052_01_000877/stderr"], + + ["operator", "|"], + ["operator", "-"], + ["number", "33340"], + ["number", "33331"], + ["number", "33331"], + ["number", "33331"], + ["operator", "("], + "java", + ["operator", ")"], + ["number", "5424"], + ["number", "755"], + ["number", "5028823040"], + ["number", "665860"], + ["file-path", "/usr/lib/jvm/java-8-openjdk-amd64/bin/java"], + ["operator", "-"], + "Djava", + ["punctuation", "."], + "net", + ["punctuation", "."], + "preferIPv4Stack", + ["operator", "="], + ["boolean", "true"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "metrics", + ["punctuation", "."], + "log", + ["punctuation", "."], + "level", + ["operator", "="], + ["level", "WARN"], + ["operator", "-"], + "Xmx3072m ", + ["operator", "-"], + "Djava", + ["punctuation", "."], + "io", + ["punctuation", "."], + "tmpdir", + ["operator", "="], + ["operator", "/"], + "tmp", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "nm", + ["operator", "-"], + "local", + ["operator", "-"], + "dir", + ["operator", "/"], + "usercache", + ["operator", "/"], + "ms26bybu", + ["operator", "/"], + "appcache", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877", + ["operator", "/"], + "tmp ", + ["operator", "-"], + "Dlog4j", + ["punctuation", "."], + "configuration", + ["operator", "="], + "container", + ["operator", "-"], + "log4j", + ["punctuation", "."], + "properties ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "dir", + ["operator", "="], + ["operator", "/"], + "opt", + ["operator", "/"], + "hadoop", + ["operator", "/"], + "logs", + ["operator", "/"], + "userlogs", + ["operator", "/"], + "application_1626702076395_0052", + ["operator", "/"], + "container_e102_1626702076395_0052_01_000877 ", + ["operator", "-"], + "Dyarn", + ["punctuation", "."], + "app", + ["punctuation", "."], + "container", + ["punctuation", "."], + "log", + ["punctuation", "."], + "filesize", + ["operator", "="], + ["number", "0"], + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logger", + ["operator", "="], + ["level", "INFO"], + ["punctuation", ","], + "CLA ", + ["operator", "-"], + "Dhadoop", + ["punctuation", "."], + "root", + ["punctuation", "."], + "logfile", + ["operator", "="], + "syslog org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "mapred", + ["punctuation", "."], + "YarnChild ", + ["ip-address", "141.54.132.64"], + ["number", "39863"], + " attempt_1626702076395_0052_m_000404_1 ", + ["number", "112150186034029"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.611"], + ["punctuation", "]"], + "Container killed on request", + ["punctuation", "."], + " Exit code is ", + ["number", "143"], + + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.633"], + ["punctuation", "]"], + "Container exited with a non", + ["operator", "-"], + "zero exit code ", + ["number", "143"], + ["punctuation", "."], + + ["date", "2021-07-21"], + ["time", "14:08:47,233"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "monitorAndPrintJob", + ["operator", "("], + ["number", "1431"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Job job_1626702076395_0052 failed with state FAILED due to", + ["operator", ":"], + " Task failed task_1626702076395_0052_m_000000\r\nJob failed as tasks failed", + ["punctuation", "."], + " failedMaps", + ["operator", ":"], + ["number", "1"], + " failedReduces", + ["operator", ":"], + ["number", "0"], + + ["date", "2021-07-21"], + ["time", "14:08:47,330"], + ["level", "INFO"], + ["punctuation", "["], + "main", + ["punctuation", "]"], + " mapreduce", + ["punctuation", "."], + "Job ", + ["operator", "("], + "Job", + ["punctuation", "."], + "java", + ["operator", ":"], + "monitorAndPrintJob", + ["operator", "("], + ["number", "1436"], + ["operator", ")"], + ["operator", ")"], + ["operator", "-"], + " Counters", + ["operator", ":"], + ["number", "14"], + + "\r\n Job Counters\r\n Failed map tasks", + ["operator", "="], + ["number", "1436"], + + "\r\n Killed map tasks", + ["operator", "="], + ["number", "1527"], + + "\r\n Killed reduce tasks", + ["operator", "="], + ["number", "1"], + + "\r\n Launched map tasks", + ["operator", "="], + ["number", "1816"], + + "\r\n Other local map tasks", + ["operator", "="], + ["number", "1218"], + + "\r\n Rack", + ["operator", "-"], + "local map tasks", + ["operator", "="], + ["number", "598"], + + "\r\n Total time spent by all maps in occupied slots ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "119609884"], + + "\r\n Total time spent by all reduces in occupied slots ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "0"], + + "\r\n Total time spent by all map tasks ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "59804942"], + + "\r\n Total vcore", + ["operator", "-"], + "milliseconds taken by all map tasks", + ["operator", "="], + ["number", "59804942"], + + "\r\n Total megabyte", + ["operator", "-"], + "milliseconds taken by all map tasks", + ["operator", "="], + ["number", "122480521216"], + + "\r\n Map", + ["operator", "-"], + "Reduce Framework\r\n CPU time spent ", + ["operator", "("], + "ms", + ["operator", ")"], + ["operator", "="], + ["number", "0"], + + "\r\n Physical memory ", + ["operator", "("], + "bytes", + ["operator", ")"], + " snapshot", + ["operator", "="], + ["number", "0"], + + "\r\n Virtual memory ", + ["operator", "("], + "bytes", + ["operator", ")"], + " snapshot", + ["operator", "="], + ["number", "0"], + + ["exception", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " Job failed", + ["punctuation", "."], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "272", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "executeUserObject"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "1919", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "access$1200"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "145", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "executeUserObjectOfLastSubcommandWithSameParent"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2332", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2326", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2291", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$AbstractParseResultHandler", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2159", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2058", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "292", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + "Native Method", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "NativeMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "62", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "43", + ["punctuation", ")"], + + ["keyword", "at"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "Method", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "Method", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "498", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."], + "RunJar", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "RunJar", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "239", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."], + "RunJar", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "RunJar", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "153", + ["punctuation", ")"], + + "\r\nCaused by", + ["punctuation", ":"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " Job failed", + ["punctuation", "."], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "Merge", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Merge", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "124", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "runHadoop"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "239", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "runWithExecption"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "259", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "270", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 14 more" + ]] +] diff --git a/tests/languages/log/_java_stack_trace.test b/tests/languages/log/_java_stack_trace.test index 2b974a8b9b..2eeb1261a7 100644 --- a/tests/languages/log/_java_stack_trace.test +++ b/tests/languages/log/_java_stack_trace.test @@ -45,718 +45,837 @@ Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer fi ---------------------------------------------------- [ - ["property", "java.net.BindException:"], - " Address already in use\r\n\tat sun", - ["punctuation", "."], - "nio", - ["punctuation", "."], - "ch", - ["punctuation", "."], - "Net", - ["punctuation", "."], - "bind0", - ["operator", "("], - "Native Method", - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "na", - ["operator", ":"], - "1", - ["punctuation", "."], - "8", - ["punctuation", "."], - "0_171", - ["punctuation", "]"], - - "\r\n\tat sun", - ["punctuation", "."], - "nio", - ["punctuation", "."], - "ch", - ["punctuation", "."], - "Net", - ["punctuation", "."], - "bind", - ["operator", "("], - "Net", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "433"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "na", - ["operator", ":"], - "1", - ["punctuation", "."], - "8", - ["punctuation", "."], - "0_171", - ["punctuation", "]"], - - "\r\n\tat sun", - ["punctuation", "."], - "nio", - ["punctuation", "."], - "ch", - ["punctuation", "."], - "Net", - ["punctuation", "."], - "bind", - ["operator", "("], - "Net", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "425"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "na", - ["operator", ":"], - "1", - ["punctuation", "."], - "8", - ["punctuation", "."], - "0_171", - ["punctuation", "]"], - - "\r\n\tat sun", - ["punctuation", "."], - "nio", - ["punctuation", "."], - "ch", - ["punctuation", "."], - "ServeISocketChannelImpl", - ["punctuation", "."], - "bind", - ["operator", "("], - "ServerSocketChannellmpl", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "223"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "na", - ["operator", ":"], - "1", - ["punctuation", "."], - "8", - ["punctuation", "."], - "0_171", - ["punctuation", "]"], - - ["property", "org.apache.maven.lifecycle.LifecycleExecutionException:"], - " Error installing artifact's metadata", - ["operator", ":"], - " Error while deploying metadata", - ["operator", ":"], - " Failed to transfer file", - ["operator", ":"], - ["url", "http://repo.xxxx.com/foo/bar.pom"], - ["punctuation", "."], - " Return code is", - ["operator", ":"], - ["number", "500"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeGoals", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "564"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeGoalWithLifecycle", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "480"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeGoal", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "459"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeGoalAndHandleFailures", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "311"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeTaskSegments", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "278"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "execute", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "143"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "DefaultMaven", - ["punctuation", "."], - "doExecute", - ["operator", "("], - "DefaultMaven", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "334"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "DefaultMaven", - ["punctuation", "."], - "execute", - ["operator", "("], - "DefaultMaven", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "125"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "cli", - ["punctuation", "."], - "MavenCli", - ["punctuation", "."], - "main", - ["operator", "("], - "MavenCli", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "280"], - ["operator", ")"], - - "\r\n at sun", - ["punctuation", "."], - "reflect", - ["punctuation", "."], - "NativeMethodAccessorImpl", - ["punctuation", "."], - "invoke0", - ["operator", "("], - "Native Method", - ["operator", ")"], - - "\r\n at sun", - ["punctuation", "."], - "reflect", - ["punctuation", "."], - "NativeMethodAccessorImpl", - ["punctuation", "."], - "invoke", - ["operator", "("], - "NativeMethodAccessorImpl", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "39"], - ["operator", ")"], - - "\r\n at sun", - ["punctuation", "."], - "reflect", - ["punctuation", "."], - "DelegatingMethodAccessorImpl", - ["punctuation", "."], - "invoke", - ["operator", "("], - "DelegatingMethodAccessorImpl", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "25"], - ["operator", ")"], - - "\r\n at java", - ["punctuation", "."], - "lang", - ["punctuation", "."], - "reflect", - ["punctuation", "."], - "Method", - ["punctuation", "."], - "invoke", - ["operator", "("], - "Method", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "585"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "codehaus", - ["punctuation", "."], - "classworlds", - ["punctuation", "."], - "Launcher", - ["punctuation", "."], - "launchEnhanced", - ["operator", "("], - "Launcher", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "315"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "codehaus", - ["punctuation", "."], - "classworlds", - ["punctuation", "."], - "Launcher", - ["punctuation", "."], - "launch", - ["operator", "("], - "Launcher", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "255"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "codehaus", - ["punctuation", "."], - "classworlds", - ["punctuation", "."], - "Launcher", - ["punctuation", "."], - "mainWithExitCode", - ["operator", "("], - "Launcher", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "430"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "codehaus", - ["punctuation", "."], - "classworlds", - ["punctuation", "."], - "Launcher", - ["punctuation", "."], - "main", - ["operator", "("], - "Launcher", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "375"], - ["operator", ")"], - - ["property", "Caused by:"], - ["property", "org.apache.maven.plugin.MojoExecutionException:"], - " Error installing artifact's metadata", - ["operator", ":"], - " Error while deploying metadata", - ["operator", ":"], - " Failed to transfer file", - ["operator", ":"], - ["url", "http://repo.xxxx.com/foo/bar.pom"], - ["punctuation", "."], - " Return code is", - ["operator", ":"], - ["number", "500"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "plugin", - ["punctuation", "."], - "deploy", - ["punctuation", "."], - "DeployMojo", - ["punctuation", "."], - "execute", - ["operator", "("], - "DeployMojo", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "174"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "plugin", - ["punctuation", "."], - "DefaultPluginManager", - ["punctuation", "."], - "executeMojo", - ["operator", "("], - "DefaultPluginManager", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "443"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "lifecycle", - ["punctuation", "."], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "executeGoals", - ["operator", "("], - "DefaultLifecycleExecutor", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "539"], - ["operator", ")"], - - ["punctuation", "."], - ["punctuation", "."], - ["punctuation", "."], - ["number", "16"], - " more\r\n", - - ["property", "Caused by:"], - ["property", "org.apache.maven.artifact.deployer.ArtifactDeploymentException:"], - " Error installing artifact's metadata", - ["operator", ":"], - " Error while deploying metadata", - ["operator", ":"], - " Failed to transfer file", - ["operator", ":"], - ["url", "http://repo.xxxx.com/foo/bar.pom"], - ["punctuation", "."], - " Return code is", - ["operator", ":"], - ["number", "500"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "deployer", - ["punctuation", "."], - "DefaultArtifactDeployer", - ["punctuation", "."], - "deploy", - ["operator", "("], - "DefaultArtifactDeployer", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "102"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "plugin", - ["punctuation", "."], - "deploy", - ["punctuation", "."], - "DeployMojo", - ["punctuation", "."], - "execute", - ["operator", "("], - "DeployMojo", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "162"], - ["operator", ")"], - - ["punctuation", "."], - ["punctuation", "."], - ["punctuation", "."], - ["number", "18"], - " more\r\n", - - ["property", "Caused by:"], - ["property", "org.apache.maven.artifact.repository.metadata.RepositoryMetadataDeploymentException:"], - ["property", "Error while deploying metadata:"], - ["property", "Failed to transfer file:"], - ["url", "http://repo.xxxx.com/foo/bar.pom"], - ["punctuation", "."], - " Return code is", - ["operator", ":"], - ["number", "500"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "repository", - ["punctuation", "."], - "metadata", - ["punctuation", "."], - "DefaultRepositoryMetadataManager", - ["punctuation", "."], - "deploy", - ["operator", "("], - "DefaultRepositoryMetadataManager", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "441"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "deployer", - ["punctuation", "."], - "DefaultArtifactDeployer", - ["punctuation", "."], - "deploy", - ["operator", "("], - "DefaultArtifactDeployer", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "86"], - ["operator", ")"], - - ["punctuation", "."], - ["punctuation", "."], - ["punctuation", "."], - ["number", "19"], - " more\r\n", - - ["property", "Caused by:"], - ["property", "org.apache.maven.wagon.TransferFailedException:"], - ["property", "Failed to transfer file:"], - ["url", "http://repo.xxxx.com/foo/bar.pom"], - ["punctuation", "."], - " Return code is", - ["operator", ":"], - ["number", "500"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "wagon", - ["punctuation", "."], - "providers", - ["punctuation", "."], - "http", - ["punctuation", "."], - "LightweightHttpWagon", - ["punctuation", "."], - "put", - ["operator", "("], - "LightweightHttpWagon", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "172"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "manager", - ["punctuation", "."], - "DefaultWagonManager", - ["punctuation", "."], - "putRemoteFile", - ["operator", "("], - "DefaultWagonManager", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "237"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "manager", - ["punctuation", "."], - "DefaultWagonManager", - ["punctuation", "."], - "putArtifactMetadata", - ["operator", "("], - "DefaultWagonManager", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "162"], - ["operator", ")"], - - "\r\n at org", - ["punctuation", "."], - "apache", - ["punctuation", "."], - "maven", - ["punctuation", "."], - "artifact", - ["punctuation", "."], - "repository", - ["punctuation", "."], - "metadata", - ["punctuation", "."], - "DefaultRepositoryMetadataManager", - ["punctuation", "."], - "deploy", - ["operator", "("], - "DefaultRepositoryMetadataManager", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "437"], - ["operator", ")"], - - ["punctuation", "."], - ["punctuation", "."], - ["punctuation", "."], - ["number", "20"], - " more" -] \ No newline at end of file + ["exception", [ + "java", + ["punctuation", "."], + "net", + ["punctuation", "."], + "BindException", + ["punctuation", ":"], + " Address already in use\r\n\t", + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."], + "Net", + ["punctuation", "."], + ["function", "bind0"], + ["punctuation", "("], + "Native Method", + ["punctuation", ")"], + " ~[na", + ["punctuation", ":"], + "1", + ["punctuation", "."], + "8", + ["punctuation", "."], + "0_171]\r\n\t", + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."], + "Net", + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + "Net", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "433", + ["punctuation", ")"], + " ~[na", + ["punctuation", ":"], + "1", + ["punctuation", "."], + "8", + ["punctuation", "."], + "0_171]\r\n\t", + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."], + "Net", + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + "Net", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "425", + ["punctuation", ")"], + " ~[na", + ["punctuation", ":"], + "1", + ["punctuation", "."], + "8", + ["punctuation", "."], + "0_171]\r\n\t", + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "nio", + ["punctuation", "."], + "ch", + ["punctuation", "."], + "ServeISocketChannelImpl", + ["punctuation", "."], + ["function", "bind"], + ["punctuation", "("], + "ServerSocketChannellmpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "223", + ["punctuation", ")"], + " ~[na", + ["punctuation", ":"], + "1", + ["punctuation", "."], + "8", + ["punctuation", "."], + "0_171]" + ]], + + ["exception", [ + "org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "LifecycleExecutionException", + ["punctuation", ":"], + " Error installing artifact's metadata", + ["punctuation", ":"], + " Error while deploying metadata", + ["punctuation", ":"], + " Failed to transfer file", + ["punctuation", ":"], + " http", + ["punctuation", ":"], + "//repo", + ["punctuation", "."], + "xxxx", + ["punctuation", "."], + "com/foo/bar", + ["punctuation", "."], + "pom", + ["punctuation", "."], + " Return code is", + ["punctuation", ":"], + " 500\r\n ", + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeGoals"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "564", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeGoalWithLifecycle"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "480", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeGoal"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "459", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeGoalAndHandleFailures"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "311", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeTaskSegments"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "278", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "143", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "DefaultMaven", + ["punctuation", "."], + ["function", "doExecute"], + ["punctuation", "("], + "DefaultMaven", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "334", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "DefaultMaven", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "DefaultMaven", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "125", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "cli", + ["punctuation", "."], + "MavenCli", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "MavenCli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "280", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + "Native Method", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "NativeMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "39", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "25", + ["punctuation", ")"], + + ["keyword", "at"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "Method", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "Method", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "585", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."], + "Launcher", + ["punctuation", "."], + ["function", "launchEnhanced"], + ["punctuation", "("], + "Launcher", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "315", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."], + "Launcher", + ["punctuation", "."], + ["function", "launch"], + ["punctuation", "("], + "Launcher", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "255", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."], + "Launcher", + ["punctuation", "."], + ["function", "mainWithExitCode"], + ["punctuation", "("], + "Launcher", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "430", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "codehaus", + ["punctuation", "."], + "classworlds", + ["punctuation", "."], + "Launcher", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "Launcher", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "375", + ["punctuation", ")"], + + "\r\nCaused by", + ["punctuation", ":"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "MojoExecutionException", + ["punctuation", ":"], + " Error installing artifact's metadata", + ["punctuation", ":"], + " Error while deploying metadata", + ["punctuation", ":"], + " Failed to transfer file", + ["punctuation", ":"], + " http", + ["punctuation", ":"], + "//repo", + ["punctuation", "."], + "xxxx", + ["punctuation", "."], + "com/foo/bar", + ["punctuation", "."], + "pom", + ["punctuation", "."], + " Return code is", + ["punctuation", ":"], + " 500\r\n ", + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "deploy", + ["punctuation", "."], + "DeployMojo", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "DeployMojo", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "174", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "DefaultPluginManager", + ["punctuation", "."], + ["function", "executeMojo"], + ["punctuation", "("], + "DefaultPluginManager", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "443", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "lifecycle", + ["punctuation", "."], + "DefaultLifecycleExecutor", + ["punctuation", "."], + ["function", "executeGoals"], + ["punctuation", "("], + "DefaultLifecycleExecutor", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "539", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 16 more\r\nCaused by", + ["punctuation", ":"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "deployer", + ["punctuation", "."], + "ArtifactDeploymentException", + ["punctuation", ":"], + " Error installing artifact's metadata", + ["punctuation", ":"], + " Error while deploying metadata", + ["punctuation", ":"], + " Failed to transfer file", + ["punctuation", ":"], + " http", + ["punctuation", ":"], + "//repo", + ["punctuation", "."], + "xxxx", + ["punctuation", "."], + "com/foo/bar", + ["punctuation", "."], + "pom", + ["punctuation", "."], + " Return code is", + ["punctuation", ":"], + " 500\r\n ", + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "deployer", + ["punctuation", "."], + "DefaultArtifactDeployer", + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + "DefaultArtifactDeployer", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "102", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "plugin", + ["punctuation", "."], + "deploy", + ["punctuation", "."], + "DeployMojo", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "DeployMojo", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "162", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 18 more\r\nCaused by", + ["punctuation", ":"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "repository", + ["punctuation", "."], + "metadata", + ["punctuation", "."], + "RepositoryMetadataDeploymentException", + ["punctuation", ":"], + " Error while deploying metadata", + ["punctuation", ":"], + " Failed to transfer file", + ["punctuation", ":"], + " http", + ["punctuation", ":"], + "//repo", + ["punctuation", "."], + "xxxx", + ["punctuation", "."], + "com/foo/bar", + ["punctuation", "."], + "pom", + ["punctuation", "."], + " Return code is", + ["punctuation", ":"], + " 500\r\n ", + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "repository", + ["punctuation", "."], + "metadata", + ["punctuation", "."], + "DefaultRepositoryMetadataManager", + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + "DefaultRepositoryMetadataManager", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "441", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "deployer", + ["punctuation", "."], + "DefaultArtifactDeployer", + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + "DefaultArtifactDeployer", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "86", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 19 more\r\nCaused by", + ["punctuation", ":"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "wagon", + ["punctuation", "."], + "TransferFailedException", + ["punctuation", ":"], + " Failed to transfer file", + ["punctuation", ":"], + " http", + ["punctuation", ":"], + "//repo", + ["punctuation", "."], + "xxxx", + ["punctuation", "."], + "com/foo/bar", + ["punctuation", "."], + "pom", + ["punctuation", "."], + " Return code is", + ["punctuation", ":"], + " 500\r\n ", + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "wagon", + ["punctuation", "."], + "providers", + ["punctuation", "."], + "http", + ["punctuation", "."], + "LightweightHttpWagon", + ["punctuation", "."], + ["function", "put"], + ["punctuation", "("], + "LightweightHttpWagon", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "172", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "manager", + ["punctuation", "."], + "DefaultWagonManager", + ["punctuation", "."], + ["function", "putRemoteFile"], + ["punctuation", "("], + "DefaultWagonManager", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "237", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "manager", + ["punctuation", "."], + "DefaultWagonManager", + ["punctuation", "."], + ["function", "putArtifactMetadata"], + ["punctuation", "("], + "DefaultWagonManager", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "162", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "maven", + ["punctuation", "."], + "artifact", + ["punctuation", "."], + "repository", + ["punctuation", "."], + "metadata", + ["punctuation", "."], + "DefaultRepositoryMetadataManager", + ["punctuation", "."], + ["function", "deploy"], + ["punctuation", "("], + "DefaultRepositoryMetadataManager", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "437", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 20 more" + ]] +] diff --git a/tests/languages/log/_minecraft.test b/tests/languages/log/_minecraft.test index 9c388d5508..5b002c4b9a 100644 --- a/tests/languages/log/_minecraft.test +++ b/tests/languages/log/_minecraft.test @@ -219,201 +219,198 @@ net.minecraftforge.fml.common.MissingModsException: Mod thaumcraft (Thaumcraft) ["operator", ":"], " Encountered an unexpected exception\r\n", - ["property", "net.minecraftforge.fml.common.MissingModsException:"], - " Mod thaumcraft ", - ["operator", "("], - "Thaumcraft", - ["operator", ")"], - " requires ", - ["punctuation", "["], - "baubles", - ["operator", "@"], - ["punctuation", "["], - ["number", "1.5.2"], - ["punctuation", ","], - ["operator", ")"], - ["punctuation", "]"], + ["exception", [ + "net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."], + "MissingModsException", + ["punctuation", ":"], + " Mod thaumcraft ", + ["punctuation", "("], + "Thaumcraft", + ["punctuation", ")"], + " requires [baubles@[1", + ["punctuation", "."], + "5", + ["punctuation", "."], + "2,", + ["punctuation", ")"], + "]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraftforge", - ["punctuation", "."], - "fml", - ["punctuation", "."], - "common", - ["punctuation", "."], - "Loader", - ["punctuation", "."], - "sortModList", - ["operator", "("], - "Loader", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "266"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "Loader", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."], + "Loader", + ["punctuation", "."], + ["function", "sortModList"], + ["punctuation", "("], + "Loader", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "266", + ["punctuation", ")"], + " ~[Loader", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraftforge", - ["punctuation", "."], - "fml", - ["punctuation", "."], - "common", - ["punctuation", "."], - "Loader", - ["punctuation", "."], - "loadMods", - ["operator", "("], - "Loader", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "572"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "Loader", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."], + "Loader", + ["punctuation", "."], + ["function", "loadMods"], + ["punctuation", "("], + "Loader", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "572", + ["punctuation", ")"], + " ~[Loader", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraftforge", - ["punctuation", "."], - "fml", - ["punctuation", "."], - "server", - ["punctuation", "."], - "FMLServerHandler", - ["punctuation", "."], - "beginServerLoading", - ["operator", "("], - "FMLServerHandler", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "98"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "FMLServerHandler", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "server", + ["punctuation", "."], + "FMLServerHandler", + ["punctuation", "."], + ["function", "beginServerLoading"], + ["punctuation", "("], + "FMLServerHandler", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "98", + ["punctuation", ")"], + " ~[FMLServerHandler", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraftforge", - ["punctuation", "."], - "fml", - ["punctuation", "."], - "common", - ["punctuation", "."], - "FMLCommonHandler", - ["punctuation", "."], - "onServerStart", - ["operator", "("], - "FMLCommonHandler", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "333"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "FMLCommonHandler", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraftforge", + ["punctuation", "."], + "fml", + ["punctuation", "."], + "common", + ["punctuation", "."], + "FMLCommonHandler", + ["punctuation", "."], + ["function", "onServerStart"], + ["punctuation", "("], + "FMLCommonHandler", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "333", + ["punctuation", ")"], + " ~[FMLCommonHandler", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraft", - ["punctuation", "."], - "server", - ["punctuation", "."], - "dedicated", - ["punctuation", "."], - "DedicatedServer", - ["punctuation", "."], - "func_71197_b", - ["operator", "("], - "DedicatedServer", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "125"], - ["operator", ")"], - ["operator", "~"], - ["punctuation", "["], - "nz", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."], + "dedicated", + ["punctuation", "."], + "DedicatedServer", + ["punctuation", "."], + ["function", "func_71197_b"], + ["punctuation", "("], + "DedicatedServer", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "125", + ["punctuation", ")"], + " ~[nz", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat net", - ["punctuation", "."], - "minecraft", - ["punctuation", "."], - "server", - ["punctuation", "."], - "MinecraftServer", - ["punctuation", "."], - "run", - ["operator", "("], - "MinecraftServer", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "486"], - ["operator", ")"], - ["punctuation", "["], - "MinecraftServer", - ["punctuation", "."], - "class", - ["operator", ":"], - ["operator", "?"], - ["punctuation", "]"], + ["keyword", "at"], + " net", + ["punctuation", "."], + "minecraft", + ["punctuation", "."], + "server", + ["punctuation", "."], + "MinecraftServer", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "MinecraftServer", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "486", + ["punctuation", ")"], + " [MinecraftServer", + ["punctuation", "."], + "class", + ["punctuation", ":"], + "?]\r\n\t", - "\r\n\tat java", - ["punctuation", "."], - "lang", - ["punctuation", "."], - "Thread", - ["punctuation", "."], - "run", - ["operator", "("], - "Thread", - ["punctuation", "."], - "java", - ["operator", ":"], - ["number", "748"], - ["operator", ")"], - ["punctuation", "["], - ["operator", "?"], - ["operator", ":"], - "1", - ["punctuation", "."], - "8", - ["punctuation", "."], - "0_222", - ["punctuation", "]"] -] \ No newline at end of file + ["keyword", "at"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "Thread", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Thread", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "748", + ["punctuation", ")"], + " [?", + ["punctuation", ":"], + "1", + ["punctuation", "."], + "8", + ["punctuation", "."], + "0_222]" + ]] +] diff --git a/tests/languages/log/exception_feature.test b/tests/languages/log/exception_feature.test new file mode 100644 index 0000000000..d62c42a177 --- /dev/null +++ b/tests/languages/log/exception_feature.test @@ -0,0 +1,372 @@ +[2021-07-21 14:07:48.633] ERR java.lang.RuntimeException: java.lang.RuntimeException: Job failed. + at org.netspeak.usage.Cli.run(Cli.java:272) + at picocli.CommandLine.executeUserObject(CommandLine.java:1919) + at picocli.CommandLine.access$1200(CommandLine.java:145) + at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2326) + at picocli.CommandLine$RunLast.handle(CommandLine.java:2291) + at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159) + at picocli.CommandLine.execute(CommandLine.java:2058) + at org.netspeak.usage.Cli.main(Cli.java:292) + at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) + at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) + at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) + at java.lang.reflect.Method.invoke(Method.java:498) + at org.apache.hadoop.util.RunJar.run(RunJar.java:239) + at org.apache.hadoop.util.RunJar.main(RunJar.java:153) +Caused by: java.lang.RuntimeException: Job failed. + at org.netspeak.hadoop.Merge.run(Merge.java:124) + at org.netspeak.usage.Cli.runHadoop(Cli.java:239) + at org.netspeak.usage.Cli.runWithExecption(Cli.java:259) + at org.netspeak.usage.Cli.run(Cli.java:270) + ... 14 more + +---------------------------------------------------- + +[ + ["punctuation", "["], + ["date", "2021-07-21"], + ["time", "14:07:48.633"], + ["punctuation", "]"], + ["level", "ERR"], + ["exception", [ + "java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " Job failed", + ["punctuation", "."], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "272", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "executeUserObject"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "1919", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "access$1200"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "145", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "executeUserObjectOfLastSubcommandWithSameParent"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2332", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2326", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$RunLast", + ["punctuation", "."], + ["function", "handle"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2291", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine$AbstractParseResultHandler", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2159", + ["punctuation", ")"], + + ["keyword", "at"], + " picocli", + ["punctuation", "."], + "CommandLine", + ["punctuation", "."], + ["function", "execute"], + ["punctuation", "("], + "CommandLine", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "2058", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "292", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke0"], + ["punctuation", "("], + "Native Method", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "NativeMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "NativeMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "62", + ["punctuation", ")"], + + ["keyword", "at"], + " sun", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "DelegatingMethodAccessorImpl", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "43", + ["punctuation", ")"], + + ["keyword", "at"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "reflect", + ["punctuation", "."], + "Method", + ["punctuation", "."], + ["function", "invoke"], + ["punctuation", "("], + "Method", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "498", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."], + "RunJar", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "RunJar", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "239", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "apache", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "util", + ["punctuation", "."], + "RunJar", + ["punctuation", "."], + ["function", "main"], + ["punctuation", "("], + "RunJar", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "153", + ["punctuation", ")"], + + "\r\nCaused by", + ["punctuation", ":"], + " java", + ["punctuation", "."], + "lang", + ["punctuation", "."], + "RuntimeException", + ["punctuation", ":"], + " Job failed", + ["punctuation", "."], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "hadoop", + ["punctuation", "."], + "Merge", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Merge", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "124", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "runHadoop"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "239", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "runWithExecption"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "259", + ["punctuation", ")"], + + ["keyword", "at"], + " org", + ["punctuation", "."], + "netspeak", + ["punctuation", "."], + "usage", + ["punctuation", "."], + "Cli", + ["punctuation", "."], + ["function", "run"], + ["punctuation", "("], + "Cli", + ["punctuation", "."], + "java", + ["punctuation", ":"], + "270", + ["punctuation", ")"], + + ["punctuation", "."], + ["punctuation", "."], + ["punctuation", "."], + " 14 more" + ]] +]