Go Back   SmartClient Forums > Smart GWT Technical Q&A
Wiki Register Search Today's Posts Mark Forums Read

Thread Tools Search this Thread
Old 22nd Dec 2008, 03:55
hschmitt hschmitt is offline
Registered Developer
Join Date: Nov 2008
Posts: 14

Originally Posted by bwalsh
confirmed it, reverted back to 1.0b1 and SC.showConsole(); works

(although KeyCallback not defined in 1.0b1 )
With me it does not show the developer console, too. Although the window pops up.
I am using the nightly build from 2008-12-17
Firebug reports two errors:
isc is not defined
Line 19

saveState is not defined
Line 1

I tested it with the com.smartgwt.SmartGwt and the com.smartgwt.SmartGwtDebug module.
Reply With Quote
Old 22nd Dec 2008, 04:52
blega blega is offline
Registered Developer
Join Date: Dec 2008
Posts: 6
Default Switch to the latest build, too


I switch to the latest build 12-18-2008, remove tomcat folder, bin folder and
I have some errors/warnings I never had with the release.

Error : the log window displays but stays blank.
It seems that some files can't be found : I have the following output

[TRACE] The development shell servlet received a request for 'sc/system/development/ISC_DeveloperConsole.js' in module 'erdf.mario.TheApplication.gwt.xml' 
[WARN] Resource not found: sc/system/development/ISC_DeveloperConsole.js; (could a file be missing from the public path or a <servlet> tag misconfigured in module erdf.mario.TheApplication.gwt.xml ?)
... and the same goes for :
- sc/system/development/ISC_FileLoader.js
- sc/system/development/ISC_Tools.js
- sc/skins/SmartClient/load_skin.js

Warning : JNSI malformed

I got a lot of warnings :

[WARN] Malformed JSNI reference 'constructor'; expect subsequent failures
java.lang.NoSuchFieldError: constructor
	at com.google.gwt.dev.shell.CompilingClassLoader$DispatchClassInfoOracle.getDispId(CompilingClassLoader.java:119)
	at com.google.gwt.dev.shell.CompilingClassLoader.getDispId(CompilingClassLoader.java:531)
	at com.google.gwt.dev.shell.ie.IDispatchProxy.getIDsOfNames(IDispatchProxy.java:124)
	at com.google.gwt.dev.shell.ie.IDispatchImpl.GetIDsOfNames(IDispatchImpl.java:273)
	at com.google.gwt.dev.shell.ie.IDispatchImpl.method5(IDispatchImpl.java:189)
	at org.eclipse.swt.internal.ole.win32.COMObject.callback5(COMObject.java:108)
	at org.eclipse.swt.internal.ole.win32.COM.VtblCall(Native Method)
	at org.eclipse.swt.internal.ole.win32.IDispatch.Invoke(IDispatch.java:64)
	at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:493)
	at org.eclipse.swt.ole.win32.OleAutomation.invoke(OleAutomation.java:417)
	at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvokeOnWindow(ModuleSpaceIE6.java:67)
	at com.google.gwt.dev.shell.ie.ModuleSpaceIE6.doInvoke(ModuleSpaceIE6.java:152)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:447)
	at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:228)
	at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
	at com.smartgwt.client.widgets.form.DynamicForm.create(DynamicForm.java)
	at com.smartgwt.client.widgets.BaseWidget.getOrCreateJsObj(BaseWidget.java:279)
	at com.smartgwt.client.widgets.layout.Layout.addMember(Layout.java:791)
	at erdf.mario.client.AffinageEdit.createField(AffinageEdit.java:129)
	at erdf.mario.client.AffinageEdit.init(AffinageEdit.java:48)
	at erdf.mario.client.AffinageEdit.<init>(AffinageEdit.java:32)
	at erdf.mario.client.AffinageEdit.<init>(AffinageEdit.java:143)
	at erdf.mario.client.TheApplication.onModuleLoad(TheApplication.java:48)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:320)
	at com.google.gwt.dev.shell.BrowserWidget.attachModuleSpace(BrowserWidget.java:329)
	at com.google.gwt.dev.shell.ie.BrowserWidgetIE6.access$300(BrowserWidgetIE6.java:37)
	at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.gwtOnLoad(BrowserWidgetIE6.java:76)
	at com.google.gwt.dev.shell.ie.BrowserWidgetIE6$External.invoke(BrowserWidgetIE6.java:139)
	at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke(IDispatchImpl.java:294)
	at com.google.gwt.dev.shell.ie.IDispatchImpl.method6(IDispatchImpl.java:194)
	at org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMObject.java:117)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
	at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
	at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
	at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
For reference, here is my gwt.xml file
      <inherits name='com.extjs.gxt.ui.GXT'/>
      <inherits name='com.google.gwt.user.User'/>
      <inherits name='com.google.gwt.user.theme.standard.Standard'/>

      <!-- Other module inherits                                      -->
      <inherits name="com.smartgwt.SmartGwt"/>

      <!-- Specify the app entry point class.                         -->
      <entry-point class='erdf.mario.client.TheApplication'/>
	  <source path='domain'/>
	  <source path='client'/>
      <servlet path="/Service" class="erdf.mario.server.ServiceImpl" />
      <!-- Specify the application specific style sheet.              -->
      <stylesheet src='TheApplication.css' />
Do you have an idea about what went wrong ?

Reply With Quote
Old 29th Dec 2008, 03:39
alona.oz alona.oz is offline
Registered Developer
Join Date: Dec 2008
Posts: 10
Default Ho to write to log?

Can somebody give simple example how to write to log? I can't find in any place...

Reply With Quote
Old 29th Dec 2008, 07:27
greymeister greymeister is offline
Registered Developer
Join Date: Nov 2008
Posts: 5

Developer console does not work for me anymore, I'm using the 12/18/2008 nightly build. Worked with previous nightly build on 12/4/2008. The error message I get is the following:

A Runtime Error has occurred: 
Line 18: 'isc' is undefined
Reply With Quote
Old 29th Dec 2008, 10:49
Isomorphic Isomorphic is offline
Join Date: May 2006
Posts: 41,359

@alonas You can write to the top via SC.logWarn() and related methods.
Reply With Quote
Old 29th Dec 2008, 12:39
FrederikB FrederikB is offline
Registered Developer
Join Date: Dec 2008
Posts: 3

/sc/system/development is missing from the latest SmartGWT nightly which causes the developer console to fail.
This is because Log.html cannot load several javascript files from that directory, including development/ISC_DeveloperConsole.js.
Reply With Quote
Old 29th Dec 2008, 16:38
kinglear kinglear is offline
Registered Developer
Join Date: Dec 2008
Posts: 69

this issue has allready been accepted:


as a workaround, you can put in the missing developer directory by hand.
Reply With Quote
Old 29th Dec 2008, 23:26
alona.oz alona.oz is offline
Registered Developer
Join Date: Dec 2008
Posts: 10
Default Write to log

Originally Posted by Isomorphic
@alonas You can write to the top via SC.logWarn() and related methods.
I don't have such method in SC class, also I don't have Log class...
Reply With Quote
Old 30th Dec 2008, 01:59
blega blega is offline
Registered Developer
Join Date: Dec 2008
Posts: 6

The method had been added in the nightly build :)

So, if you didn't get the latest build, it does make sense.

Reply With Quote
Old 4th Jan 2009, 07:14
sjivan sjivan is offline
Registered Developer
Join Date: May 2008
Posts: 1,534

The Developer Console should be functional from the SVN build now. I'll also try to put up a nightly build tomorrow.

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search

© 2008 and beyond Isomorphic Software. All Rights Reserved