Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Importing Project #3

Closed
lcis opened this issue Jul 18, 2014 · 8 comments
Closed

Error Importing Project #3

lcis opened this issue Jul 18, 2014 · 8 comments

Comments

@lcis
Copy link

lcis commented Jul 18, 2014

Hi,
I followed your Setup-Instructions "Setting up a development environment for openHAB 2" but I got an error message "Error Importing Projects"

My OS: OS X 10.9.4

log file

!SESSION 2014-07-18 08:36:57.126 -----------------------------------------------
eclipse.buildId=4.4.0.I20140606-1215
java.version=1.7.0_65
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments: -showlocation openHAB2
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -showlocation openHAB2

!ENTRY org.eclipse.core.net 1 0 2014-07-18 08:39:01.178
!MESSAGE System property http.nonProxyHosts has been set to local|.local|169.254/16|.169.254/16 by an external source. This value will be overwritten using the values from the preferences

!ENTRY com.yoxos.yim.core 4 4 2014-07-18 08:39:08.509
!MESSAGE Login With Persisted Credentials

!ENTRY com.yoxos.yim.core 4 4 2014-07-18 08:39:08.624
!MESSAGE Login With Persisted Credentials

!ENTRY com.yoxos.yim.core 4 4 2014-07-18 08:39:10.339
!MESSAGE Login With Persisted Credentials

!ENTRY com.yoxos.provisioning.core 4 4 2014-07-18 08:47:40.796
!MESSAGE Error Importing Projects
!STACK 0
java.lang.reflect.InvocationTargetException
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:189)
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:67)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.runForFile(ImportProjectSetOperation.java:84)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.run(ImportProjectSetOperation.java:99)
at com.yoxos.provisioning.team.internal.TeamInitializer.importProjectSet(TeamInitializer.java:143)
at com.yoxos.provisioning.team.internal.TeamInitializer.doTheWork(TeamInitializer.java:92)
at com.yoxos.provisioning.team.internal.TeamInitializer.run(TeamInitializer.java:55)
at com.yoxos.provisioning.internal.RuntimeUtil$1.run(RuntimeUtil.java:82)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: org.eclipse.team.core.TeamException: The following errors occurred while importing projects. Some projects may not be loaded.
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:123)
... 8 more
Root exception:
org.eclipse.team.core.TeamException: The following errors occurred while importing projects. Some projects may not be loaded.
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:123)
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:67)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.runForFile(ImportProjectSetOperation.java:84)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.run(ImportProjectSetOperation.java:99)
at com.yoxos.provisioning.team.internal.TeamInitializer.importProjectSet(TeamInitializer.java:143)
at com.yoxos.provisioning.team.internal.TeamInitializer.doTheWork(TeamInitializer.java:92)
at com.yoxos.provisioning.team.internal.TeamInitializer.run(TeamInitializer.java:55)
at com.yoxos.provisioning.internal.RuntimeUtil$1.run(RuntimeUtil.java:82)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Contains: Failed to read project description file from location '/Users/luigi/openhab-dev/workspace/openhab2/features/org.openhab.dependencies.feature/.project'.
org.eclipse.core.internal.resources.ResourceException()[567]: java.io.FileNotFoundException: /Users/luigi/openhab-dev/workspace/openhab2/features/org.openhab.dependencies.feature/.project (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:146)
at org.eclipse.core.internal.resources.ProjectDescriptionReader.read(ProjectDescriptionReader.java:951)
at org.eclipse.core.internal.resources.Workspace.loadProjectDescription(Workspace.java:1974)
at org.eclipse.egit.core.internal.ProjectReferenceImporter.importProjects(ProjectReferenceImporter.java:270)
at org.eclipse.egit.core.internal.ProjectReferenceImporter.run(ProjectReferenceImporter.java:107)
at org.eclipse.egit.core.GitProjectSetCapability$1.run(GitProjectSetCapability.java:107)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at org.eclipse.egit.core.GitProjectSetCapability.addToWorkspace(GitProjectSetCapability.java:104)
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:109)
at org.eclipse.team.internal.ui.ProjectSetImporter.importProjectSet(ProjectSetImporter.java:67)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.runForFile(ImportProjectSetOperation.java:84)
at org.eclipse.team.internal.ui.wizards.ImportProjectSetOperation.run(ImportProjectSetOperation.java:99)
at com.yoxos.provisioning.team.internal.TeamInitializer.importProjectSet(TeamInitializer.java:143)
at com.yoxos.provisioning.team.internal.TeamInitializer.doTheWork(TeamInitializer.java:92)
at com.yoxos.provisioning.team.internal.TeamInitializer.run(TeamInitializer.java:55)
at com.yoxos.provisioning.internal.RuntimeUtil$1.run(RuntimeUtil.java:82)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

