Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » HTTP 500 error(IMAP tutorial)
icon5.gif  HTTP 500 error [message #1393906] Fri, 04 July 2014 13:04 Go to next message
Beatriz SanchezFriend
Messages: 22
Registered: July 2014
Location: York
Junior Member
Hi
I'm trying to integrate an email client to my scout project. I've followed twice the instructions on the IMAP tutorial and I just dont seem to do it well
I always get an error.. I belive it has to do with the filter because when I add the imap filter to the extensions is when it chrashes.
When compiling, application does not start. There's an error message :
index.php/fa/18455/0/

The console shows the following
!SESSION 2014-07-04 14:59:24.334 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_55
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product com.cecima.publisher.ui.swing.product
Command-line arguments:  -product com.cecima.publisher.ui.swing.product -data /home/betty/cecima/Publisher 1.0/../runtime-publisher-swing-client-dev.product -dev file:/home/betty/cecima/Publisher 1.0/.metadata/.plugins/org.eclipse.pde.core/publisher-swing-client-dev.product/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.209
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.<clinit>(ConfigIniUtility.java:71) Config Bean Properties

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.210
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.216
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.clientnotification.internal.ClientNotificationConsumerService

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.222
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.security.AccessControlServiceClientProxy

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.229
!MESSAGE com.bsiag.scout.rt.ui.swing.laf.rayo.Rayo.readExtensionPoint(Rayo.java:116) using default Rayo configurator

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.775
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.799
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.icon.IconProviderService

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:26.802
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.ui.swing.services.common.icon.SwingBundleIconProviderService

!ENTRY org.eclipse.scout.commons 1 0 2014-07-04 14:59:27.184
!MESSAGE org.eclipse.scout.commons.ConfigIniUtility.getProperties(ConfigIniUtility.java:94) Properties for org.eclipse.scout.rt.client.services.common.perf.internal.PerformanceAnalyzerService

!ENTRY org.eclipse.scout.rt.client 4 0 2014-07-04 14:59:27.191
!MESSAGE org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:257) load session
!STACK 0
java.lang.reflect.UndeclaredThrowableException
	at com.sun.proxy.$Proxy6.getAllCodeTypeClasses(Unknown Source)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypeClasses(CodeServiceClientProxy.java:333)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypes(CodeServiceClientProxy.java:354)
	at org.eclipse.scout.rt.shared.services.common.code.CODES.getAllCodeTypes(CODES.java:97)
	at com.cecima.publisher.client.ClientSession.execLoadSession(ClientSession.java:33)
	at org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:252)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService$1.runVoid(ClientSessionRegistryService.java:64)
	at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	at org.eclipse.scout.commons.job.JobEx.runNow(JobEx.java:51)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.createAndStartClientSession(ClientSessionRegistryService.java:68)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.newClientSession(ClientSessionRegistryService.java:39)
	at com.cecima.publisher.ui.swing.SwingApplication.getClientSession(SwingApplication.java:53)
	at org.eclipse.scout.rt.ui.swing.AbstractSwingApplication.startInSubject(AbstractSwingApplication.java:45)
	at org.eclipse.scout.rt.ui.swing.BaseSwingApplication.start(BaseSwingApplication.java:140)
	at org.eclipse.scout.rt.ui.swing.AbstractSwingApplication.start(AbstractSwingApplication.java:1)
	at com.cecima.publisher.ui.swing.SwingApplication.startSecure(SwingApplication.java:48)
	at com.cecima.publisher.ui.swing.SwingApplication.access$0(SwingApplication.java:40)
	at com.cecima.publisher.ui.swing.SwingApplication$1.run(SwingApplication.java:30)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at com.cecima.publisher.ui.swing.SwingApplication.start(SwingApplication.java:27)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
	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:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: ProcessingException[ProcessingStatus[ERROR code=0 Calling ICodeService.getAllCodeTypeClasses() org.eclipse.scout.rt.shared.servicetunnel.HttpException: 500 - INTERNAL_SERVER_ERROR]]
	at org.eclipse.scout.rt.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:116)
	at org.eclipse.scout.rt.servicetunnel.http.internal.AbstractInternalHttpServiceTunnel.invokeService(AbstractInternalHttpServiceTunnel.java:132)
	at org.eclipse.scout.rt.client.servicetunnel.http.ClientHttpServiceTunnel.invokeService(ClientHttpServiceTunnel.java:121)
	at org.eclipse.scout.rt.servicetunnel.ServiceTunnelInvocationHandler.invoke(ServiceTunnelInvocationHandler.java:48)
	at com.sun.proxy.$Proxy6.getAllCodeTypeClasses(Unknown Source)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypeClasses(CodeServiceClientProxy.java:333)
	at org.eclipse.scout.rt.client.services.common.code.CodeServiceClientProxy.getAllCodeTypes(CodeServiceClientProxy.java:354)
	at org.eclipse.scout.rt.shared.services.common.code.CODES.getAllCodeTypes(CODES.java:97)
	at com.cecima.publisher.client.ClientSession.execLoadSession(ClientSession.java:33)
	at org.eclipse.scout.rt.client.AbstractClientSession.startSession(AbstractClientSession.java:252)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService$1.runVoid(ClientSessionRegistryService.java:64)
	at org.eclipse.scout.rt.client.ClientJob.runStatus(ClientJob.java:189)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	at org.eclipse.scout.commons.job.JobEx.runNow(JobEx.java:51)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.createAndStartClientSession(ClientSessionRegistryService.java:68)
	at org.eclipse.scout.rt.client.services.common.session.internal.ClientSessionRegistryService.newClientSession(ClientSessionRegistryService.java:39)
	at com.cecima.publisher.ui.swing.SwingApplication.getClientSession(SwingApplication.java:53)
	at org.eclipse.scout.rt.ui.swing.AbstractSwingApplication.startInSubject(AbstractSwingApplication.java:45)
	at org.eclipse.scout.rt.ui.swing.BaseSwingApplication.start(BaseSwingApplication.java:140)
	at org.eclipse.scout.rt.ui.swing.AbstractSwingApplication.start(AbstractSwingApplication.java:1)
	at com.cecima.publisher.ui.swing.SwingApplication.startSecure(SwingApplication.java:48)
	at com.cecima.publisher.ui.swing.SwingApplication.access$0(SwingApplication.java:40)
	at com.cecima.publisher.ui.swing.SwingApplication$1.run(SwingApplication.java:30)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:415)
	at com.cecima.publisher.ui.swing.SwingApplication.start(SwingApplication.java:27)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
	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:606)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
	at org.eclipse.scout.rt.servicetunnel.AbstractServiceTunnel.invokeService(AbstractServiceTunnel.java:120)
	at org.eclipse.scout.rt.servicetunnel.http.internal.AbstractInternalHttpServiceTunnel.invokeService(AbstractInternalHttpServiceTunnel.java:132)
	at org.eclipse.scout.rt.client.servicetunnel.http.ClientHttpServiceTunnel.invokeService(ClientHttpServiceTunnel.java:121)
	at org.eclipse.scout.rt.servicetunnel.ServiceTunnelInvocationHandler.invoke(ServiceTunnelInvocationHandler.java:48)
	... 36 more
