[JBoss JIRA] (JBIDE-16043) CLONE - Build Error when using DS security module and @Secured @Stereotype annotation
by Alexey Kazakov (JIRA)
Alexey Kazakov created JBIDE-16043:
--------------------------------------
Summary: CLONE - Build Error when using DS security module and @Secured @Stereotype annotation
Key: JBIDE-16043
URL: https://issues.jboss.org/browse/JBIDE-16043
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi-extensions
Affects Versions: 4.1.0.Final, 4.1.1.Beta1
Environment: Win 7 / 64-bit Eclipse Kepler SR1 / 32-bit Java 1.7.0_25
Reporter: Alexey Kazakov
Assignee: Viacheslav Kabanovich
Priority: Blocker
Fix For: 4.1.1.CR1
When using {{(a)Secured(DecisionVoter.class)}} concept for authorization, each build ends with following build error if the method is annotated with a {{@Secured @Stereotype}} created annotation:
{quote}
eclipse.buildId=4.3.0.M20130911-1000
java.version=1.7.0_25
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
Error
Tue Nov 19 13:36:27 CET 2013
Errors running builder 'CDI (Context and Dependency Injection) Builder' on project 'ee7-web-ds-security'.
java.lang.NullPointerException
at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.findAnnotationAnnotatedWithSecurityBindingType(DeltaspikeSecurityExtension.java:161)
at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.addSecurityMember(DeltaspikeSecurityExtension.java:117)
at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.processAnnotatedMember(DeltaspikeSecurityExtension.java:106)
at org.jboss.tools.cdi.internal.core.impl.definition.TypeDefinition.init(TypeDefinition.java:72)
at org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:64)
at org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition.setType(AbstractTypeDefinition.java:69)
at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:79)
at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:48)
at org.jboss.tools.cdi.core.CDICoreBuilder.invokeBuilderDelegates(CDICoreBuilder.java:326)
at org.jboss.tools.cdi.core.CDICoreBuilder.fullBuild(CDICoreBuilder.java:261)
at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:221)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
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:299)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
{quote}
When using the {{@SecurityBindingType}} concept for authorization or the {{@Secured}} annotation directly, the build passes with no error.
In any case, even if the build reports this error, the app is compiled correctly and deploys and works as it should.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-16043) CLONE - Build Error when using DS security module and @Secured @Stereotype annotation
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-16043?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-16043:
-----------------------------------
Fix Version/s: 4.2.0.Alpha1
(was: 4.1.1.CR1)
Git Pull Request: https://github.com/jbosstools/jbosstools-javaee/pull/170 (was: https://github.com/jbosstools/jbosstools-javaee/pull/170, https://github.com/jbosstools/jbosstools-javaee/pull/171)
> CLONE - Build Error when using DS security module and @Secured @Stereotype annotation
> -------------------------------------------------------------------------------------
>
> Key: JBIDE-16043
> URL: https://issues.jboss.org/browse/JBIDE-16043
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi-extensions
> Affects Versions: 4.1.0.Final, 4.1.1.Beta1
> Environment: Win 7 / 64-bit Eclipse Kepler SR1 / 32-bit Java 1.7.0_25
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Priority: Blocker
> Labels: respin-a
> Fix For: 4.2.0.Alpha1
>
>
> When using {{(a)Secured(DecisionVoter.class)}} concept for authorization, each build ends with following build error if the method is annotated with a {{@Secured @Stereotype}} created annotation:
> {quote}
> eclipse.buildId=4.3.0.M20130911-1000
> java.version=1.7.0_25
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_CH
> Framework arguments: -product org.eclipse.epp.package.jee.product
> Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product
> Error
> Tue Nov 19 13:36:27 CET 2013
> Errors running builder 'CDI (Context and Dependency Injection) Builder' on project 'ee7-web-ds-security'.
> java.lang.NullPointerException
> at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.findAnnotationAnnotatedWithSecurityBindingType(DeltaspikeSecurityExtension.java:161)
> at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.addSecurityMember(DeltaspikeSecurityExtension.java:117)
> at org.jboss.tools.cdi.deltaspike.core.DeltaspikeSecurityExtension.processAnnotatedMember(DeltaspikeSecurityExtension.java:106)
> at org.jboss.tools.cdi.internal.core.impl.definition.TypeDefinition.init(TypeDefinition.java:72)
> at org.jboss.tools.cdi.internal.core.impl.definition.AbstractMemberDefinition.setAnnotatable(AbstractMemberDefinition.java:64)
> at org.jboss.tools.cdi.internal.core.impl.definition.AbstractTypeDefinition.setType(AbstractTypeDefinition.java:69)
> at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:79)
> at org.jboss.tools.cdi.internal.core.scanner.CDIBuilderDelegate.build(CDIBuilderDelegate.java:48)
> at org.jboss.tools.cdi.core.CDICoreBuilder.invokeBuilderDelegates(CDICoreBuilder.java:326)
> at org.jboss.tools.cdi.core.CDICoreBuilder.fullBuild(CDICoreBuilder.java:261)
> at org.jboss.tools.cdi.core.CDICoreBuilder.build(CDICoreBuilder.java:221)
> at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:733)
> 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:299)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
> at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
> at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
> at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
> at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
> {quote}
> When using the {{@SecurityBindingType}} concept for authorization or the {{@Secured}} annotation directly, the build passes with no error.
> In any case, even if the build reports this error, the app is compiled correctly and deploys and works as it should.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15770) Can't remove cordova plugins with "remove cordova plugin" menu item
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15770?page=com.atlassian.jira.plugi... ]
Gorkem Ercan commented on JBIDE-15770:
--------------------------------------
same issue as JBIDE-15779. A fix is on master
> Can't remove cordova plugins with "remove cordova plugin" menu item
> -------------------------------------------------------------------
>
> Key: JBIDE-15770
> URL: https://issues.jboss.org/browse/JBIDE-15770
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Reporter: Michelle Murray
> Assignee: Gorkem Ercan
> Labels: respin-a
> Fix For: 4.1.1.CR1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> "Remove Cordova plugin" menu item doesn't work.
> 1. Make a hybrid mobile project with wizard
> 2. Add a cordova plugin via the Cordova Configuration Editor, Platform Properties pane, Add button >> plug-ins listed in Project Explorer tab under plugins folder
> 4. Right-click plug-in name (in Project Explorer)
> 5. Click Remove Cordova Plugin >> window flashes open and closes immediately, plug-in still listed under plugin folder :(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15770) Can't remove cordova plugins with "remove cordova plugin" menu item
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15770?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-15770:
---------------------------------
Labels: respin-a (was: )
> Can't remove cordova plugins with "remove cordova plugin" menu item
> -------------------------------------------------------------------
>
> Key: JBIDE-15770
> URL: https://issues.jboss.org/browse/JBIDE-15770
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Reporter: Michelle Murray
> Assignee: Gorkem Ercan
> Labels: respin-a
> Fix For: 4.1.1.CR1
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> "Remove Cordova plugin" menu item doesn't work.
> 1. Make a hybrid mobile project with wizard
> 2. Add a cordova plugin via the Cordova Configuration Editor, Platform Properties pane, Add button >> plug-ins listed in Project Explorer tab under plugins folder
> 4. Right-click plug-in name (in Project Explorer)
> 5. Click Remove Cordova Plugin >> window flashes open and closes immediately, plug-in still listed under plugin folder :(
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15779) Plugin removed via config.xml editor is not removed from <project>/plugins directory
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15779?page=com.atlassian.jira.plugi... ]
Gorkem Ercan updated JBIDE-15779:
---------------------------------
Labels: respin-a (was: )
> Plugin removed via config.xml editor is not removed from <project>/plugins directory
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-15779
> URL: https://issues.jboss.org/browse/JBIDE-15779
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Reporter: Vlado Pakan
> Assignee: Gorkem Ercan
> Labels: respin-a
> Fix For: 4.1.1.CR1
>
>
> Steps to reproduce:
> 1. Create new Hybrid Mobile project
> 2. Open project config.xml file, add some feature on tab. Platform Properties and save
> ASSERT: Respective plugins are added to project plugins directory
> 3, Remove added feature from config.xml file similar way as in point 2.
> ERROR: Removed plugin is still in plugins directory. When project is built for Android via calling menu Run As > Run on Android Emulator. This plugin is added to built project and it's not correct
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15779) Plugin removed via config.xml editor is not removed from <project>/plugins directory
by Gorkem Ercan (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15779?page=com.atlassian.jira.plugi... ]
Gorkem Ercan commented on JBIDE-15779:
--------------------------------------
A fix for the remove problems is already on master.
> Plugin removed via config.xml editor is not removed from <project>/plugins directory
> ------------------------------------------------------------------------------------
>
> Key: JBIDE-15779
> URL: https://issues.jboss.org/browse/JBIDE-15779
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Affects Versions: 4.1.1.Beta1
> Reporter: Vlado Pakan
> Assignee: Gorkem Ercan
> Labels: respin-a
> Fix For: 4.1.1.CR1
>
>
> Steps to reproduce:
> 1. Create new Hybrid Mobile project
> 2. Open project config.xml file, add some feature on tab. Platform Properties and save
> ASSERT: Respective plugins are added to project plugins directory
> 3, Remove added feature from config.xml file similar way as in point 2.
> ERROR: Removed plugin is still in plugins directory. When project is built for Android via calling menu Run As > Run on Android Emulator. This plugin is added to built project and it's not correct
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months
[JBoss JIRA] (JBIDE-15783) CordovaSim: CordovaSim doesn't support android projects
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-15783?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-15783:
-------------------------------------
I have a demo example here - https://github.com/ibuziuk/OAuth-twitter-demo. That sample provides Twitter OAuth authentication via ChildBrowser plugin. Unfortunately you won't be able to "tweet" from the CordovaSim.
Steps for verifying:
1. Install ADT
2. Import Existing Android code to workspace
3. Run the project with CordovaSim
By pressing "Start twitter OAuth", You will be able to login via twitter and authorize the app.
> CordovaSim: CordovaSim doesn't support android projects
> -------------------------------------------------------
>
> Key: JBIDE-15783
> URL: https://issues.jboss.org/browse/JBIDE-15783
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Reporter: Ilya Buziuk
> Assignee: Ilya Buziuk
> Fix For: 4.1.1.CR1, 4.2.0.Alpha1
>
>
> CordovaSim should support hybrid and android (hybrid project that was built for the android platform) projects. After cordova 3.1 migration CordovaSim fails to emulate android projects
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 5 months