[JBoss JIRA] (JBIDE-25441) Problems with CDI Builder and scanning Jars which support Java 9
by Manuel Blechschmidt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25441?page=com.atlassian.jira.plugi... ]
Manuel Blechschmidt commented on JBIDE-25441:
---------------------------------------------
The following dependencies cause this error aswell:
javax.json-api-1.1.2.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 18
jaxb-api-2.3.0.jar: java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 32
> Problems with CDI Builder and scanning Jars which support Java 9
> ----------------------------------------------------------------
>
> Key: JBIDE-25441
> URL: https://issues.jboss.org/browse/JBIDE-25441
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi, common
> Affects Versions: 4.5.1.Final, 4.5.2.AM1
> Reporter: Nick Boldt
> Assignee: Jeff MAURY
> Fix For: 4.5.2.AM3
>
>
> As reported in https://developer.jboss.org/message/978446?et=watches.email.thread#978446:
> {quote}
> Setup:
> * Eclipse Oxygen 4.7.1
> * JBoss Tools 4.5.1.Final (also tested with latest development version 4.5.2.AM1)
> * An maven web application with certain dependencies
> ** So far, we found two dependencies, which lead to this jandex scaning error after upgrading to latest version
> ** org.apache.logging.log4j version 2.10.0
> ** org.ow2.asm version 6.0
>
> This leads to an CDI Builder IllegalStateException - see exception trace below.
> Both dependencies started support for Java 9, which seems to cause this exception.
>
> *Apache Log4j 2.10.0 released*: http://mail-archives.apache.org/mod_mbox/www-announce/201711.mbox/%3Cdf95...
>
> {code}
> !MESSAGE Errors running builder 'CDI (Contexts and Dependency Injection) Builder' on project 'Webapp'.
> !STACK 0
> java.lang.IllegalStateException: Unknown tag! pos=4 poolCount = 24
> at org.jboss.jandex.Indexer.processConstantPool(Indexer.java:665)
> at org.jboss.jandex.Indexer.index(Indexer.java:699)
> at org.jboss.tools.common.core.jandex.JandexUtil.createJarIndex(JandexUtil.java:56)
> at org.jboss.tools.common.core.jandex.JandexUtil.hasAnnotation(JandexUtil.java:104)
> at org.jboss.tools.cdi.internal.core.scanner.lib.BeanArchiveDetector.hasAnnotatedBeans(BeanArchiveDetector.java:276)
> at org.jboss.tools.cdi.internal.core.scanner.lib.BeanArchiveDetector.resolve(BeanArchiveDetector.java:203)
> at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.detectBeanModule(ClassPathMonitor.java:150)
> at org.jboss.tools.cdi.internal.core.scanner.lib.ClassPathMonitor.process(ClassPathMonitor.java:106)
> at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:215)
> at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:735)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
> at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:301)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:304)
> at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:360)
> at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:383)
> at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:142)
> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:232)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
> {code}
> {quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBDS-4704) Red Hat JBoss Developer Studio marketplace entry info contains irrelevant/outdated information
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBDS-4704?page=com.atlassian.jira.plugin.... ]
Ondrej Dockal commented on JBDS-4704:
-------------------------------------
That's what I call quick fix! Thanks Nick!
> Red Hat JBoss Developer Studio marketplace entry info contains irrelevant/outdated information
> ----------------------------------------------------------------------------------------------
>
> Key: JBDS-4704
> URL: https://issues.jboss.org/browse/JBDS-4704
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Enhancement
> Components: marketplace
> Affects Versions: 11.3.0.GA
> Reporter: Ondrej Dockal
> Assignee: Nick Boldt
> Fix For: 11.3.0.GA
>
>
> Marketplace entry https://marketplace.eclipse.org/content/red-hat-jboss-developer-studio/ contains:
> ??Single Development Tool, Tailored for Extreme Productivity. JBoss® Developer Studio provides superior support for your entire development lifecycle. It includes a broad set of tooling capabilities and support for multiple programming models and frameworks, including Java™ Enterprise Edition 6, RichFaces, JavaServer Faces (JSF), Enterprise JavaBeans (EJB), Java Persistence API (JPA), and Hibernate®, JAX-RS with RESTEasy, OpenShift, Apache Camel, Red Hat JBoss Fuse, Contexts Dependency Injection (CDI), HTML5, and many other popular technologies. It provides developer choice in supporting multiple JVMs, productivity with Maven, and in testing with Arquillian. It is fully tested and certified to ensure that all its plug-ins, runtime components, and their dependencies are compatible with each other.??
> There are old stuff like Java EE 6, RichFaces (aren't those quite outdated?) and at the end there is information about arquillian, which is removed as well.
> Please, update according to link here: https://developers.redhat.com/products/devstudio/overview/
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBIDE-26014) Minishift binary downloaded from download runtime wizard does not have .exe extension on windows
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26014?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-26014:
----------------------------------
Steps to Reproduce:
1. Run devstudio
2. Add New Server -> Minishift 1.7+ server adapter
3. Use download runtime wizard to get minishift binary
4. Download Minishift 1.14.0 version, accept license
5. Wait while it has been downloading
5. Assert: Minishift binary field contains path to right downloaded minishft.exe
Actual result: Selected file does not exist (there is missing ".exe" in the minishift binary field)
was:
1. Run devstudio
2. Add New Server -> Minishift 1.7+ server adapter
3. Use download runtime wizard to get minishift binary
4. Download Minishift 1.14.0 version, accept license
5. Wait while it has been downloading
5. Assert: Minishift binary field contains path to right downloaded minishft.exe
Actual result: Selected file does not exist (there is missing .exe in the minishift binary field)
> Minishift binary downloaded from download runtime wizard does not have .exe extension on windows
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26014
> URL: https://issues.jboss.org/browse/JBIDE-26014
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.6.0.AM1
> Environment: Windows 10,
> Devstudio 12.0.0.AM1-v20180508-1631-B2428
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Critical
> Fix For: 4.6.0.AM2
>
> Attachments: minishift_binary.png
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months
[JBoss JIRA] (JBIDE-26014) Minishift binary downloaded from download runtime wizard does not have .exe extension on windows
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26014?page=com.atlassian.jira.plugi... ]
Ondrej Dockal updated JBIDE-26014:
----------------------------------
Steps to Reproduce:
1. Run devstudio
2. Add New Server -> Minishift 1.7+ server adapter
3. Use download runtime wizard to get minishift binary
4. Download Minishift 1.14.0 version, accept license
5. Wait while it has been downloading
5. Assert: Minishift binary field contains path to right downloaded minishft.exe
Actual result: Selected file does not exist (there is missing .exe in the minishift binary field)
was:
1. Run devstudio
2. Create Minishift 1.7+ server adapter
3. Use download runtime wizard to get minishift binary
4. Download Minishift 1.14.0 version, accept license
5. Wait while it has been downloading
5. Assert: Minishift binary field contains path to right downloaded minishft.exe
Actual result: Selected file does not exist (there is missing .exe in theminishift binary field)
> Minishift binary downloaded from download runtime wizard does not have .exe extension on windows
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-26014
> URL: https://issues.jboss.org/browse/JBIDE-26014
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk
> Affects Versions: 4.6.0.AM1
> Reporter: Ondrej Dockal
> Assignee: Rob Stryker
> Priority: Critical
> Attachments: minishift_binary.png
>
>
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 5 months