Kuix cause reset on SonyEricsson series

11 messages - 1413 views

Hello,I got a big problem on kuix.While it works on emulator properly, it(first hello world,kaprice as well) cause reset the handset (k510 and w610) . When I start the application , it show loading on the screen ,and after half a second , the handset reset . 

And I debug on the device , found that there is a exception in starting , java.lang.NoClassDefFoundError .Then  I check the setting ,but find nothing . At last I download the jar and jad of kaprice for k510 , it sucks as well . So I am going crazy .

 

Arg ... do you have more information about the NoClassDefFoundError ? (Line or what else ?)

Hello , thank you for replying.

En..... ,it is very strange ,I found the exception occurs in loading the class "desktop" or some other classes extends of widget . But a friend of me compiled the hello world and it works !!!!!!!So  It maybe something wrong in the compiling , I have tried everything , setting the compile level and class compatibility , but nothing helped . And it seems that the kaprice you provided has the same problem .

Does you friend try on a w610 or k510 too ?

No, they just compile and package the application for me . I test it on my phone , and it works . I put my "bad" jar on a motorola a1200 , and it works too~~~ . I have been confused , Somebody can help~~~~

Can you describe your full compilation process ? Do you use an IDE ?

Hello,I'm back . I test the jar on nokia 3250. It also works .

I give up running kuix-based application on sony ericsson handsets.

Or you could fix the problem .

Hello,

I test in K610 and works.

Ive got a similar issue when I've tried to use RC3 instead of RC1. On device debug gives the following output:

  • TBCC Warning: verify org.kalmeo.kuix.core.focus.FocusManager: verify error 8 in org.kalmeo.kuix.core.focus.FocusManager
  • TBCC Warning: verify org.kalmeo.kuix.widget.PopupMenu: verify error 30 in org.kalmeo.kuix.widget.PopupMenu
  • TBCC Warning: verify org.kalmeo.kuix.core.focus.PopupMenuFocusManager: verify error 8 in org.kalmeo.kuix.core.focus.FocusManager
  • TBCC Warning: verify org.kalmeo.kuix.core.focus.ScreenFocusManager: verify error 8 in org.kalmeo.kuix.core.focus.FocusManager
  • Time for byte code optimization: 17712 ms
  • Time to load MIDlet from file system to memory: 278 ms
  • java.lang.NoClassDefFoundError

This is using kutil-1.0.0.jar and kuix-1.0.0RC3.jar as Libraries.

There is no trouble when using kuix-1.0.0RC1.jar with kutil-1.0.0RC1.jar.

Cheers

Ross

 

 

Arrr ... a bug seems to be identify !!

This bug come from the private state of Screen.ScreenMenu and Screen.ScreenTopBar classes. I will turn them public. It seems that all platform don't have the same way to manage this kind of problem ... SE throws a NoClassDefFoundError !