Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Caused by: org.htmlunit.corejs.javascript.EvaluatorException: missing formal parameter

Aperta
#646 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
java, javascript
Ambito
backend

Direzione di ricerca

The report includes a JavaScript parser stack trace ending in Parser.arrowFunctionParams, but it does not include the JavaScript source or steps to reproduce. Start by identifying the syntax in the reported script that triggers the parser error and locating the relevant parser tests; done means the case is understood and handled consistently with the intended JavaScript syntax. The issue has gone months without a recent comment, so confirm it is still relevant before starting.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

js-engine

Caused by: org.htmlunit.corejs.javascript.EvaluatorException: missing formal parameter (https://xxxxxxx/1.js)
at org.htmlunit.javascript.HtmlUnitContextFactory$HtmlUnitErrorReporter.error(HtmlUnitContextFactory.java:434)
at org.htmlunit.corejs.javascript.Parser.addError(Parser.java:257)
at org.htmlunit.corejs.javascript.Parser.reportError(Parser.java:336)
at org.htmlunit.corejs.javascript.Parser.reportError(Parser.java:332)
at org.htmlunit.corejs.javascript.Parser.arrowFunctionParams(Parser.java:1040)
at org.htmlunit.corejs.javascript.Parser.arrowFunction(Parser.java:977)
at org.htmlunit.corejs.javascript.Parser.assignExpr(Parser.java:2355)
at org.htmlunit.corejs.javascript.Parser.argumentList(Parser.java:2681)
at org.htmlunit.corejs.javascript.Parser.memberExprTail(Parser.java:2825)
at org.htmlunit.corejs.javascript.Parser.memberExpr(Parser.java:2745)
at org.htmlunit.corejs.javascript.Parser.unaryExpr(Parser.java:2613)
at org.htmlunit.corejs.javascript.Parser.expExpr(Parser.java:2533)
at org.htmlunit.corejs.javascript.Parser.mulExpr(Parser.java:2516)
at org.htmlunit.corejs.javascript.Parser.addExpr(Parser.java:2502)
at org.htmlunit.corejs.javascript.Parser.shiftExpr(Parser.java:2485)
at org.htmlunit.corejs.javascript.Parser.relExpr(Parser.java:2463)
at org.htmlunit.corejs.javascript.Parser.eqExpr(Parser.java:2439)
at org.htmlunit.corejs.javascript.Parser.bitAndExpr(Parser.java:2430)
at org.htmlunit.corejs.javascript.Parser.bitXorExpr(Parser.java:2421)
at org.htmlunit.corejs.javascript.Parser.bitOrExpr(Parser.java:2412)
at org.htmlunit.corejs.javascript.Parser.andExpr(Parser.java:2403)
at org.htmlunit.corejs.javascript.Parser.orExpr(Parser.java:2394)
at org.htmlunit.corejs.javascript.Parser.condExpr(Parser.java:2361)
at org.htmlunit.corejs.javascript.Parser.assignExpr(Parser.java:2319)
at org.htmlunit.corejs.javascript.Parser.expr(Parser.java:2302)
at org.htmlunit.corejs.javascript.Parser.nameOrLabel(Parser.java:2060)
at org.htmlunit.corejs.javascript.Parser.statementHelper(Parser.java:1239)
at org.htmlunit.corejs.javascript.Parser.statement(Parser.java:1103)
at org.htmlunit.corejs.javascript.Parser.parse(Parser.java:631)
at org.htmlunit.corejs.javascript.Parser.parse(Parser.java:561)
at org.htmlunit.corejs.javascript.Context.parse(Context.java:2549)
at org.htmlunit.corejs.javascript.Context.compileImpl(Context.java:2480)
at org.htmlunit.corejs.javascript.Context.compileString(Context.java:1448)
at org.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext.compileString(HtmlUnitContextFactory.java:220)
at org.htmlunit.corejs.javascript.Context.compileString(Context.java:1436)
at org.htmlunit.javascript.JavaScriptEngine$1.doRun(JavaScriptEngine.java:835)
at org.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:997)
... 36 more
Enclosed exception:

Lingua principale
JavaScript
Stelle
952
Fork
183
Merge medio
2g 1h
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di HtmlUnit/htmlunit

Tutte le issue di HtmlUnit/htmlunit

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.