@kaikreuzer
Copy link
Member

Thanks for your feedback - looks like some Yoxos problem to me...
Could you check, if the folder /Users/luigi/openhab-dev/workspace/openhab2 exists in your workspace? I would have actually expected it to be /Users/luigi/openhab-dev/workspace/.repositories/openhab2 instead...

@lcis
Copy link
Author

lcis commented Jul 18, 2014

Both folders exist:
../workspace/openhab2
and
../workspace/.repositories/openHAB2

Note:
openhab2 ist the workspace name I defined in Eclipes (Step 2)

@lcis
Copy link
Author

lcis commented Jul 18, 2014

... I reinstalled it in a new folder openhab-dev2.
openHAB2 ist now in the folder .repositories but the error persists:

Contains: Failed to read project description file from location '/Users/luigi/openhab-dev2/.repositories/openHAB2/features/org.openhab.dependencies.feature/.project'.
org.eclipse.core.internal.resources.ResourceException()[567]: java.io.FileNotFoundException: /Users/luigi/openhab-dev2/.repositories/openHAB2/features/org.openhab.dependencies.feature/.project (No such file or directory)

I'm missing org.openhab.dependencies.feature in the folder features

@kaikreuzer
Copy link
Member

I think I will change the description of the setup process - instead of importing it through Yoxos, it is probably better to do a Git clone yourself and then simply import the projects. Just as it is done for openHAB1, this didn't cause any problems so far... I thought I could make it even easier for openHAB2, but maybe this was a bad idea.

@lcis
Copy link
Author

lcis commented Jul 18, 2014

Thanks!
I'll try again as soon as you've changed it.

@kaikreuzer
Copy link
Member

Let's try the new version of the documentation!

@lcis
Copy link
Author

lcis commented Jul 18, 2014

Great!
I've been able to install and launch openHAB2 from within Eclipse.
I'll post some more feedback in a new issue.

@kaikreuzer
Copy link
Member

That's good news, thanks for the feedback!

sja pushed a commit to sja/openhab2-addons that referenced this issue Feb 11, 2015
kgoderis referenced this issue in kgoderis/openhab-addons Feb 28, 2016
sjsf referenced this issue in sjsf/openhab2-addons Sep 5, 2016
@Mr-Eskildsen Mr-Eskildsen mentioned this issue Nov 1, 2016
cvanorman pushed a commit to cvanorman/openhab2-addons that referenced this issue Dec 29, 2016
cvanorman pushed a commit to cvanorman/openhab2-addons that referenced this issue Dec 29, 2016
* Skeleton creation

* Merged old code into new plugin

Code merged and adjustments made to discovery process. 
UNTESTED!!

* Added missing files from last commit

* Tested against current OH2 beta: working!

* added baudrate configurable

* Added script for testing purpose and missing pom.xml

* Changed thing description for serial gateway to support different baud
rates.

* Fixed documentation regarding baud rate of the serial gateway

* esh-inf added parameter and serial closing to allow binding restart
correctly

* removed debug log before initialize

* thread managing improved

* little fix allows correct start and stop for binding

* Added missing STOP for item "Rollershutter"

Moved event handling from handleUpdate() to handleCommand().

* Doc fixed

* requestAck feature added

Currently it is not possible to automatically revert to the old state.

* writer thread implementation changed and serial port class changed to
remove the annoying exception on reading

* adding back the message to queue if is not time to sent it again

* reader thread moved in abstract class as the writer

* tryying to move to SerialPort, no success...

* Minor fix in visibilty of overridden method

* Code cleanup and fix for sendDelay

- removed superflous debug messages
- removed superflous variables, methods
- fixed missing implementation of sendDelay

* Error handling on disconnect of ethernet gw

The binding status is updated to OFFLINE and the threads for reader and
writer are beeing stopped. Works for ethernet gw only.

* Added jar and fixed docs

