BUG Community

Welcome! Log In

Forums BUG SDK Problem resolving IModuleDisplay

Subscribe to Problem resolving IModuleDisplay  54 posts, 17 voices

Log in to reply to this topic
 
Feb 7, 2009 11:08pm
Img_missing_medium sgargan 8 posts

Hi,

Hopefully someone can set me straight here. I’m having real trouble resolving the IModuleDisplay service in my GUI app. I did have this working, but must have changed something since now no display application I try manages to resolve the service. I did upgrade the SDK recently, but was pretty sure it was working after that.

The emulator starts without error and I can see the LCD service in the services listing, but no IModuleDisplay service is registered.

Anyone have an idea what might be going on here?

thanks kindly,

ste

(: services
Svc IdObject Class_Other Properties__
1 org.osgi.service.startlevel.StartLevel
2 org.osgi.service.log.LogService
3 org.osgi.service.cm.ConfigurationAdmin service.vendor = Bug Labs Inc., service.pid = com.buglabs.osgi.cm.impl.ConfigurationAdminImplservice.description = Configuration Admin Service Specification 1.2 Implementation,
21 com.buglabs.menu.IMenuProvider
24 com.buglabs.status.IStatusBarProvider
4 org.osgi.service.obr.RepositoryAdmin Provider = com.buglabs.osgi.obr,
22 com.buglabs.services.ws.PublicWSAdmin
23 com.buglabs.bug.program.pub.IUserAppManager
5 org.osgi.service.http.HttpService openPort = 8082, port = 8082
6 ch.ethz.iks.slp.Advertiser
7 ch.ethz.iks.slp.Locator
8 com.buglabs.bug.base.pub.ITimeProvider
9 com.buglabs.bug.base.pub.IToneGenerator
19 com.buglabs.device.IButtonEventProvider ButtonsProvided = Base, ButtonEventProvider = com.buglabs.bug.emulator.awt.VirtualBugFrameEmuluated = true,
20 com.buglabs.device.IBaseDisplay DisplayProvider = com.buglabs.bug.emulator.awt.VirtualBugFrameEmuluated = true,
25 com.buglabs.bug.base.pub.IBUGBaseControl
10 com.buglabs.bug.module.pub.IModletFactory Module = GPS, Modlet Provider = com.buglabs.bug.emulator.module.gps
11 com.buglabs.bug.module.pub.IModletFactory Module = VONHIPPEL, Modlet Provider = com.buglabs.bug.emulator.module.vonhippel
26 com.buglabs.bug.module.pub.IModletFactory Module = LCD, Modlet Provider = com.buglabs.bug.emulator.module.lcd
13 com.buglabs.bug.module.pub.IModletFactory Module = MOTION, Modlet Provider = com.buglabs.bug.emulator.module.motion
14 com.buglabs.bug.module.pub.IModletFactory Module = CAMERA, Modlet Provider = com.buglabs.bug.emulator.module.camera
15 org.osgi.service.log.LogService Module = CAMERA, Modlet Provider = com.buglabs.bug.emulator.module.camera
16 com.buglabs.osgi.shell.IShellCommandProvider
17 com.buglabs.osgi.shell.pub.IShellCommandExecutor
18 com.buglabs.osgi.shell.IShellCommandProvider

Feb 9, 2009 2:11pm
Medium Bug Labs team bballantine 56 posts

sgargan,

That’s really strange. Unfortunately, I have no idea what’s going on. Can you provide me with some more info and maybe I can help track it down? Here’s a list of some info that would help:

1. What platform (Mac, Linux, PC) are you on?

2. SDK Version – go to "About Eclipse SDK" under "Eclipse" on Mac, or "About Eclipse Platform" under "Help" on Linux/PC. Then click on the Dragonfly icon. I’m looking for the string in the "Version" column.

3. Is there anything in the PDE error log? – "Window" > "Show View" > "Other" > "PDE Runtime" > "Error Log" to show the view. There may be a lot in there, so clear it out before running your test. See if there’s something that happens when you connect the LCD module or if anything that seems related appears. Post any error messages here.

4. Can you post the entire console output? I would start by removing all modules and closing the Virtual BUG. Then restart the Virtual BUG. Once it’s started, add the LCD module. Then give me the entire output console output.

5. Lastly, what applications are you trying, specifically? This’ll help me mimic your tests.

All that info will help me figure out what’s going on. Thanks.

Feb 9, 2009 11:49pm
Img_missing_medium sgargan 8 posts

Brian,

It took a reinstall, but its working again. It was the weirdest thing. For reference, in case anyone comes up against this again

I’m running Linux (Ubuntu with a 2.6.27-11 kernel)

Eclipse: Version: 3.4.1 Build id: M20080911-1700

Dragonfly: 1.1.7.39_P20081202

There was nothing to speak of in the error log.

In my hunt for the problem I noticed that the when canStart is called on the AbstractService tracker it checks a map to see what services haven’t been resolved yet. It does this silently, so its hard to tell what services are missing and blocking your app running.

I’ve created a patch to add a method to display the blocking services. You could call it in your tracker if super.canStart() fails.

I can’t attach so I’ll just post it here.

Thanks for your help!

rgds,

ste

[BEGIN PATCH]
  1. Eclipse Workspace Patch 1.0 #P com.buglabs.common
    Index: .classpath
    ===================================================================

    .classpath (revision 8131)
    + .classpath (working copy)
    @ -3,6 +3,6 @ <classpathentry kind="src" path=""/> <classpathentry kind="con" path="com.buglabs.osgi.concierge.jdt.ConciergeClasspathContainerInitializer"/> <classpathentry kind="con" path="com.buglabs.osgi.concierge.jdt.OSGiBundleClassPathContainerInitializer"/>
    - <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/phoneME Advanced Personal"/>
    + <classpathentry kind="con" path="com.buglabs.phoneme.personal.PhoneMEClasspathContainer"/> <classpathentry kind="output" path=""/>
    </classpath>
    Index: com/buglabs/application/AbstractServiceTracker.java
    ===================================================================

    com/buglabs/application/AbstractServiceTracker.java (revision 8131)
    + com/buglabs/application/AbstractServiceTracker.java (working copy)
    @ -184,6 +184,23 @
return true;
        }

