Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » "TypeError - $0 is undefined" by gmaps Example.
"TypeError - $0 is undefined" by gmaps Example. [message #538713] Tue, 08 June 2010 13:20 Go to next message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey guys,

i try to get the gmaps exampel running. I checked it out from the cvs, implemented the GMapDemo class, added a entrypoint to the plugin.xml for this class and configured the run configuration properly. After executing the demo i get the error message:

My Configuration = Eclipse 3.5.2
RAP 1.3

Thanks...

001437 ERROR: org.eclipse.swt.Request[59]: Could not execute javascript: [var req = org.eclipse.swt.Request.getInstance();req.setRequestCounter( "0" );qx.theme.manager.Meta.getInstance().setTheme( org.eclipse.swt.theme.Default );org.eclipse.swt.Request.getInstance().setTimeoutPage( "<html><head><title>Session timed out</title></head><body><p>The server session timed out.</p><p>Please click <a {HREF_URL}>here</a> to restart the session.</p></body></html>" );var wm = org.eclipse.swt.WidgetManager.getInstance();var w = new org.eclipse.swt.widgets.Shell();wm.add( w, "w2", true );w.addToDocument();w.addState( "rwt_TITLE" );w.setShowMinimize( true );w.setAllowMinimize( true );w.setShowMaximize( true );w.setAllowMaximize( true );w.setShowClose( true );w.setAllowClose( true );w.setResizable( true, true, true, true );w.initialize();w.setCaption( "GMaps Demo" );w.open();w.setActive( true );w.setMinWidth( 80 );w.setMinHeight( 23 );w.setSpace( 0, 300, 0, 300 );w.setTabIndex( -1 );w.setVisibility( true );var w = new org.eclipse.rap.gmaps.GMap( "w3" );wm.add( w, "w3", true );wm.setParent( w, "w2" );w.setAppearance( "composite" );w.setOverflow( "hidden" );w.setSpace( 0, 296, 19, 277 );w.setZIndex( 300 );w.setTabIndex( 1 );w.setAddress( "Stephanienstra├če 20, Karlsruhe" );var w = wm.findWidgetById( "w2" );w.setActiveControl( wm.findWidgetById( "w3" ) );org.eclipse.swt.WidgetManager.getInstance().focus( "w3" );]: TypeError - $0 is undefined
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:19
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:428
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:10
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:237
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:237
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:168
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:166
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:160
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:17
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:160
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:24
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:163
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:17
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:163
  at http://127.0.0.1:12345/rap?custom_service_handler=org.eclipse.rwt.internal.service.JSLibraryServiceHandler&hash=H2022971019:21


The stack trace above is shown in firefox. The following is shown in eclipse:


osgi> 2010-06-08 15:21:06.906:INFO:org.mortbay.log:Logging to STDERRorg.mortbay.log via org.mortbay.log.Slf4jLog
2010-06-08 15:21:07.046:INFO::jetty-6.1.x
2010-06-08 15:21:08.140:INFO::Started SelectChannelConnector@0.0.0.0:12345
!SESSION 2010-06-08 15:21:05.406 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -Dorg.eclipse.rwt.clientLibraryVariant=DEBUG -Dorg.eclipse.rwt.clientLogLevel=ALL
Command-line arguments:  -dev file:C:/workspaceRCP/.metadata/.plugins/org.eclipse.pde.core/GMapsCVS/dev.properties -os win32 -ws win32 -arch x86 -console -consolelog -Dorg.eclipse.rwt.clientLibraryVariant=DEBUG -Dorg.eclipse.rwt.clientLogLevel=ALL

!ENTRY org.eclipse.rap.ui.launch 4 0 2010-06-08 15:21:08.156
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui.launch_1.3.0.20100504-1207 [10]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.debug.ui; bundle-version="0.0.0"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1073)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.rap.demo.gmaps 4 0 2010-06-08 15:21:08.265
!MESSAGE Could not register entry point 'GMapDemo' with request startup parameter 'test'.
!STACK 0
java.lang.IllegalArgumentException: An entry point named 'test' already exists.
	at org.eclipse.rwt.internal.lifecycle.EntryPointManager.register(EntryPointManager.java:51)
	at org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper.registerWorkbenchEntryPoint(EngineConfigWrapper.java:230)
	at org.eclipse.rap.ui.internal.servlet.EngineConfigWrapper.<init>(EngineConfigWrapper.java:90)
	at org.eclipse.rap.ui.internal.servlet.RequestHandler.init(RequestHandler.java:39)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.init(ServletRegistration.java:49)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:177)
	at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:66)
	at org.eclipse.rap.ui.internal.servlet.HttpServiceTracker.addingService(HttpServiceTracker.java:52)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
	at org.eclipse.ui.internal.WorkbenchPlugin$3.addingService(WorkbenchPlugin.java:1115)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:233)
	at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:840)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:933)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:149)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:756)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:711)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:206)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:507)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:525)
	at org.eclipse.equinox.http.registry.internal.HttpServiceTracker.open(HttpServiceTracker.java:43)
	at org.eclipse.equinox.http.registry.internal.Activator.addingService(Activator.java:59)
	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)
	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)
	at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)
	at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)
	at org.eclipse.equinox.http.registry.internal.Activator.start(Activator.java:37)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1073)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.rap.ui.intro 4 0 2010-06-08 15:21:09.234
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui.intro_1.3.0.20100504-1207 [19]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.ui.intro; bundle-version="0.0.0"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1073)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.rap.ui.templates 4 0 2010-06-08 15:21:09.234
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.ui.templates_1.3.0.20100504-1207 [23]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.resources; bundle-version="0.0.0"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1073)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.rap.help 4 0 2010-06-08 15:21:09.265
!MESSAGE 
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.rap.help_1.3.0.20100504-1207 [25]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.core.resources; bundle-version="0.0.0"
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1317)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1301)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:319)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:374)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1073)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:561)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:546)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:459)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:440)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:227)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:337)

