java.lang.IllegalArgumentException: Missing '}' + testfun <- function(df){ + + somevar1 <- max(df[,4]) + somevar2 <- min(df[,4])} + ^-------------------------------------^ +

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Earl Hathaway, 1 year ago
Missing '}' + testfun <- function(df){ + + somevar1 <- max(df[,4]) + somevar2 <- min(df[,4])} + ^-------------------------------------^ +
via JIRA by Earl Hathaway, 1 year ago
Missing '}' testfun <- function(df){ somevar1 <- max(df[,4]) somevar2 <- min(df[,4])} ^-------------------------------------^
java.lang.IllegalArgumentException: Missing '}' + testfun <- function(df){ + + somevar1 <- max(df[,4]) + somevar2 <- min(df[,4])} + ^-------------------------------------^ +
at water.exec.Exec2.throwErr(Exec2.java:217)
at water.exec.Exec2.xpeek(Exec2.java:154)
at water.exec.ASTFunc.parseFcn(ASTFunc.java:51)
at water.exec.ASTOp.parse(ASTOp.java:226)
at water.exec.AST.parseVal(AST.java:39)
at water.exec.ASTApply.parsePrefix(AST.java:114)
at water.exec.ASTSlice.parse(AST.java:205)
at water.exec.ASTApply.parseInfix(AST.java:156)
at water.exec.AST.parseCXExpr(AST.java:22)
at water.exec.ASTAssign.parseNew(AST.java:402)
at water.exec.AST.parseCXExpr(AST.java:23)
at water.exec.ASTStatement.parse(AST.java:59)
at water.exec.Exec2.parse(Exec2.java:130)
at water.exec.Exec2.exec(Exec2.java:103)
at water.api.Exec2.serve(Exec2.java:34)
at water.api.Request.serveGrid(Request.java:129)
at water.Request2.superServeGrid(Request2.java:472)
at water.api.Exec2.serveGrid(Exec2.java:71)
at water.api.Request.serve(Request.java:108)
at water.api.RequestServer.serve(RequestServer.java:315)
at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:421)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.