/
gets a list of unresolved services blocking the app from starting

@return a list of services that
/
public List getServicesBlockingStart()
{
List blockingServices = new ArrayList();
for (Iterator x = services.iterator(); x.hasNext();) {
String serviceName = (String) x.next();
if (servicesMap.get(serviceName) == null) {
blockingServices.add(serviceName);
}
}
return blockingServices;
+ }
/
         * Helper method to retrieve a service of type class.
[END PATCH]
Feb 10, 2009 6:33pm
Medium Bug Labs team bballantine 56 posts

sgargan,

Glad you got it working. I’ll check out your patch soon as well… might be a good idea to log blocking services.

BTW, there’s a new SDK coming out pretty soon.

Jun 28, 2012 2:25am
User_img_not_found_03_med louis 38 posts

http://www.louisvuittonusauks.co.uk/ louis vuitton bags

http://www.louisvuittonpurses-outlets.net/ louis vuitton Handbags Outlet

http://www.greatlouisvuittonbags.com/ louis vuitton purses

http://www.louisvuittonpursebags.net/ Louis Vuitton Purses

http://www.louisvuittononlineshops.org/ Cheap Louis Vuitton

http://www.officiallouisvuittonzone.net/ louis vuitton outlet

http://www.hermesoutletus.org/ hermes Purses

http://www.cheap-suprashoes.org/ cheap supra shoes

Jul 27, 2012 1:19am
User_img_not_found_04_med never722 61 posts

Christian Louboutin Red Bottoms shopping center is very classic and fashion Christian Louboutin Red Shoes is a registered very smart indeed – founded in Paris in 1992, he rode the wave of great shoe late nineties high fashion Louboutin Replica high-heeled pumps is very People this year.It is the ladies’ high
Christian Louboutin Discount menswear brand that you really fascinated
by it. Imagine my surprise to find that selling Cheap Christian louboutin are very comfortable. louboutin 2012 cheap online is really making me feel beautiful! Have you been coveting a pair of red-soled Christian Louboutin pumps brilliant blue fringe
ankle strap.

Jul 27, 2012 1:21am
User_img_not_found_04_med never722 61 posts

