des09 / ktrwjr

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

Cannot load tests #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Encountered on OS / Browser (e.g. WinXP, IE8, FF3):
Ubuntu 11.10 
FF3
ktrwjr 2.0.1

Encountered on the production server or the development server?
On Development (First Time Install)
Weblogic 

Detailed description (please be as specific as possible):
When Acceding index.html i get :
Cannot load the tests.
[The cause]
com.google.gwt.json.client.JSONException: Error parsing JSON: SyntaxError: 
JSON.parse: unexpected character
Unknown.VF(Unknown source:0)
Unknown.IG(Unknown source:0)
Unknown.FG(Unknown source:0)
Unknown.HG(Unknown source:0)
Unknown.Ki(Unknown source:0)
Unknown.Zi(Unknown source:0)
Unknown.XD(Unknown source:0)
Unknown.BE(Unknown source:0)
Unknown.anonymous(Unknown source:0)
Unknown.Hu(Unknown source:0)
Unknown.anonymous(Unknown source:0)
Unknown.anonymous(Unknown source:0)

I found JSON.parse in javascript (but not so easy to understand)

My Tests are under WEB-INF/classes

I have no idea what to check.

Thx for your help

Original issue reported on code.google.com by steven.r...@gmail.com on 9 Nov 2011 at 6:43

GoogleCodeExporter commented 9 years ago

Original comment by bufferi...@gmail.com on 9 Nov 2011 at 10:23

GoogleCodeExporter commented 9 years ago
Would you try removing some special characters?

Original comment by bufferi...@gmail.com on 13 Nov 2011 at 7:20

GoogleCodeExporter commented 9 years ago
in your test class or test methods

Original comment by bufferi...@gmail.com on 13 Nov 2011 at 7:20

GoogleCodeExporter commented 9 years ago
I'll try it asap and give review

Original comment by steven.r...@gmail.com on 13 Nov 2011 at 9:56

GoogleCodeExporter commented 9 years ago
I see same error under tomcat 6
SEVERE: Servlet.service() for servlet KtrWjrServiceServlet threw exception
java.lang.IllegalArgumentException: WEB-INF/classes not exists.
    at bufferings.ktr.wjr.shared.util.Preconditions.checkArgument(Unknown Source)

Original comment by m...@systemsplanet.com on 5 Apr 2013 at 4:20

GoogleCodeExporter commented 9 years ago
Fixed by setting tomcat start path in eclipse:

select Open Launch Configuration link. 
Select Arguments tab. 
Working Directory other:
${workspace_loc:YOUR_APP/target/YOUR_CONTEXT}

Original comment by m...@systemsplanet.com on 5 Apr 2013 at 4:37