AnsweredAssumed Answered

problems trying to enable JavaScript Debugger

Question asked by stk137 on Aug 23, 2007
Latest reply on Aug 30, 2007 by stk137
I am trying to enable the JavaScript debugger, but I get the following error.
This is on Linux.  How do I get this to work?

The Web Script /alfresco/service/api/javascript/debugger has responded with a status of 500 - Internal Error.

500 Description:   An error inside the HTTP server which prevented it from fulfilling the request.

Message:   <Not specified>

Exception:   java.awt.HeadlessException
   
   java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
   java.awt.Window.(Window.java:317)
   java.awt.Frame.(Frame.java:419)
   javax.swing.JFrame.(JFrame.java:194)
   org.mozilla.javascript.tools.debugger.SwingGui.(SwingGui.java:153)
   org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger.activate(AlfrescoRhinoScriptDebugger.java:84)
   org.alfresco.repo.jscript.AlfrescoRhinoScriptDebugger.show(AlfrescoRhinoScriptDebugger.java:96)
   org.alfresco.web.scripts.bean.JavascriptDebuggerPost.executeImpl(JavascriptDebuggerPost.java:66)
   org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:98)
   org.alfresco.web.scripts.WebScriptRuntime.wrappedExecute(WebScriptRuntime.java:342)
   org.alfresco.web.scripts.WebScriptRuntime.authenticatedExecute(WebScriptRuntime.java:308)
   org.alfresco.web.scripts.WebScriptRuntime$1.execute(WebScriptRuntime.java:163)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
   org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
   org.alfresco.web.scripts.WebScriptRuntime.executeScript(WebScriptRuntime.java:174)
   org.alfresco.web.scripts.WebScriptServlet.service(WebScriptServlet.java:109)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
   org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
   org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
   org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
   org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
   org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
   org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
   org.josso.tc55.agent.SSOAgentValve.invoke(SSOAgentValve.java:552)
   org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
   org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
   org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
   org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
   org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
   org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
   org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
   java.lang.Thread.run(Thread.java:595)
   
Server:   Alfresco Community Network v2.1.0 (482) schema 64
Time:   Aug 23, 2007 4:27:39 PM

Diagnostics:   Inspect Web Script (org/alfresco/jsdebugger.post)

Outcomes