|
#11
|
|||
|
|||
|
Quote:
I am using the nightly build from 2008-12-17 Firebug reports two errors: isc is not defined http://localhost:8080/sc/system/helpers/Log.html Line 19 saveState is not defined http://localhost:8080/sc/system/helpers/Log.html Line 1 I tested it with the com.smartgwt.SmartGwt and the com.smartgwt.SmartGwtDebug module. |
|
#12
|
|||
|
|||
|
Hello,
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 Code:
... [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 ?) ... - 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 : Code:
[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) Code:
<module>
<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' />
</module>
Regards |
|
#13
|
|||
|
|||
|
Can somebody give simple example how to write to log? I can't find in any place...
10x |
|
#14
|
|||
|
|||
|
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:
Code:
A Runtime Error has occurred: Line 18: 'isc' is undefined |
|
#15
|
|||
|
|||
|
@alonas You can write to the top via SC.logWarn() and related methods.
|
|
#16
|
|||
|
|||
|
/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. |
|
#17
|
|||
|
|||
|
this issue has allready been accepted:
http://code.google.com/p/smartgwt/issues/detail?id=69 as a workaround, you can put in the missing developer directory by hand. |
|
#18
|
|||
|
|||
|
Quote:
|
|
#19
|
|||
|
|||
|
The method had been added in the nightly build :)
So, if you didn't get the latest build, it does make sense. Cheers, Bertrand. |
|
#20
|
|||
|
|||
|
The Developer Console should be functional from the SVN build now. I'll also try to put up a nightly build tomorrow.
Sanjiv |