Christian Louboutin
centro commerciale ? molto classico e moda scarpe Christian Scarpe Louboutin
? un marchio molto intelligente anzi – fondata a Parigi nel 1992, ha
cavalcato l’onda degli anni novanta scarpe grandi ritardi di alta moda Louboutin Outlet
tacco alto pompe ? molto popolare questo ? year.It alta delle signore
Christian Louboutin menswear marchio a prezzi scontati che si ha
realmente affascinato da essa. Immaginate la mia sorpresa nello scoprire che vendono Louboutin Scarpe
a buon mercato sono molto confortevoli. In linea Christian Louboutin 2012
? veramente a buon mercato mi fa sentire bella! Sei stato bramare un
paio di rosso-suola Christian Louboutin cinturino alla caviglia pompe
blu brillante frangia.

Jul 27, 2012 1:22am
User_img_not_found_04_med never722 61 posts

The man behind the Louboutin for Men red soles, Christian Louboutin, has created a real-life version of
Cinderella’s famed glass slippers to celebrate the re-release of the
classic Disney film.Louboutin Men Shoes is absolutely representative of fashion and recreation,Mens Christian Louboutin , became a matter of course the popular protagonist of the season. Christian Louboutin 2012 will open his first London men’s boutique this November.Christian Louboutin Men is famed for his high heeled shoes but recently said he believes heels for men are a step too far.

Aug 22, 2012 12:52pm
User_img_not_found_05_med Abelee 82 posts

<table cellspacing="0" border="0" cellpadding="0" width="979"><colgroup><col width="979"></col></colgroup><tbody><tr height="20"> <td class="xl66" height="20" width="979" style="height: 15.0pt; width: 734pt;">

Great blog. All posts have something to learn.

Your work is very good and i appreciate you and hopping for some more informative posts.

Thank you……..

</td>
</tr></tbody></table><table cellspacing="0" border="0" cellpadding="0" width="714"><colgroup><col width="714"></col></colgroup><tbody><tr height="20"> <td class="xl67" height="20" width="714" style="height: 15.0pt; width: 536pt;">Buy Codeine Online</td>
</tr></tbody></table>
Sep 10, 2012 11:55am
User_img_not_found_03_med boxerrulz1234 31 posts

Wow!! What a great writing, really I appreciate such kind of topics. It will be very helpful for us. Waiting for more articles, blogs like this. I’m going bookmark your blog for future reference. Thanks a lot for sharing this.
drug forum

Sep 10, 2012 12:09pm
User_img_not_found_04_med Ewa 21 posts

Certainly a fantastic piece of work … It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work.

Bonfire

Sep 10, 2012 12:17pm
User_img_not_found_01_med pioneer 61 posts

I’m still learning from you, but I try to reach my goals. Since then enjoy reading all the information that appears on your blog.Keep come. Loved it!

google organic seo

Sep 10, 2012 5:49pm
User_img_not_found_01_med pioneer 61 posts

Certainly a fantastic piece of work … It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work.
best organic seo

Sep 10, 2012 6:44pm
User_img_not_found_03_med boxerrulz1234 31 posts

The idea behind this article is excellent, and for me the first item (“Create your own damn content!”) is the real gem here: most of the people spend their entire lives only consuming what is created by others, and creating nothing themselves—or never sharing what they create, which is better than not creating at all, though not the best they could do.
laptop screen repair melbourne

Sep 18, 2012 7:25pm
User_img_not_found_01_med pioneer 61 posts

Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job!
locksmith in bethesda md

Sep 22, 2012 4:25pm
User_img_not_found_05_med Abelee 82 posts

Hi! This is my first visit to your blog! We are a team of volunteers and new initiatives in the same niche. Blog gave us useful information to work. You have done an amazing job!
locksmith in bethesda md


<table cellspacing="0" border="0" cellpadding="0" width="970"><tbody><tr height="20"> <td class="xl66" height="20" width="970">Great tips, many thanks for sharing. I have printed and will stick on the wall! I like this blog.</td></tr></tbody></table><table cellspacing="0" border="0" cellpadding="0" width="827"><tbody><tr height="20"> <td class="xl65" height="20" width="827">Best Organic Vitamins </td></tr></tbody></table>

