why I'm getting this error and how to resolve this error? - owasp

root#KaliP:~# zaproxy
./zap.sh: line 48: [: 9-Debian: integer expression expected
Exiting: ZAP requires a minimum of Java 7 to run, found 9-Debian

Related

Buildroot mtools "codepage 850 Invalid argument"

I have enabled BR2_TOOLCHAIN_GLIBC_GCONV_LIBS_COPY
But mtools still give me this error:
Error converting to codepage 850 Invalid argument
Error setting code page
Cannot initialize 'A:'
why?

I have installed flutter by snap ubuntu and then when I run flutter in terminal this error happens

parse error: Invalid numeric literal at line 1, column 6
parse error: Invalid numeric literal at line 1, column 6
jq: error: syntax error, unexpected ')' (Unix shell quoting issues?) at , line 1:
[.releases[] | select(.hash==)][0].archive
jq: 1 compile error
Downloading /
curl: (3) malformed
tar: latest_stable.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Flutter initialization failed
Could not find working copy of Flutter
Unfortunately I live in Iran and I have changed my IP and it worked

iReport compile error found when click on the preview

I'm new to iReport and tried to generate a report using iReport. The problem I got was not compiling the jasper file.
This is the error I got. How can I fix this? I have already set the fonts, and cannot preview the report anyway.
Compiling to file... C:\Users\SDU\Desktop\ugc test\report1.jasper
Errors compiling C:\Users\SDU\Desktop\ugc test\report1.jasper!
Compilation exceptions: com.jaspersoft.ireport.designer.compiler.ErrorsCollector#1e398a0
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
calculator_report1_1442307421307_832861: 192: expecting ''', found '\n' # line 192, column 37.
1 error
at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:113)
at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:201)
at net.sf.jasperreports.engine.JasperCompileManager.compile(JasperCompileManager.java:354)
at net.sf.jasperreports.engine.JasperCompileManager.compileToFile(JasperCompileManager.java:270)
at net.sf.jasperreports.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:563)
at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:528)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)
Caused by: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
calculator_report1_1442307421307_832861: 192: expecting ''', found '\n' # line 192, column 37.
1 error
at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:302)
at org.codehaus.groovy.control.ErrorCollector.addFatalError(ErrorCollector.java:149)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:119)
at org.codehaus.groovy.control.ErrorCollector.addError(ErrorCollector.java:131)
at org.codehaus.groovy.control.SourceUnit.addError(SourceUnit.java:359)
at org.codehaus.groovy.antlr.AntlrParserPlugin.transformCSTIntoAST(AntlrParserPlugin.java:136)
at org.codehaus.groovy.antlr.AntlrParserPlugin.parseCST(AntlrParserPlugin.java:107)
at org.codehaus.groovy.control.SourceUnit.parse(SourceUnit.java:236)
at org.codehaus.groovy.control.CompilationUnit$1.call(CompilationUnit.java:161)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:900)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:564)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:540)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:517)
at net.sf.jasperreports.compilers.JRGroovyCompiler.compileUnits(JRGroovyCompiler.java:109)
... 7 more Compilation running time: 32!
Maybe you use Text Field instead of Static Text somewhere.
Text Field accepts only expressions.
It can generate errors like this.

Standard ML syntax error: illegal token on hello world program -- incorrect SML installation?

The SML file: "test.sml"
(* here is a comment *)
val x = 123;
I've installed SMLNJ 110.76 from here: http://www.smlnj.org/dist/working/110.76/, Emacs 24.3.1 from here: http://ftp.gnu.org/gnu/emacs/windows/emacs-24.3-bin-i386.zip, and SML Mode for Emacs through the Emacs GUI.
The Emacs stack trace is this:
test.sml:1.2 Error: illegal token
test.sml:1.3 Error: illegal token
test.sml:1.5 Error: illegal token
test.sml:1.7 Error: illegal token
test.sml:1.9 Error: illegal token
and so on, ending with:
uncaught exception Compile [Compile: "syntax error"]
raised at: ../compiler/Parse/main/smlfile.sml:15.24-15.46
../compiler/TopLevel/interact/evalloop.sml:44.55
../compiler/TopLevel/interact/evalloop.sml:296.17-296.20
I also tried the same program via Sublime Text 3 with the SML and sublimeREPL packages as laid out here: http://developerinmotion.wordpress.com/2013/02/07/sublime-text-2-and-sml/. But I'm getting the same problem: a long list of illegal token syntax errors followed by:
C:\Program Files (x86)\SMLNJ\\bin\.run\run.x86-win32.exe: Fatal error -- Uncaught exception Compile with "syntax error" raised at ../compiler/Parse/main/smlfile.sml:15.24-15.46
What's the problem? Have I installed SMLNJ incorrectly?
I put your two lines in a file (test.sml) and opened in a standard SML REPL. It compiles normally:
- use "test.sml";
[opening test.sml]
val x = 123 : int
val it = () : unit
It seems that you have problems with setting your tools.
This problem may result from creating .sml file using UTF-8 character encoding. pls use ANSI instead.

Compiling report function in matlab 2008 returns error

I'm trying to create matlab executable for building a report.
My function is
function custom_report( FilePath )
report('MyReport.rpt', ['-o' FilePath],'-fpdf') ;
but the deploytool retrun error when trying to build this standalone executable (exe file).
What can be the cause of this problem?
p.s. I attached the 'MyReport.rpt' file to the deploytool project, so it's probably not the cause.
% Deploytool Build Errors:
Error C:\Algo\customreport\src\customreport_main.c: 16 syntax error; found `__MCC_customreport_component_data' expecting `;'
Error C:\Algo\customreport\src\customreport_main.c: 103 left operand of . has incompatible type `int'
Error C:\Algo\customreport\src\customreport_main.c: 103 operands of = have illegal types `int' and `pointer to char'
Error C:\Algo\customreport\src\customreport_main.c: 117 left operand of . has incompatible type `int'
Error C:\Algo\customreport\src\customreport_main.c: 117 type error in argument 1 to `mclInitializeApplication_proxy'; found `int' expected `pointer to pointer to const char'
Error C:\Algo\customreport\src\customreport_main.c: 118 left operand of . has incompatible type `int'