* requestAck 

incoming ACKs are now acknoledged and the message is removed from the
queue

* requestAck: revert item status if no ack is received

If no ACK is received from the node, the binding will try to revert the
status of the item in OH2 to its old value. Only works if a status is
known. (After restart of OH2 no status is known).

Tested with light (STATUS) and dimmer (percent).

* ensure gateway was started correctly

* event driven i_version handing

* removed debug messages

* disconnect on connection fail now child id 255 can respond to i_version

* Added S_HVAC constant

* HVAC Thermostat added
Temperature channel implemented

* Added channels to HVAC
"hvac-flow-state-channel"
"hvac-flow-mode-channel"
"hvac-setPoint-heat-channel"
"hvac-setPoint-cool-channel"
"hvac-speed-channel"
"var1 to var5-channel"

* Added CHANNEL_HVAC_FLOW_MODE and CHANNEL_HVAC_FLOW_STATE to
MySensorHandler

* Added support for return messages to sensor on V_VAR1 to V_VAR5
Changed V_VAR2 to number.

* requestAck feature redesigned. Reader/Writer are now in sync.

* Removed debug messages. Added updated jar of the binding.

* Requesting of thing/item values supported + minor fix

OH2 binding now answers requests for item status.

minor fix
- battery ch. added to hvacThermostat

* Added jar build

* Delay before I_VERSION check for SerialGW, new jar file

* Compatibility fixes

- Implemented a method to register more than one serial port (two or
more serial gw) due to a lack/bug in the used nrserialjava

- Longer timeout for I_VERSION check (5s)

* just a little restyle

* I_TIME and I_CONFIG response implemented (not tested)

* I_VERSION skip now allowed

* Binding jar refresh

* fix for I_TIME/I_CONFIG, not requesting that nodeId = 0

* updated testscript.sh

* Code review

- Added legal information to .java files
- Removed references, files and comments that are not needed

* Fixed value requests from nodes for sensors with multiple subtypes and
added correct deregistration to prevent NPEs on shutdown.

* Added WaterMeter Sensor

* pom.xml refresh

* New jar-Release after merge

* Fixed issue with serial Reader

Fixed issue with Exception while trying to read zero data from serial

* New jar after merge with master

* Added the customSensor, containing the channels for V_VARx
- can be used as a helper to send values to the nodes from Openhab
Signed-off-by: Juergen Messmer <[email protected]>

* Fixed mistake in documentation

There was an error in the creation of the bridge. This results in Items not updating although the bridge itself seems fine in openhab2

* Fixed issue with high CPU usage

* added possibility to not revert state if no ack received

* Changed type of vars for "reverted" para from int to boolean

* removed debug logging of messages in queues

* Reduced sleep time in reader

* Added Pressure channel to thing barometer

Pressure channel was missing in barometer thing definition.

* New jar

* Packaged new jar!

* datetime implemented in channel

* last update fixes

* last update fixes openhab#2

* Fixed bug that sends status of things on startup

OH2 core now calls "handleCommand()" on startup with command == REFRESH.
REFRESH is ignored now and the bug fixed.

* Removed constructor task, moved to initialize

* Debug line added

* minor bug fixing and little refactor

* minor bug fixing openhab#2

* minor bug fixing openhab#3

* minor bug fixing openhab#4

* minor bug fixing openhab#5

* fixed log level for some logging

* fixed log level for some logging

* disconnection fixes

* Legal header adjusted, Current jar attached

Signed-off-by: Tim Oberföll <[email protected]> (github: github_handle)

* started working on network watchdog

* Update MySensorsBindingConstants.java

* Update MySensorsBindingConstants.java

* working on network sanity check

* Update constants to comply with OH2

Added following things:

THING_TYPE_LOCK
THING_TYPE_LEVEL
THING_TYPE_RGB_LIGHT 
THING_TYPE_RGBW_LIGHT
THING_TYPE_RGBW_LIGHT
THING_TYPE_PH_METER

* Update MySensorsBindingConstants.java

* Update MySensorsBindingConstants.java

* Update MySensorsBindingConstants.java

* Updates to comply with My Sensors 2.0

* Update MySensorsDiscoveryService.java

* Update MySensorsDiscoveryService.java

* Update MySensorsBindingConstants.java

* Update thing-types.xml

* Update thing-types.xml

