Error downloading mvn:org.openhab.ui/org.openhab.ui.habpanel/2.3.0-SNAPSHOT

  • Platform information:
    • Hardware: CPUArchitecture/RAM/storage
    • OS: what OS is used and which version Windows 10
    • Java Runtime Environment: which java platform is used and what version jre1.8.0_161
    • openHAB version: 2.3.0 build #1232
  • Issue of the topic: please be detailed explaining your issue

We at Sensative AB, would like to verify that our new Strips Multi-Sensor Z-Wave Plus product works as expected with OpenHAB2.

I am trying to install OpenHAB 2.3.0.

I get the following error while trying to install the “Standard UI”.

[ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-ui-habpanel, openhab-misc-ruleengine, openhab-ui-paper’: Error:
Error downloading mvn:org.openhab.ui/org.openhab.ui.habpanel/2.3.0-SNAPSHOT

Any help is appreciated!

  • Please post configurations (if applicable):
    • Items configuration related to the issue
    • Sitemap configuration related to the issue
    • Rules code related to the issue
    • Services configuration related to the issue
  • If logs where generated please post these here using code fences:

I tried with #1234 at Windows 10 and I never had problems before, but now i get these messaged

Launching the openHAB runtime...

                          __  _____    ____
  ____  ____  ___  ____  / / / /   |  / __ )
 / __ \/ __ \/ _ \/ __ \/ /_/ / /| | / __  |
/ /_/ / /_/ /  __/ / / / __  / ___ |/ /_/ /
\____/ .___/\___/_/ /_/_/ /_/_/  |_/_____/
    /_/                        2.3.0-SNAPSHOT
                               Build #1234

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown openHAB.

openhab> ~                                                                                                              openhab> java.lang.ClassCastException: org.eclipse.xtext.xbase.impl.XbaseFactoryImpl cannot be cast to org.eclipse.xtext.xbase.XbaseFactory
        at org.eclipse.xtext.xbase.impl.XbaseFactoryImpl.init(XbaseFactoryImpl.java:38)
        at org.eclipse.xtext.xbase.XbaseFactory.<clinit>(XbaseFactory.java:28)
        at org.eclipse.xtext.xbase.impl.XbasePackageImpl.<init>(XbasePackageImpl.java:335)
        at org.eclipse.xtext.xbase.impl.XbasePackageImpl.init(XbasePackageImpl.java:362)
        at org.eclipse.xtext.xbase.XbasePackage.<clinit>(XbasePackage.java:67)
...

Do you mean the standard-package at the initial-setup?
*


It works.

Yes the standard-package.

Does the installation work?

Attaching the log file (in .json format as .txt file upload is not allowed here)Log_22ndMarch2018.json (50.6 KB)

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 5 of the JSON data

Hi!

The log file can be opened in any text editor. I had to save it as .json because this platform is not allowing text files to be uploaded.

???

Nope. "Please stand by while UIs are being installed. This can take several minutes. "

Similar problem with the build #1234

2018-03-22 12:59:51.485 [ERROR] [core.karaf.internal.FeatureInstaller] - Failed installing ‘openhab-ui-homebuilder, openhab-ui-basic, openhab-ui-habpanel, openhab-ui-paper’: Error:
Error downloading mvn:org.openhab.ui/org.openhab.ui.habpanel/2.3.0-SNAPSHOT

What is the library-path you extraxt the zip-file?

C:\openHAB2

Looks like Java is having issues, can you make sure that a JDK 8 is installed, and that the JAVA_HOME environment variable points to this?

I think you have extracted in a library like

C:\openHAB\openhab-2.3.0-SNAPSHOT-#1234

Try

C:\openHAB\openhab-2.3.0-SNAPSHOT-1234

without #

Hi!

Tried all three recommended Java platform sources.

With Oracle Java (others failed), I have JAVA_HOME set to C:\Program Files (x86)\Java\jre1.8.0_161, I get the following:

$ ./start.sh
Launching the openHAB runtime…
/c/openHAB2/runtime/bin/setenv: line 199: [: : integer expression expected
/c/openHAB2/runtime/bin/setenv: line 199: [: : integer expression expected

                      __  _____    ____

____ ____ ___ ____ / / / / | / __ )
/ __ / __ / _ / __ / // / /| | / __ |
/ /
/ / // / __/ / / / __ / ___ |/ // /
_/ ./_// /// /// |/_____/
/_/ 2.3.0-SNAPSHOT
Build #1234

Hit ‘’ for a list of available commands
and ‘[cmd] --help’ for help on a specific command.
Hit ‘’ or type ‘system:shutdown’ or ‘logout’ to shutdown openHAB.

No Sir! I have extracted the files in c:\openHAB2.

You’re using windows right? Are you also using some sort of bash sub shell? Should be as simple as running start.bat in command prompt.

With Command Prompt:

C:\openHAB2>start.bat
Launching the openHAB runtime…
WARNING: Running Karaf on a Java HotSpot Client VM because server-mode is not available.
Install Java Developer Kit to fix this.
For more details see http://java.sun.com/products/hotspot/whitepaper.html#client

Install the jdk
https://docs.openhab.org/installation/windows.html
https://docs.openhab.org/installation/index.html#prerequisites

Installed JDK from

http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Re-extracted 2.3 Snapshot.

JAVA_HOME = C:\Program Files\Java\jdk1.8.0_161

Same problem.