hollowmanf / trimpath

Automatically exported from code.google.com/p/trimpath
0 stars 0 forks source link

Error in application engines on web browser #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. unpack trimpath-junction-1.1.18.tar.gz; run hop/start.sh on solaris 9
2. load http://localhost:8080/engines/100/apps/nextaction 
3.

What is the expected output? What do you see instead?
An intro/functional working page.

Ran step 2 on remote machine web browser substituting localhost with
hostname of server.  Received the following message on the server side
terminal:

SQL: begin; []
dbMigrate... 
SQL: CREATE TABLE IF NOT EXISTS meta_version (version varchar(100),
updated_at DATETIME); []
SQL: SELECT * FROM meta_version ORDER BY version DESC; []
dbMigrate...  DONE
SQL: commit; []

On the Web browser (firefox) get the following message:
Error in application engines
missing ( before condition
(/data/nextaction/trimpath-junction-1.1.18/junction_release.spaces/100/nextactio
n/code/app/views/project/completed.js#1)

Can't load http://localhost:8080/engines/100/apps/nextaction;start
thereafter.  Received error.

Note:  Loaded http://localhost:8080/ and it worked. Get Helma web page.

What version of the product are you using? On what operating system?
trimpath-junction-1.1.18
Firefox 2.0.0.3
Solaris 9 sparc
java 1.6.0

Please provide any additional information below.
This is the helma.engine.event.log output:
[2007/10/09 15:17:55] [INFO] Using session manager class
helma.framework.core.SessionManager
[2007/10/09 15:17:55] [INFO] Starting engine 1 for engines
[2007/10/09 15:17:55] [INFO] Function onStart not defined in global scope
[2007/10/09 15:18:01] [INFO] Running cron jobs: []
[2007/10/09 15:18:17] [ERROR] engines:get:100/apps/nextaction: missing (
before condition (/data/nextaction/trimpath-junction-1.1
.18/junction_release.spaces/100/nextaction/code/app/views/project/completed.js#1
)
helma.scripting.ScriptingException: missing ( before condition
(/data/nextaction/trimpath-junction-1.1.18/junction_release.spaces
/100/nextaction/code/app/views/project/completed.js#1)
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/Global/global.js:18
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineProcess.js:147
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineProcess.js:664
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineAppsApp.js:4
Full trace: org.mozilla.javascript.EvaluatorException: missing ( before
condition (/data/nextaction/trimpath-junction-1.1.18/junc
tion_release.spaces/100/nextaction/code/app/views/project/completed.js#1)
        at
org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.ja
va:109)
        at
org.mozilla.javascript.DefaultErrorReporter.error(DefaultErrorReporter.java:96)
        at org.mozilla.javascript.Parser.addError(Parser.java:143)
        at org.mozilla.javascript.Parser.reportError(Parser.java:157)
        at org.mozilla.javascript.Parser.mustMatchToken(Parser.java:243)
        at org.mozilla.javascript.Parser.condition(Parser.java:676)
        at org.mozilla.javascript.Parser.statementHelper(Parser.java:763)
        at org.mozilla.javascript.Parser.statement(Parser.java:719)
        at org.mozilla.javascript.Parser.statements(Parser.java:667)
        at org.mozilla.javascript.Parser.statementHelper(Parser.java:1171)
        at org.mozilla.javascript.Parser.statement(Parser.java:719)
        at org.mozilla.javascript.Parser.parse(Parser.java:430)
        at org.mozilla.javascript.Parser.parse(Parser.java:368)
        at org.mozilla.javascript.Context.compileImpl(Context.java:2320)
        at org.mozilla.javascript.Context.compileString(Context.java:1348)
        at org.mozilla.javascript.Context.compileString(Context.java:1337)
        at org.mozilla.javascript.Context.evaluateString(Context.java:1193)
        at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
        at
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
        at
org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
        at
org.mozilla.javascript.gen.c22._c1(/data/nextaction/trimpath-junction-1.1.18/jun
ction_release/hop/../hop.apps/engines/
Global/global.js:18)
        at
org.mozilla.javascript.gen.c22.call(/data/nextaction/trimpath-junction-1.1.18/ju
nction_release/hop/../hop.apps/engines
/Global/global.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
        at
org.mozilla.javascript.gen.c57._c5(/data/nextaction/trimpath-junction-1.1.18/jun
ction_release/hop/../hop.apps/engines/
EngineAppsApp/engineProcess.js:147)
        at
org.mozilla.javascript.gen.c57.call(/data/nextaction/trimpath-junction-1.1.18/ju
nction_release/hop/../hop.apps/engines
/EngineAppsApp/engineProcess.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
        at
org.mozilla.javascript.gen.c57._c1(/data/nextaction/trimpath-junction-1.1.18/jun
ction_release/hop/../hop.apps/engines/
EngineAppsApp/engineProcess.js:664)
        at
org.mozilla.javascript.gen.c57.call(/data/nextaction/trimpath-junction-1.1.18/ju
nction_release/hop/../hop.apps/engines
/EngineAppsApp/engineProcess.js)
        at
org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
        at
org.mozilla.javascript.gen.c56._c1(/data/nextaction/trimpath-junction-1.1.18/jun
ction_release/hop/../hop.apps/engines/
EngineAppsApp/engineAppsApp.js:4)
        at
org.mozilla.javascript.gen.c56.call(/data/nextaction/trimpath-junction-1.1.18/ju
nction_release/hop/../hop.apps/engines
/EngineAppsApp/engineAppsApp.js)
        at
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
        at
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
        at
org.mozilla.javascript.gen.c56.call(/data/nextaction/trimpath-junction-1.1.18/ju
nction_release/hop/../hop.apps/engines
/EngineAppsApp/engineAppsApp.js)
        at org.mozilla.javascript.Context.call(Context.java:538)
        at helma.scripting.rhino.RhinoEngine.invoke(RhinoEngine.java:296)
        at helma.framework.core.RequestEvaluator.run(RequestEvaluator.java:389)
        at java.lang.Thread.run(Thread.java:619)
[2007/10/09 15:18:37] [ERROR] engines:get:100/apps/nextaction: missing (
before condition (/data/nextaction/trimpath-junction-1.1
.18/junction_release.spaces/100/nextaction/code/app/views/project/completed.js#1
)
helma.scripting.ScriptingException: missing ( before condition
(/data/nextaction/trimpath-junction-1.1.18/junction_release.spaces
/100/nextaction/code/app/views/project/completed.js#1)
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/Global/global.js:18
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineProcess.js:147
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineProcess.js:664
        at
/data/nextaction/trimpath-junction-1.1.18/junction_release/hop/../hop.apps/engin
es/EngineAppsApp/engineAppsApp.js:4
Full trace: org.mozilla.javascript.EvaluatorException: missing ( before
condition (/data/nextaction/trimpath-junction-1.1.18/junc
tion_release.spaces/100/nextaction/code/app/views/project/completed.js#1)
        at
org.mozilla.javascript.DefaultErrorReporter.runtimeError(DefaultErrorReporter.ja
va:109)

Original issue reported on code.google.com by joegarde...@gmail.com on 9 Oct 2007 at 11:16