Caused by: org.eclipse.scout.rt.shared.servicetunnel.HttpException: 500 - INTERNAL_SERVER_ERROR
	at org.eclipse.scout.rt.servicetunnel.http.internal.HttpBackgroundExecutable.run(HttpBackgroundExecutable.java:90)
	at org.eclipse.scout.rt.client.servicetunnel.http.internal.InternalClientHttpServiceTunnel$2.runStatus(InternalClientHttpServiceTunnel.java:207)
	at org.eclipse.scout.rt.client.ClientJob.runTransactionWrapper(ClientJob.java:172)
	at org.eclipse.scout.rt.client.ClientJob.run(ClientJob.java:159)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

  • Attachment: error.png
    (Size: 6.71KB, Downloaded 455 times)
Re: HTTP 500 error [message #1394476 is a reply to message #1393906] Sat, 05 July 2014 10:44 Go to previous message
Jeremie Bresson is currently offline Jeremie BressonFriend
Messages: 1252
Registered: October 2011
Senior Member
Can you post the content of the server console output?

You can switch between the console outputs (client / server) with the "Display Selected Console" button in the "Console" View.

http://www.eclipse.org/forums/index.php/fa/14767/0/


Other question:
Is your server up and running?
Can you connect to the "Process Servlet" page (using a normal webbrowser).

URL should be something like:
http://localhost:8080/<name of your app>_server/process

You read this URL in your client config.ini or using the Object Properties View in the "Product Lunchers" Section.
Previous Topic:CalendarField doesn't like the 30 March
Next Topic:Scout Tests with Timeout
Goto Forum:
  


Current Time: Wed Apr 24 19:22:31 GMT 2024

Powered by FUDForum. Page generated in 0.03661 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top