Sep 25, 2012 9:36pm
User_img_not_found_05_med shenghuo 86 posts

experience. http://www.coachsoutletonlinepick.net battlecoach factory outlet going on with Mitt louis vuitton bags Romney to define the race in the most coach handbag outlet it for me, coach factory outlet online a freedom without commitment to others, a charity or duty or cheap coach handbags patriotism, louis vuitton purses outlet is unworthy of that Republicans are cheap coach bags so wedded to tax cuts that if you have a cold louis vuitton sale pinging Romney, 

Oct 3, 2012 2:30am
User_img_not_found_02_med wunai 103 posts

Thanks to the answers was possible to Tods shoes evaluate the intensity of use and the question of the distinction in purchasing. Women need a bag to carry their belongings, that’s for sure. Leather bags, women nowTods UK  have the flexibility and class beyond what I ever thought. The serious fashion lovers will love the leather bags thanks to its versatility, high quality and elegant style. With brands like Tod tods women shoes, Cole Haan,Tods Outlet   Rebecca Minkoff, among many others, is nothing but leather bags and upscale beyond amazing. Hogan shoes outlet The design is based on a conceptLouis Vuitton UK of minimal interference between your feet and the floor.

Oct 10, 2012 9:53pm
User_img_not_found_03_med newfive 62 posts

Nike Lunar Eclipse 2,Nike Lunar Eclipse 2
hyperdunk low,hyperdunk low
Christian Louboutin Pumps,Christian Louboutin Pumps
cheap christian louboutin,cheap christian louboutin
Christian Louboutin Sandals,Christian Louboutin Sandals
nike hyperdunk low,nike hyperdunk low
Hyperdunk 2012,Hyperdunk 2012
Hyperdunks 2011,Hyperdunks 2011
Adidas Adizero Rose,Adidas Adizero Rose
adidas adizero rose 1.5,adidas adizero rose 1.5
supra society,supra society

DC Skate Shoes,DC Skate Shoes

Hyperdunks 2012,Hyperdunks 2012

adidas cc ride,adidas cc ride

Nike Sb Eric Koston,Nike Sb Eric Koston

Nike Zoom Hyperfuse 2011,Nike Zoom Hyperfuse 2011

Nike Zoom Kobe VI,Nike Zoom Kobe VI
nike hyperdunk 2011,nike hyperdunk 2011
nike hyperdunk 2011 low,nike hyperdunk 2011 low
Christian Louboutin Louis,Christian Louboutin Louis

Christian Louboutin Mary Jane,Christian Louboutin Mary Jane

Christian Louboutin Peep Toe,Christian Louboutin Peep Toe

Oct 16, 2012 12:44pm
User_img_not_found_03_med anadoluweb 2 posts

The tiger in our hearts, 1981 market share the ASIC ASIC ASIC production, the company in recent years in the bottom of the progress of the national flag variants. Close to catch up with the “financial times” is a product. His feet, a slippery,Griffeys really want to play in a comfortable shoes the ASIC in Mexico City in 66. For your feet shoes really feel comfortable and safe. No loose and heavy really think that, because the product is really in the feet feel satisfied. cam balkon alüminyum anadolu seo cam balkon epoksi zemin cam balkon gelinlik düğün salonu fiyatları sünnet salonu cam balkon kıyma makinası yılmaz yemek şirketleri tabldot yemek catering firmaları yemek fabrikaları catering şirketleri maltepe yemek firmaları

Oct 17, 2012 11:06pm
User_img_not_found_03_med newfive 62 posts