* Update MySensorsBindingConstants.java

* working on network sanity check openhab#2

* Added missing constants, removed typos

* resolved dependecies for bridge connection

* Generated new jar

* new feature and refactoring testing openhab#1

* new feature and refactoring testing openhab#1

* new feature and refactoring testing openhab#2

* Added expert mode

Expert mode allows rule based message parsing and sending.

* [PARTIAL] start joining connector and connection

* connection and connector merged

* invalidating requestDisconnection flag

* connection tested and debugged

* [FIX] adding listener before connection

* cache factory implemented, now managing only given_ids one

* windows disconnect fix and cache minor fix

* new packaging and structure initial restyle

* some changes

* moving to new version of ESM framework

* bridgeHandelerInitialized (deprecated) has changed to
bridgeStatusChanged

* cache usage changed after refactoring

* [FIX] java.util.ConcurrentModificationException

* final fixing, now testing

* utility message type moved into message class

* build.xml file removed

* new jar

* [FIX] asList cause UnsupportedOperationException

* [FIX] startup check not work on connection retry after disconnection

* [FIX] initialize thing to offline, cause problem if left uninitialized

* [WIP] V_TEXT added

Thing added that supports sending and receiving V_TEXT.

* [WIP] Added V_IR_SEND & V_IR_RECEIVE

Both things work in both directions (to and from MySensors network)

* fixing mvn strange behaviour

* Created new jar && Modified Testscript

* Fixed bug that prevents answering of internal messages

If skipStartupCheck is set to true, there was no answer to I_CONFIG, I_TIME and ACK was not working.

* [WiP] Refactor ThingHandler

Cleaning up code for incoming messages.

* Fixing issue in MySensorsBridgeConnection which detached the EventListener

- EventListener now listening independant from skipStartupCheck
- Removed <context> from things eth-gateway and ser-gateway to allow configuration of advanced options in PaperUI

* Fixed recent issue related to updates on Smarthome API

fixes openhab#40
watou pushed a commit to watou/openhab2-addons that referenced this issue Mar 6, 2017
shawncrosby added a commit to shawncrosby/openhab2-addons that referenced this issue Jul 19, 2017
…ck support (openhab#3)

* Added support for generic locks on winkhub
octa22 referenced this issue in octa22/openhab2-addons Jul 31, 2017
Wire82 added a commit to Wire82/openhab-addons that referenced this issue Oct 21, 2017
octa22 referenced this issue in octa22/openhab2-addons Jan 11, 2018
octa22 referenced this issue in octa22/openhab2-addons May 16, 2018
octa22 referenced this issue in octa22/openhab2-addons Jun 1, 2018
octa22 referenced this issue in octa22/openhab2-addons Jun 1, 2018
octa22 referenced this issue in octa22/openhab2-addons Aug 13, 2018
clinique referenced this issue in clinique/openhab-addons May 4, 2019
Signed-off-by: Gaël L'hopital <[email protected]>
thewiep pushed a commit to thewiep/openhab-addons that referenced this issue Oct 7, 2019
Dries-Vandenneucker pushed a commit to Dries-Vandenneucker/openhab-addons that referenced this issue May 24, 2020
jimtng pushed a commit to jimtng/openhab-addons that referenced this issue Nov 6, 2021
fix: gem installer broke the file watcher
fwolter referenced this issue in fwolter/openhab-addons Dec 11, 2021
Flole998 pushed a commit to Flole998/openhab-addons that referenced this issue Dec 30, 2021
lolodomo pushed a commit to lolodomo/openhab-addons that referenced this issue Jan 8, 2022
pacive added a commit to pacive/openhab-addons that referenced this issue Jul 26, 2024
* Create dynamic channels for writable numeric parameters

Signed-off-by: Anders Alfredsson <[email protected]>
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Aug 20, 2024
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Aug 20, 2024
Signed-off-by: Laurent ARNAL <[email protected]>
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Aug 27, 2024
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Aug 27, 2024
Signed-off-by: Laurent ARNAL <[email protected]>
lolodomo pushed a commit to lolodomo/openhab-addons that referenced this issue Nov 21, 2024
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Dec 17, 2024
lo92fr added a commit to lo92fr/openhab-addons that referenced this issue Dec 17, 2024
Signed-off-by: Laurent ARNAL <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants