[JBoss JIRA] (JBIDE-17578) NPE when editing XHTML file with JAX-RS support enabled for the project
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17578?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-17578:
---------------------------------------
thanks for reporting this bug, [~akazakov] ;-)
> NPE when editing XHTML file with JAX-RS support enabled for the project
> -----------------------------------------------------------------------
>
> Key: JBIDE-17578
> URL: https://issues.jboss.org/browse/JBIDE-17578
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta3
> Reporter: Alexey Kazakov
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> I have a jboss-javaee6-webapp project imported into my workspace.
> I also enabled JAX-RS support for this project.
> When I'm editing jboss-javaee6-webapp/src/main/webapp/resources/foo/input.xhtml I get the following NPE:
> {code}
> org.jboss.tools.common.validation.JBTValidationException
> at org.jboss.tools.common.validation.AsYouTypeValidatorManager.validate(AsYouTypeValidatorManager.java:188)
> at org.jboss.tools.common.validation.AsYouTypeValidatorManager.validateString(AsYouTypeValidatorManager.java:205)
> at org.jboss.tools.common.validation.AsYouTypeValidatorManager.validateString(AsYouTypeValidatorManager.java:200)
> at org.jboss.tools.common.validation.AsYouTypeValidatorManager.validate(AsYouTypeValidatorManager.java:254)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:381)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:259)
> at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
> at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
> at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
> at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.ws.jaxrs.ui.internal.validation.JaxrsMetamodelValidator.validate(JaxrsMetamodelValidator.java:426)
> at org.jboss.tools.common.validation.AsYouTypeValidatorManager.validate(AsYouTypeValidatorManager.java:183)
> ... 10 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart when no jboss-eap runtime available
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17710?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-17710:
-------------------------------
Summary: error importing kitchensink angularjs quickstart when no jboss-eap runtime available (was: error importing kitchensink angularjs quickstart)
> error importing kitchensink angularjs quickstart when no jboss-eap runtime available
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-17710
> URL: https://issues.jboss.org/browse/JBIDE-17710
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: Linux 64 (Fedora 18), JDK 1.8
> Reporter: Nick Boldt
> Attachments: error-quickstart-kitchensink-angularjs.png, install-jpa2-NPE.txt
>
>
> 1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
> 2. Install Arquillian from JBoss Central EA site (using -D flags above)
> 3. launch kitchensink-angularjs quickstart.
> 4. Get NPE installing JPA 2.0
> 5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
> Also had the same issues with JBT 4.2.0.Beta2, so it doesn't seem this is a JBDS only issue.
> !error-quickstart-kitchensink-angularjs.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17710?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-17710:
-------------------------------
Description:
1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
2. Install Arquillian from JBoss Central EA site (using -D flags above)
3. launch kitchensink-angularjs quickstart.
4. Get NPE installing JPA 2.0
5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
Also had the same issues with JBT 4.2.0.Beta2, so it doesn't seem this is a JBDS only issue.
!error-quickstart-kitchensink-angularjs.png!
was:
1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
2. Install Arquillian from JBoss Central EA site (using -D flags above)
3. launch kitchensink-angularjs quickstart.
4. Get NPE installing JPA 2.0
5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
!error-quickstart-kitchensink-angularjs.png!
> error importing kitchensink angularjs quickstart
> ------------------------------------------------
>
> Key: JBIDE-17710
> URL: https://issues.jboss.org/browse/JBIDE-17710
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: Linux 64 (Fedora 18), JDK 1.8
> Reporter: Nick Boldt
> Attachments: error-quickstart-kitchensink-angularjs.png
>
>
> 1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
> 2. Install Arquillian from JBoss Central EA site (using -D flags above)
> 3. launch kitchensink-angularjs quickstart.
> 4. Get NPE installing JPA 2.0
> 5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
> Also had the same issues with JBT 4.2.0.Beta2, so it doesn't seem this is a JBDS only issue.
> !error-quickstart-kitchensink-angularjs.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17710?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-17710:
-------------------------------
Attachment: install-jpa2-NPE.txt
> error importing kitchensink angularjs quickstart
> ------------------------------------------------
>
> Key: JBIDE-17710
> URL: https://issues.jboss.org/browse/JBIDE-17710
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: Linux 64 (Fedora 18), JDK 1.8
> Reporter: Nick Boldt
> Attachments: error-quickstart-kitchensink-angularjs.png, install-jpa2-NPE.txt
>
>
> 1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
> 2. Install Arquillian from JBoss Central EA site (using -D flags above)
> 3. launch kitchensink-angularjs quickstart.
> 4. Get NPE installing JPA 2.0
> 5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
> Also had the same issues with JBT 4.2.0.Beta2, so it doesn't seem this is a JBDS only issue.
> !error-quickstart-kitchensink-angularjs.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17710?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-17710:
-------------------------------
Description:
1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
2. Install Arquillian from JBoss Central EA site (using -D flags above)
3. launch kitchensink-angularjs quickstart.
4. Get NPE installing JPA 2.0
5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
!error-quickstart-kitchensink-angularjs.png!
was:
1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
2. Install Arquillian from JBoss Central EA site (using -D flags above)
3. launch kitchensink-angularjs quickstart.
4. Get NPE installing JPA 2.0
5. Get numerous import problems in MemberRegistrationTest.java and other source files.
> error importing kitchensink angularjs quickstart
> ------------------------------------------------
>
> Key: JBIDE-17710
> URL: https://issues.jboss.org/browse/JBIDE-17710
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: Linux 64 (Fedora 18), JDK 1.8
> Reporter: Nick Boldt
> Attachments: error-quickstart-kitchensink-angularjs.png
>
>
> 1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
> 2. Install Arquillian from JBoss Central EA site (using -D flags above)
> 3. launch kitchensink-angularjs quickstart.
> 4. Get NPE installing JPA 2.0
> 5. Get numerous import problems in MemberRegistrationTest.java and other source files; quickfixes don't work.
> !error-quickstart-kitchensink-angularjs.png!
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart
by Nick Boldt (JIRA)
Nick Boldt created JBIDE-17710:
----------------------------------
Summary: error importing kitchensink angularjs quickstart
Key: JBIDE-17710
URL: https://issues.jboss.org/browse/JBIDE-17710
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: jsp/jsf/xml/html source editing
Affects Versions: 4.2.0.Beta2
Environment: Linux 64 (Fedora 18), JDK 1.8
Reporter: Nick Boldt
Attachments: error-quickstart-kitchensink-angularjs.png
1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
2. Install Arquillian from JBoss Central EA site (using -D flags above)
3. launch kitchensink-angularjs quickstart.
4. Get NPE installing JPA 2.0
5. Get numerous import problems in MemberRegistrationTest.java and other source files.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17710) error importing kitchensink angularjs quickstart
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17710?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-17710:
-------------------------------
Attachment: error-quickstart-kitchensink-angularjs.png
> error importing kitchensink angularjs quickstart
> ------------------------------------------------
>
> Key: JBIDE-17710
> URL: https://issues.jboss.org/browse/JBIDE-17710
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Environment: Linux 64 (Fedora 18), JDK 1.8
> Reporter: Nick Boldt
> Attachments: error-quickstart-kitchensink-angularjs.png
>
>
> 1. install JBDS 8.0.0.Beta2-v20140617-2058-B166 from update site into Eclipse 4.4.0.R Luna JEE bundle.
> 2. Install Arquillian from JBoss Central EA site (using -D flags above)
> 3. launch kitchensink-angularjs quickstart.
> 4. Get NPE installing JPA 2.0
> 5. Get numerous import problems in MemberRegistrationTest.java and other source files.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBDS-2990) Installer indicates that Java 8 is not supported
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-2990?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-2990:
----------------------------------
+1, PR looks good. ... but the PR title is for another JIRA (JBDS-3071) not JBDS-2990.
> Installer indicates that Java 8 is not supported
> ------------------------------------------------
>
> Key: JBDS-2990
> URL: https://issues.jboss.org/browse/JBDS-2990
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: installer
> Affects Versions: 8.0.0.Beta1
> Environment: java -version
> java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
> JBDS 8.0.beta1
> Reporter: Len DiMaggio
> Assignee: Denis Golovin
> Fix For: 8.0.0.Beta3
>
> Attachments: java8.png
>
>
> See attached screenshot.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months
[JBoss JIRA] (JBIDE-17633) AngularJS Eclipse plugin doesn't provide autocompletion OOTB on Windows x86_64
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17633?page=com.atlassian.jira.plugi... ]
Nick Boldt resolved JBIDE-17633.
--------------------------------
Resolution: Done
Successfully installed AngularJS from JBoss Central into JBoss Tools via these vmargs (I used JDK 1.8 to run Eclipse):
{code}
-Djboss.discovery.directory.url=http://download.jboss.org/jbosstools/discovery/nightly/earlyaccess/master/jbosstools-directory.xml
-Djboss.discovery.site.url=http://download.jboss.org/jbosstools/discovery/nightly/earlyaccess/master/
-Djboss.discovery.earlyaccess.site.url=http://download.jboss.org/jbosstools/discovery/nightly/earlyaccess/master/{code}
Next, we need to verify that autocomplete works as you expect it should on Windows 64.
If anyone wants this fixed rolled into the Beta2 version of JBoss Central EA, let me know and I can do the backport & build.
> AngularJS Eclipse plugin doesn't provide autocompletion OOTB on Windows x86_64
> ------------------------------------------------------------------------------
>
> Key: JBIDE-17633
> URL: https://issues.jboss.org/browse/JBIDE-17633
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build, jsp/jsf/xml/html source editing
> Affects Versions: 4.2.0.Beta2
> Reporter: Fred Bricon
> Assignee: Nick Boldt
> Fix For: 4.2.0.Beta3
>
>
> If you install the AngularJS Eclipse plugin from Central on JBDS, on Windows 7 64bit, autocompletion will not work as expected (no angularjs elements will be proposed) and the error log will be polluted with errors like :
> {noformat}
> !MESSAGE Error while tern validator.
> !STACK 0
> tern.TernException: tern.server.nodejs.process.NodejsProcessException: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:307)
> at tern.eclipse.ide.core.IDETernProject.request(IDETernProject.java:745)
> at tern.eclipse.ide.core.IDETernProject.request(IDETernProject.java:739)
> at org.eclipse.angularjs.internal.ui.validation.HTMLAngularContentValidator.find(HTMLAngularContentValidator.java:122)
> at org.eclipse.angularjs.internal.ui.validation.HTMLAngularContentValidator.doValidate(HTMLAngularContentValidator.java:71)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:142)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:124)
> at org.eclipse.angularjs.internal.ui.validation.AbstractValidator.validate(AbstractValidator.java:108)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.validate(ReconcileStepForValidator.java:381)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ReconcileStepForValidator.reconcileModel(ReconcileStepForValidator.java:259)
> at org.eclipse.jface.text.reconciler.AbstractReconcileStep.reconcile(AbstractReconcileStep.java:95)
> at org.eclipse.wst.sse.ui.internal.reconcile.validator.ValidatorStrategy.reconcile(ValidatorStrategy.java:269)
> at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.process(DocumentRegionProcessor.java:321)
> at org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionProcessor.process(StructuredRegionProcessor.java:258)
> at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor$BackgroundThread.run(DirtyRegionProcessor.java:691)
> Caused by: tern.server.nodejs.process.NodejsProcessException: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:302)
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:321)
> at tern.server.nodejs.NodejsTernServer.getBaseURL(NodejsTernServer.java:188)
> at tern.server.nodejs.NodejsTernServer.makeRequest(NodejsTernServer.java:160)
> at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:299)
> ... 14 more
> Caused by: java.io.IOException: Cannot run program "node" (in directory "D:\workspaces\runtime-hosted-rc4\web"): CreateProcess error=2, Le fichier spécifié est introuvable
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
> at tern.server.nodejs.process.NodejsProcess.start(NodejsProcess.java:289)
> ... 18 more
> Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
> at java.lang.ProcessImpl.create(Native Method)
> at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
> at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
> ... 19 more
> {noformat}
> The problem is no embedded NodeJS runtime is provided OOTB for Windows x86_64.
> This PR for tern.java would allow such runtime to be provided : https://github.com/angelozerr/tern.java/pull/73. It targets tern.java 0.3.0 so, unless we also pick up that version, we'll need to backport the fix for the 0.2.0 stream
> Moreover, org.jboss.tools.jst.jsdt/META-INF/MANIFEST.MF contains :
> {quote}
> tern.eclipse.ide.server.nodejs.embed.win32.win32.x86;bundle-version="[0.2.0.201405210810,0.2.0.201405210810]";resolution:=optional;x-installation:=greedy,{quote}
> So even if tern.java provides an new runtime for x86_64, it won't be installed automatically. The MANIFEST needs to be updated.
> In any case, target platforms and the JBDS installer need to be rebuilt.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
11 years, 9 months