OJUnit and objj errors in linux
Reported by Stephen Ierodiaconou | March 19th, 2009 @ 12:59 PM
On Ubuntu 8.10
bash 3.2.39
"java version "1.6.0_0" IcedTea6 1.3.1 (6b12-0ubuntu6.1) Runtime Environment (build 1.6.0_0-b12) OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)"
Objj:
objj spits out the following errors when used interactively: objj> @import <Foundation/CPString.j> /usr/local/share/objj/lib/Frameworks-Rhino/Foundation/CPObject.j InternalError: missing ; before statement InternalError: missing ; before statement
OJUnit:
on running:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j
The following occurs:
objj ojunit/OJTestRunnerText.j cappuccino/Tests/Foundation/CPDateTest.j
/usr/local/bin/objj: 44: [[: not found
Setting up Rhino utilties
/usr/local/share/objj/lib/Frameworks-Rhino/Foundation/CPObject.j
InternalError: missing ; before statement
OBJJ EXCEPTION: InternalError: missing ; before statement
Name: InternalError
Message: missing ; before statement
File: /usr/local/share/objj/lib/Frameworks-Rhino/Foundation/CPObject.j
Line: 0
Rhino Exception: org.mozilla.javascript.EvaluatorException: missing ; before statement
Message: missing ; before statement
Source name: /usr/local/share/objj/lib/Frameworks-Rhino/Foundation/CPObject.j
Line number: 0
Column number: 19
Line Source: function(){ion "-c"
Filtered stack trace:
Unknown Source
Unknown Source
Unknown Source
Unknown Source
Unknown Source
*** Script stack trace:
*** Raw stack trace: org.mozilla.javascript.EvaluatorException: missing ; before statement
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.java:109)
at org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:96)
at org.mozilla.javascript.Parser.addError(Parser.java:146)
at org.mozilla.javascript.Parser.reportError(Parser.java:160)
at org.mozilla.javascript.Parser.statementHelper(Parser.java:1265)
at org.mozilla.javascript.Parser.statement(Parser.java:708)
at org.mozilla.javascript.Parser.parseFunctionBody(Parser.java:463)
at org.mozilla.javascript.Parser.function(Parser.java:592)
at org.mozilla.javascript.Parser.parse(Parser.java:394)
at org.mozilla.javascript.Parser.parse(Parser.java:338)
at org.mozilla.javascript.Context.compileImpl(Context.java:2252)
at org.mozilla.javascript.Context.compileFunction(Context.java:1281)
at org.mozilla.javascript.Context.compileFunction(Context.java:1270)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:160)
at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
at org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
at objj._c186(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
at objj._c182(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
at objj._c184(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
at objj._c11(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime.callName0(OptRuntime.java:108)
at objj._c0(Unknown Source)
at objj.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:401)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3003)
at objj.call(Unknown Source)
at objj.exec(Unknown Source)
at org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:252)
at org.mozilla.javascript.Context.call(Context.java:499)
at org.mozilla.javascript.Context.call(Context.java:461)
at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:240)
at objj.main(Unknown Source)
Comments and changes to this ticket
-
Stephen Ierodiaconou March 19th, 2009 @ 01:12 PM
- no changes were found...
-
admin (at 280north) January 8th, 2010 @ 07:54 AM
- State changed from new to resolved
- Tag changed from ojunit, tools to @to-acknowledge, ojunit, tools
(from [34a6389a92c87eeee6f19503a0ef7acc237f5207]) CPFont now supports multiple font families. Closes #255. http://github.com/280north/cappuccino/commit/34a6389a92c87eeee6f195...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.
People watching this ticket
- Nobody is watching this ticket.
Attachments
Tags
Referenced by
- 255 OJUnit and objj errors in linux (from [34a6389a92c87eeee6f19503a0ef7acc237f5207]) CPFont ...