!ENTRY org.eclipse.osgi 4 0 2010-06-08 15:21:09.281
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui.launch_1.3.0.20100504-1207.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2010-06-08 15:21:09.281
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.help_1.3.0.20100504-1207.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2010-06-08 15:21:09.281
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui.templates_1.3.0.20100504-1207.jar/ was not resolved.

!ENTRY org.eclipse.osgi 4 0 2010-06-08 15:21:09.437
!MESSAGE Bundle initial@reference:file:plugins/org.eclipse.rap.ui.intro_1.3.0.20100504-1207.jar/ was not resolved.

[Updated on: Tue, 08 June 2010 13:27]

Report message to a moderator

Re: "TypeError - $0 is undefined" by gmaps Example. [message #538746 is a reply to message #538713] Tue, 08 June 2010 14:21 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Robert,

if you have this line in your GMapLCA#renderInitialization, please
remove it and test it again. Using the "composite" appearance leads to
javascript error, because of new features in RAP 1.3 like background
gradient.
----
writer.set( "appearance", "composite" );
----

HTH,
Ivan

On 06/08/2010 4:20 PM, Robert Fretschner wrote:
> Hey guys,
>
> i try to get the gmaps exampel running. I checked it out from the cvs,
> implemented the GMapDemo class, added a entrypoint to the plugin.xml
> for this class and configured the run configuration properly. After
> executing the demo i get the error message:
>
> My Configuration = Eclipse 3.5.2
> RAP 1.3
>
> Thanks...
>
>
> 001437 ERROR: org.eclipse.swt.Request[59]: Could not execute
> javascript: [var req =
> org.eclipse.swt.Request.getInstance();req.setRequestCounter( "0"
> );qx.theme.manager.Meta.getInstance().setTheme(
> org.eclipse.swt.theme.Default
> );org.eclipse.swt.Request.getInstance().setTimeoutPage(
> "<html><head><title>Session timed out</title></head><body><p>The
> server session timed out.</p><p>Please click <a {HREF_URL}>here</a> to
> restart the session.</p></body></html>" );var wm =
> org.eclipse.swt.WidgetManager.getInstance();var w = new
> org.eclipse.swt.widgets.Shell();wm.add( w, "w2", true
> );w.addToDocument();w.addState( "rwt_TITLE" );w.setShowMinimize( true
> );w.setAllowMinimize( true );w.setShowMaximize( true
> );w.setAllowMaximize( true );w.setShowClose( true );w.setAllowClose(
> true );w.setResizable( true, true, true, true
> );w.initialize();w.setCaption( "GMaps Demo" );w.open();w.setActive(
> true );w.setMinWidth( 80 );w.setMinHeight( 23 );w.setSpace( 0, 300, 0,
> 300 );w.setTabIndex( -1 );w.setVisibility( true );var w = new
> org.eclipse.rap.gmaps.GMap( "w3" );wm.add( w, "w3", true
> );wm.setParent( w, "w2" );w.setAppearance( "composite"
> );w.setOverflow( "hidden" );w.setSpace( 0, 296, 19, 277 );w.setZIndex(
> 300 );w.setTabIndex( 1 );w.setAddress( "Stephanienstra├če 20,
> Karlsruhe" );var w = wm.findWidgetById( "w2" );w.setActiveControl(
> wm.findWidgetById( "w3" )
> );org.eclipse.swt.WidgetManager.getInstance().focus( "w3" );]:
> TypeError - $0 is undefined
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:19
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:428
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:10
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:237
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:237
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:168
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:166
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:160
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:17
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:160
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:24
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:163
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:17
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:163
>
> at
> http://127.0.0.1:12345/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H202 2971019:21
>
>
Re: "TypeError - $0 is undefined" by gmaps Example. [message #538747 is a reply to message #538746] Tue, 08 June 2010 14:27 Go to previous messageGo to next message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey hey,

thanks for your answer. I removed the line but i still get the same errors.

[Updated on: Tue, 08 June 2010 14:32]

Report message to a moderator

Re: "TypeError - $0 is undefined" by gmaps Example. [message #538779 is a reply to message #538747] Tue, 08 June 2010 15:10 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Robert,

without any piece of code or sample project to test I can't help you much.

Best,
Ivan

On 06/08/2010 5:27 PM, Robert Fretschner wrote:
> Hey hey,
>
> thanks for your answer. I removed the line but i get still the same
> errors.
>
>
Re: "TypeError - $0 is undefined" by gmaps Example. [message #538914 is a reply to message #538779] Wed, 09 June 2010 05:39 Go to previous messageGo to next message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey Ivan,

thanks for your help.
I uploaded a zip file of the hole project there:
http://www.speedshare.org/download.php?id=71068C6211

Best regards,
Robert
Re: "TypeError - $0 is undefined" by gmaps Example. [message #538925 is a reply to message #538713] Wed, 09 June 2010 06:51 Go to previous messageGo to next message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey Ivan,

it works. I changed the entrypoints parameter name to default (Run Configurations and entrypoint) and changed the Client-side Library Variant to Debug (Run Configurations).

I have no idea why it works no and didn't work before. Do you know why?

Thanks...
Re: "TypeError - $0 is undefined" by gmaps Example. [message #538950 is a reply to message #538925] Wed, 09 June 2010 07:18 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Robert,

it's great that you manage to fix it yourself. Does it work in
"non-debug" (standard) mode now?

Best,
Ivan

On 06/09/2010 9:51 AM, Robert Fretschner wrote:
> Hey Ivan,
>
> it works. I changed the entrypoints parameter name to default (Run
> Configurations and entrypoint) and changed the Client-side Library
> Variant to Debug (Run Configurations).
>
> I have no idea why it works no and didn't work before. Do you know why?
>
> Thanks...
Re: "TypeError - $0 is undefined" by gmaps Example. [message #538966 is a reply to message #538950] Wed, 09 June 2010 08:37 Go to previous messageGo to next message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey hey,

jep it works in standard mode as well.
So it can only depend on the entrypoint parameter change. But if i change the name of the entrypoint parameter in the manifest and in the run configurations than it should work if both names are the same... Am i right?

Best regards,
Robert
Re: "TypeError - $0 is undefined" by gmaps Example. [message #539028 is a reply to message #538966] Wed, 09 June 2010 11:27 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Robert,

yes.. The entrypoint name in your launch configuration have to match the
name in you plugin configuration.

Best,
Ivan

On 06/09/2010 11:37 AM, Robert Fretschner wrote:
> Hey hey,
>
> jep it works in standard mode as well. So it can only depend on the
> entrypoint parameter change. But if i change the name of the
> entrypoint parameter in the manifest and in the run configurations
> than it should work if both names are the same... Am i right?
>
> Best regards,
> Robert
icon14.gif  Re: "TypeError - $0 is undefined" by gmaps Example. [message #539037 is a reply to message #539028] Wed, 09 June 2010 12:09 Go to previous message
Robert Fretschner is currently offline Robert FretschnerFriend
Messages: 6
Registered: June 2010
Junior Member
Hey hey,

ok. thanks for your help.


Previous Topic:Deploying war with RAP 1.3RC3
Next Topic:RAP 1.3RC3: deadlock detected
Goto Forum:
  


Current Time: Sun Dec 05 21:33:27 GMT 2021

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

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

Back to the top