Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [kura-dev] Fwd: Technical support for IoT/Kura

Hi Hoang,

Sorry I didn’t answer earlier, last week at EclipseCon Europe was very busy. But you had the right approach to post on the mailing-list ;-)
Can you share your component.xml source file? I suspect the Component Definition editor in Eclipse may have messed it up. Alternatively you can try creating a new component from scratch and see if that’s any better.

Your log files also shows an error activating the org.eclipse.kura.core.configuration bundle which should not be there. Which Kura version are you using and how did you install it (i.e. deb package from the website, or you built Kura yourself)?

Benjamin –


Le 2 nov. 2014 à 09:36, Nguyen <sj@xxxxxxxxx> a écrit :


Hi Kura Eclipse

I got this problem and sent email to get support to Benjamin but no reply

Anyone can help?

Thank you
Hoang

---------- Forwarded message ----------
From: Nguyen <sj@xxxxxxxxx>
Date: Thu, Oct 30, 2014 at 6:35 PM
Subject: Technical support for IoT/Kura
To: benjamin@xxxxxxxxxxx


Hi Benjamin

I'm newbie for M2M development on Kura, 

I followed the guidelines at this links and get this problem, could you help me to fix it


1. In the step of  Create Component Class, I can not tick in "This component is immediately activated."

<image.png>

And once I finished, I got the error as the attached file, as following

ESSION 2013-10-30 16:12:08.821 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_71
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments:  -dev file:/opt/eclipse/workspaces/.metadata/.plugins/org.eclipse.pde.core/Kura_Emulator_Linux/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -console

!ENTRY org.eclipse.kura.core.configuration 4 0 2013-10-30 16:12:10.455
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.kura.core.configuration_1.0.0 [4]" could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.kura.core.util; version="[0.2.0,1.0.0)"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.kura.example.configurable 4 0 2013-10-30 16:12:10.474
!MESSAGE [SCR] Error occurred while opening component definition file bundleentry://10.fwk2094307850/OSGI-INF/component.xml
!STACK 0
java.io.IOException: [Line: 1, Pos: 2]  XML prolog '<?xml' is not expected at this position.
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.err(XMLParserImpl.java:1062)
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.parse_tag_special(XMLParserImpl.java:733)
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.parseXML(XMLParserImpl.java:1099)
at org.eclipse.equinox.internal.util.xml.XMLParser.parseXML(XMLParser.java:95)
at org.eclipse.equinox.internal.ds.model.DeclarationParser.parse(DeclarationParser.java:142)
at org.eclipse.equinox.internal.ds.ComponentStorage.parseXMLDeclaration(ComponentStorage.java:93)
at org.eclipse.equinox.internal.ds.storage.file.FileStorage.processXMLDeclarations(FileStorage.java:115)
at org.eclipse.equinox.internal.ds.storage.file.FileStorage.loadComponentDefinitions(FileStorage.java:92)
at org.eclipse.equinox.internal.ds.SCRManager.startedBundle2(SCRManager.java:602)
at org.eclipse.equinox.internal.ds.SCRManager.startedBundle(SCRManager.java:578)
at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:235)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY org.eclipse.kura.example.configurable 4 0 2013-10-30 16:12:10.481
!MESSAGE [SCR] Error occurred while opening component definition file bundleentry://10.fwk2094307850/OSGI-INF/component.xml
!STACK 0
java.io.IOException: [Line: 1, Pos: 2]  XML prolog '<?xml' is not expected at this position.
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.err(XMLParserImpl.java:1062)
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.parse_tag_special(XMLParserImpl.java:733)
at org.eclipse.equinox.internal.util.xml.impl.XMLParserImpl.parseXML(XMLParserImpl.java:1099)
at org.eclipse.equinox.internal.util.xml.XMLParser.parseXML(XMLParser.java:95)
at org.eclipse.equinox.internal.ds.model.DeclarationParser.parse(DeclarationParser.java:142)
at org.eclipse.equinox.internal.ds.ComponentStorage.parseXMLDeclaration(ComponentStorage.java:93)
at org.eclipse.equinox.internal.ds.storage.file.FileStorage.processXMLDeclarations(FileStorage.java:115)
at org.eclipse.equinox.internal.ds.storage.file.FileStorage.loadComponentDefinitions(FileStorage.java:92)
at org.eclipse.equinox.internal.ds.SCRManager.startedBundle2(SCRManager.java:602)
at org.eclipse.equinox.internal.ds.SCRManager.startedBundle(SCRManager.java:578)
at org.eclipse.equinox.internal.ds.SCRManager.bundleChanged(SCRManager.java:235)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1568)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1504)
at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1499)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:391)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)



--

Thank you

Hoang 

UDC Viet Nam 

Tel: +84 462691962

Mobile: +84 916 210 236

Skype: sjudcvn

Email: sj@xxxxxxxxx

Website: www.udcvn.com







--

Thank you

Hoang 

UDC Viet Nam 

Tel: +84 462691962

Mobile: +84 916 210 236

Skype: sjudcvn

Email: sj@xxxxxxxxx

Website: www.udcvn.com







--

Thank you

Hoang 

UDC Viet Nam 

Tel: +84 462691962

Mobile: +84 916 210 236

Skype: sjudcvn

Email: sj@xxxxxxxxx

Website: www.udcvn.com




<error_log.txt>_______________________________________________
kura-dev mailing list
kura-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/kura-dev


Back to the top