Urban spaces in the existing and emerging urban areas need to be nike hyperdunks
Lebron 9 Low,Lebron 9 Low
Nike Air Foamposite One,Nike Air Foamposite One
toyota supra 2012,toyota supra 2012
Supra Cuttler,Supra Cuttler
supra high tops,supra high tops
Hyperforce 2012,Hyperforce 2012
Nike KD 4 content seems to lead the way, in terms of overall sales.
Nike Hyperforce,Nike Hyperforce
Kobe 6 Shoes,Kobe 6 Shoes
Nike Lunar Elite,Nike Lunar Elite
Nike Free 3.0 V3,Nike Free 3.0 V3
nike free run +2,nike free run +2
nike lebron 9 elite is perfectly not any greater feeling as compared
Nike SB Eric Koston,Nike SB Eric Koston
Lebron 9 Shoes most popular ainol are the ones aimed
jeremy scott wings,jeremy scott wings
Lebron 8 V2,Lebron 8 V2
Adizero Rose 2.0 is a severe lack of apps tailored specifically for them. Justin Bieber Supra joked that someone should make a cool knitting app
Supra Cuttler,Supra Cuttler
Nike Hyperfuse 2010,Nike Hyperfuse 2010
Nike Lebron 9 taught advanced techniques, and then realized Nike Free 5.0 V4 was a good idea! The use of a IPS display instead of a hyperfuse 2011 ordinary LCD improves the visual experience hyperfuses,hyperfuses Nike Zoom Kobe VII,Nike Zoom Kobe VII
approached in a more local contextualized way to build on the local community assets and social capital.Lebron 10 Professionals involved in facilitating
embrace innovative approaches, lebron shoes upgrading and development programmes need to
Nike Air Foamposite One skills and technologies, including negotiation,

Oct 19, 2012 11:21pm
User_img_not_found_03_med newfive 62 posts

Nike Sb Eric Koston,Nike Sb Eric Koston

Nike Zoom Hyperfuse 2011,Nike Zoom Hyperfuse 2011

Nike Zoom Kobe VI,Nike Zoom Kobe VI

nike mercurial vapor superfly,nike mercurial vapor superfly

Nike Air Max 90 Hyperfuse,Nike Air Max 90 Hyperfuse

Kobe 7 Shoes,Kobe 7 Shoes
Hyperdunk 2011,Hyperdunk 2011
hyperfuse low,hyperfuse low
hyperforce 2012,hyperforce 2012
Hyperdunk 2011,Hyperdunk 2011
lebron 10 Shoes,lebron 10 Shoes

Lebron 9 Low,Lebron 9 Low

Nike Air Foamposite One,Nike Air Foamposite One

nike free shoes,nike free shoes

Nike Lunar Glide 2,Nike Lunar Glide 2

nike free run shoes,nike free run shoes

hyperdunk 2011 low,hyperdunk 2011 low

hyperfuses,hyperfuses

hyperfuse low,hyperfuse low

Oct 23, 2012 2:41am
User_img_not_found_03_med newfive 62 posts

Hyperdunk Low,Hyperdunk Low
Nike Free TR Fit,Nike Free TR Fit
2011 hyperdunks community recreation areas and dig in.
hyperfuse low outset phase to explore repairing a resource box In case all your family members ‘re searching for a multi function easy,
2012 air max,2012 air max
adidas bounce 2012, adidas bounce 2012
adidas goodyear 2012,adidas goodyear 2012
adidas jeremy scott wings that you power get to features whether you die to create monthly bills on clock In much a example,Adidas Marathon in condition your arrest rebound.
Adidas Predator X a immense vastness of check as advantageously as clock is diminished
adidas st,adidas st
justin bieber purple,justin bieber purple
supra silver, supra silver
supra tk society fresh,supra tk society fresh
nike free run 4,nike free run 4
nike free,nike free
hyperdunks charm and even significance. And even and even consequently in
Adizero Crazy Light 2 can provide the majority won’t be the same item expertise
hyperfuse 2012 and a lot of considerably more at various very important events simply
because there’s lots of the concern in the modern well known design In the a few offer, Air Max 90 Hyperfuse,Air Max 90 Hyperfuse

Oct 23, 2012 6:21pm
User_img_not_found_04_med dany 19 posts

<table cellspacing="0" border="0" cellpadding="0" width="979"><tbody><tr height="20"> <td class="xl66" height="20" width="979">Certainly a fantastic piece of work … It has relevant information. Thanks for posting this. Your blog is so interesting and very informative.Thanks sharing. Definitely a great piece of work Thanks for your work.<table cellspacing="0" border="0" cellpadding="0" width="979"><tbody><tr height="20"> <td class="xl66" height="20" width="979">locksmith in nyc</td></tr></tbody></table></td></tr></tbody></table>

Nov 15, 2012 9:37pm
User_img_not_found_03_med newfive 62 posts

shoes crowd