Thread overview |
---|
March 30, 2009 dwt2 exception: required u_forDigit_3_8 NUL in library icuuc38.dll | ||||
---|---|---|---|---|
| ||||
an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: unhandled D Exception (object.Exception "required u_forDigit_3_8 NUL in library icuuc38.dll KERNEL32.dll (0x7c812a5b) thread(1344) ->us #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll #1 0x0084ba5b in __d_throw@4 () at java\mangoicu\UChar.d:1229 from deh #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 #3 0x00470400 in java.mangoicu.UChar.__modctor () at copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) any help? -- yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin/ D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ |
March 31, 2009 Re: dwt2 exception: required u_forDigit_3_8 NUL in library icuuc38.dll | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | On Tue, 31 Mar 2009 07:26:08 +0800 yidabu <dyuyan.spam@gmail.com> wrote: > an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. > > I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: > > unhandled D Exception (object.Exception > "required u_forDigit_3_8 NUL in library icuuc38.dll > KERNEL32.dll (0x7c812a5b) thread(1344) > ->us > #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll > #1 0x0084ba5b in __d_throw@4 () at java\mangoicu\UChar.d:1229 from deh > #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 > #3 0x00470400 in java.mangoicu.UChar.__modctor () at > > copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) copy icuuc38.dll icudt38.dll icuin38.dll to app dir, get exception when starts: nhandled D Exception (tango.core.Exception.AssertException "Assertion failure") at KERNEL32.dll (0x7c812a5b) thread(1620) ->us #0 ?? () at extends\MyCellModifier.d:202 from KERNEL32.dll #1 0x00438347 in __d_throw@4 () at extends\MyCellModifier.d:202 #2 0x00437d8d in __d_assert () at extends\MyCellModifier.d:202 #3 0x004394c0 in invariant._d_invariant () at invariant.d:17 #4 0x004d337d in org.eclipse.jface.resource.ResourceManager.ResourceManager org.eclipse.jface.resource.JFaceResources.JFaceResources.getResources () at org\eclipse\jface\resource\JFaceResources.d:223 #5 0x004d3595 in org.eclipse.jface.resource.ImageRegistry.ImageRegistry org.eclipse.jface.resource.JFaceResources.JFaceResources.getImageRegistry () at org\eclipse\jface\resource\JFaceResources.d:425 #6 0x005b750f in org.eclipse.jface.viewers.DialogCellEditor.DialogCellEditor._staticCtor24 () at org\eclipse\jface\viewers\DialogCellEditor.d:97 #7 0x005b7bac in org.eclipse.jface.viewers.DialogCellEditor.__modctor () at object_.d:1240 from DialogCellEditor #8 0x0043b5a2 in object._moduleCtor2 () at object_.d:1240 #9 0x0043b61e in object._moduleCtor2 () at object_.d:1251 #10 0x0043b420 in _moduleCtor () at object_.d:1198 #11 0x00438168 in extern (C) int rt.dmain2.main(int, char**) . void runAll(void*) () at extends\MyCellModifier.d:202 #12 0x00438058 in _main () at extends\MyCellModifier.d:202 #13 0x008b4d6d in _mainCRTStartup () from constart #14 0x7c816fd7 in ?? () from KERNEL32.dll I don't know what's the problem, the code works fine with dwt-win and tango 0.99.7 -- yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ |
April 01, 2009 Re: dwt2 exception: required u_forDigit_3_8 NUL in library icuuc38.dll | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu | On Wed, 1 Apr 2009 06:48:49 +0800 yidabu <dyuyan.spam@gmail.com> wrote: > On Tue, 31 Mar 2009 07:26:08 +0800 > yidabu <dyuyan.spam@gmail.com> wrote: > > > an app updated to with dwt2, get runtime exception, Invalid UTF8..., the app works fine with dwt-win and dwtx. > > > > I built dwt2 debuglib today, re-compile app with debug flags, run ddbg -r app.exe,get exception on startup: > > > > unhandled D Exception (object.Exception > > "required u_forDigit_3_8 NUL in library icuuc38.dll > > KERNEL32.dll (0x7c812a5b) thread(1344) > > ->us > > #0 ?? () at java\mangoicu\UChar.d:1229 from KERNEL32.dll > > #1 0x0084ba5b in __d_throw@4 () at java\mangoicu\UChar.d:1229 from deh > > #2 0x004703e1 in java.mangoicu.UChar.UChar._staticCtor37 () at java\mangoicu\UChar.d:1229 > > #3 0x00470400 in java.mangoicu.UChar.__modctor () at > > > > copy icuuc38.dll to app dir, get same exception. (the icuuc38.dll is not required before) > > copy icuuc38.dll icudt38.dll icuin38.dll to app dir, get exception when starts: > > nhandled D Exception (tango.core.Exception.AssertException > "Assertion failure") at KERNEL32.dll (0x7c812a5b) thread(1620) > ->us > #0 ?? () at extends\MyCellModifier.d:202 from KERNEL32.dll > #1 0x00438347 in __d_throw@4 () at extends\MyCellModifier.d:202 > #2 0x00437d8d in __d_assert () at extends\MyCellModifier.d:202 > #3 0x004394c0 in invariant._d_invariant () at invariant.d:17 > #4 0x004d337d in org.eclipse.jface.resource.ResourceManager.ResourceManager org.eclipse.jface.resource.JFaceResources.JFaceResources.getResources () at org\eclipse\jface\resource\JFaceResources.d:223 > #5 0x004d3595 in org.eclipse.jface.resource.ImageRegistry.ImageRegistry org.eclipse.jface.resource.JFaceResources.JFaceResources.getImageRegistry () at org\eclipse\jface\resource\JFaceResources.d:425 > #6 0x005b750f in org.eclipse.jface.viewers.DialogCellEditor.DialogCellEditor._staticCtor24 () at org\eclipse\jface\viewers\DialogCellEditor.d:97 > #7 0x005b7bac in org.eclipse.jface.viewers.DialogCellEditor.__modctor () at object_.d:1240 from DialogCellEditor > #8 0x0043b5a2 in object._moduleCtor2 () at object_.d:1240 > #9 0x0043b61e in object._moduleCtor2 () at object_.d:1251 > #10 0x0043b420 in _moduleCtor () at object_.d:1198 > #11 0x00438168 in extern (C) int rt.dmain2.main(int, char**) . void runAll(void*) () at extends\MyCellModifier.d:202 > #12 0x00438058 in _main () at extends\MyCellModifier.d:202 > #13 0x008b4d6d in _mainCRTStartup () from constart > #14 0x7c816fd7 in ?? () from KERNEL32.dll > > > I don't know what's the problem, the code works fine with dwt-win and tango 0.99.7 seems the problem releated to IMenuListener. removed the listener, works fine. -- yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/ |
April 01, 2009 Exception when action.setEnabled(false) in IMenuListener | ||||
---|---|---|---|---|
| ||||
Posted in reply to yidabu |
this is an old problem I reported with dwt-win and dwtx, takes me a half day to found it.
class MyMenuListener: IMenuListener
{
void menuAboutToShow(IMenuManager manager)
{
action.setEnabled(false); // the gui not responsed
action.setEnabled(true); // no problem
}
}
tested with current dwt2(Windows), tango 0.99.8, build lib by Rake, build app by DMD 1.041
I removed all listeners, works now.
--
yidabu <yidabu.spam@gmail.com> http://www.dsource.org/projects/dwin
D 语言-中文(D Chinese): http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
|
Copyright © 1999-2021 by the D Language Foundation