[jira] [Assigned] (EAGLE-273) Issue with creating MySql tables , only 14 were created out of 24, reason being varchar(30000) for multiple columns lead to exceeding the maximum row size of 65,535 byte

2016-06-06 Thread Michael Wu (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Wu reassigned EAGLE-273:


Assignee: Michael Wu  (was: Hao Chen)

>  Issue with creating MySql tables , only 14 were created out of 24, reason 
> being varchar(3) for multiple columns lead to exceeding the maximum row 
> size of 65,535 bytes.
> 
>
> Key: EAGLE-273
> URL: https://issues.apache.org/jira/browse/EAGLE-273
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.3.0
>Reporter: Hao Chen
>Assignee: Michael Wu
> Fix For: v0.4.0
>
>
> h2. Problem
> Issue with creating MySql tables , only 14 were created out of 24, reason 
> being varchar(3) for multiple columns lead to exceeding the maximum row 
> size of 65,535 bytes. I can look into this and fix it. Workaround is to 
> create the tables manually after changing the DDL.
> h2. Root Cause & Problem
> The problem is cause the limitation of maximum row size in mysql innodb 
> engine, so need to keep the column size relatively small, but it will cause 
> it can't store large field, it's a little tricky, so may have following 
> possible solutions:
> * Solution One: Fix mysql innodb size to resolve the limitation.
> * Solution Two: Keep the field relatively small to avoid exceeding maximum 
> row size and make sure creating table successfully, and modify field size 
> according to actual usage (Which is the approach we take for this problem)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] incubator-eagle issue #220: EAGLE-326 fix a typo in documentation for applic...

2016-06-06 Thread yonzhang
Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/220
  
this will be fixed in eaglemonitoring git repo


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-326) typo found in eagle documentation

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316781#comment-15316781
 ] 

ASF GitHub Bot commented on EAGLE-326:
--

Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/220
  
this will be fixed in eaglemonitoring git repo


> typo found in eagle documentation
> -
>
> Key: EAGLE-326
> URL: https://issues.apache.org/jira/browse/EAGLE-326
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.3.0
>Reporter: Michael Wu
>Assignee: Michael Wu
>Priority: Trivial
> Fix For: v0.4.0
>
>
> found ".app" which is supposed to be "app.", it impacts configuration for 
> application.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (EAGLE-319) java.sql.SQLSyntaxErrorException caught when querying from table topologyExecutionEntity

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316797#comment-15316797
 ] 

ASF GitHub Bot commented on EAGLE-319:
--

Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/222
  
This is good to merge


> java.sql.SQLSyntaxErrorException caught when querying from table 
> topologyExecutionEntity
> 
>
> Key: EAGLE-319
> URL: https://issues.apache.org/jira/browse/EAGLE-319
> Project: Eagle
>  Issue Type: Bug
>Reporter: Michael Wu
>Assignee: Michael Wu
>
> When querying from table topology_execution, met below error in eagle service 
> log:
> Error log with stacktrace:
> ***
> [ERROR] [05/27/2016 06:26:34.971] 
> [application-manager-scheduler-akka.actor.default-dispatcher-19] 
> [akka://application-manager-scheduler/user/$a/command-worker] Fail to load 
> any topologyExecutionEntity due to Exception: java.io.IOException: 
> org.apache.torque.TorqueException: java.sql.SQLSyntaxErrorException: 
> Comparisons between 'LONG VARCHAR (UCS_BASIC)' and 'LONG VARCHAR (UCS_BASIC)' 
> are not supported. Types must be comparable. String types must also have 
> matching collation. If collation does not match, a possible solution is to 
> cast operands to force them to the default collation (e.g. SELECT tablename 
> FROM sys.systables WHERE CAST(tablename AS VARCHAR(128)) = 'T1')
> org.apache.eagle.storage.jdbc.JdbcStorage.query(JdbcStorage.java:179)
> org.apache.eagle.storage.operation.QueryStatement.execute(QueryStatement.java:47)
> org.apache.eagle.service.generic.GenericEntityServiceResource.search(GenericEntityServiceResource.java:443)
> sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> java.lang.reflect.Method.invoke(Method.java:606)
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
> ***



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (EAGLE-301) Tables omitted for using mysql

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316798#comment-15316798
 ] 

ASF GitHub Bot commented on EAGLE-301:
--

Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/221
  
This is good to merge


> Tables omitted for using mysql
> --
>
> Key: EAGLE-301
> URL: https://issues.apache.org/jira/browse/EAGLE-301
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.3.1
>Reporter: Michael Wu
>Assignee: Michael Wu
> Fix For: v0.4.0
>
>
> To reproduce the issue:
> 1. install eagle (based on dev branch) to sandbox and ssh into sandbox, 
> making sure eagle's required components are started up.
> 2. execute command to enter mysql console: mysql -r root -p (default passcode 
> of ambari's mysql is blank).
> 3. create mysql user "eagle", setting a preferred passcode, and granting all 
> privileges to the user.
> 4. relogin mysql as user "eagle", and create database "eagle".
> 5. modify eagle/conf/eagle-service.conf according to 
> https://github.com/apache/incubator-eagle/blob/dev/eagle-webservice/src/main/resources/application-mysql.conf
> 6. execute eagle/bin/eagle-service.sh start
> 7. by either monitoring eagle/logs/eagle-service.out or query tables in 
> mysql, we can find that 12 tables are omitted as below:
> Omitted tables are:
> alertstreamschema_alertstreamschema
> alertdetail_hadoop
> alertdef_alertdef
> eagle_metadata_topologyoperation
> alertstream_alertstream
> unittest_testtsentity
> alertexecutor_alertexecutor
> aggregatedef_aggregatedef
> eagle_metadata_topologyexecution
> mlmodel_mlmodel
> serviceaudit_serviceaudit
> eagle_metric



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] incubator-eagle issue #222: EAGLE-319 modify java to jdbc data type mapping ...

2016-06-06 Thread yonzhang
Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/222
  
This is good to merge


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-eagle issue #221: EAGLE-301 modify default varchar size to 8192

2016-06-06 Thread yonzhang
Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/221
  
This is good to merge


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-eagle issue #219: EAGLE-325 Combine multiple web resource into cen...

2016-06-06 Thread DadanielZ
Github user DadanielZ commented on the issue:

https://github.com/apache/incubator-eagle/pull/219
  
Hi Hao, 
I think you forgot to add  ".github/" in eagle-parent 
pom  for ".github/PULL_REQUEST_TEMPLATE.md". 
It didn't pass my local license check. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-325) Initialize next-gen alert engine code on branch-0.5

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15316981#comment-15316981
 ] 

ASF GitHub Bot commented on EAGLE-325:
--

Github user DadanielZ commented on the issue:

https://github.com/apache/incubator-eagle/pull/219
  
Hi Hao, 
I think you forgot to add  ".github/" in eagle-parent 
pom  for ".github/PULL_REQUEST_TEMPLATE.md". 
It didn't pass my local license check. 


> Initialize next-gen alert engine code on branch-0.5
> ---
>
> Key: EAGLE-325
> URL: https://issues.apache.org/jira/browse/EAGLE-325
> Project: Eagle
>  Issue Type: New Feature
>Affects Versions: v0.4.0
>Reporter: Hao Chen
>Assignee: Hao Chen
> Fix For: v0.5.0
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Fix Version/s: v0.5.0

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Affects Version/s: v0.5.0

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen reassigned EAGLE-329:
--

Assignee: Hao Chen

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)
Hao Chen created EAGLE-329:
--

 Summary: Jersey dependency conflict bug
 Key: EAGLE-329
 URL: https://issues.apache.org/jira/browse/EAGLE-329
 Project: Eagle
  Issue Type: Bug
Reporter: Hao Chen


1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}
2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Labels: eagle-webservice  (was: )

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}
2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 25

[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsExceptio

[jira] [Commented] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317743#comment-15317743
 ] 

Hao Chen commented on EAGLE-329:


For Java 8 bytecode, use asm 5.0.1+ For Java 6 or Java 7 bytecode, use asm 3.1

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread tangjunjie (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317761#comment-15317761
 ] 

tangjunjie commented on EAGLE-329:
--

When I use jdk8 , TestEntityRepositoryScanner will fail by throw 
IllegalArgumentException. Then eXtcos managed thread  died.I think the problem 
is casue by asm version too.

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317767#comment-15317767
 ] 

Hao Chen commented on EAGLE-329:


Good catch, current *asm* 3.x/4.x seems not well compatible with JDK 8.

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Issue Comment Deleted] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Comment: was deleted

(was: Good catch, current *asm* 3.x/4.x seems not well compatible with JDK 8.)

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317768#comment-15317768
 ] 

Hao Chen commented on EAGLE-329:


Good catch, current *asm* 3.x/4.x seems not well compatible with JDK 8.

> Jersey dependency conflict bug
> --
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
co

[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8)
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileS

[jira] [Updated] (EAGLE-329) Jersey dependency conflict bug

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
  

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Summary: Dependency incompatibility bug among jersey, asm and extcos  (was: 
Jersey dependency conflict bug)

> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0

{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
  

[jira] [Comment Edited] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317779#comment-15317779
 ] 

Hao Chen edited comment on EAGLE-329 at 6/7/16 3:58 AM:


Resolved by changing to *asm-5.0*
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}


was (Author: haoch):
Resolved by with 
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos

[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317779#comment-15317779
 ] 

Hao Chen commented on EAGLE-329:


Resolved by with 
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: resolve with jersey-1.19.1
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>  

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

  was:
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
h1. Problems
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

h1. Root Cause
*  *asm is incompatible among asm-3.0,asm-4.0,asm-5.0*: the version of eagle 
before apache-eagle-v0.5 uses jersey v1.8 which requires asm-3.0, while eagle 
query engine requires asm-4.0 but storm requires asm-5.0. 
* *asm-3.0 and asm-4.0 is incompatible with jdk 8, but asm-5.0 does.
* eagle query engine depends on *net.sf.extcos:extcos:0.4b" which support up to 
asm-4.0
* jersey 1.8 is not compatible with java 8, but jersey 1.9 is.

h1. Final Solution to support Java 8.
* Upgrade to jersey 1.9 
* Exclude all a

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
h1. Problems
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

h1. Root Cause
*  *asm is incompatible among asm-3.0,asm-4.0,asm-5.0*: the version of eagle 
before apache-eagle-v0.5 uses jersey v1.8 which requires asm-3.0, while eagle 
query engine requires asm-4.0 but storm requires asm-5.0. 
*  *asm-3.0* and *asm-4.0* is incompatible with jdk 8, but *asm-5.0* does.
*  *eagle query engine depends on *net.sf.extcos:extcos:0.4b" which support up 
to asm-4.0*
*  *jersey 1.8 is not compatible with java 8, but jersey 1.9 is.*

h1. Final Solution to support Java 8.
* Upgrade to jersey 1.9 
* E

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
h1. Problems
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: resolve with jersey-1.19.1

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

h1. Root Cause
*  *asm is incompatible among asm-3.0,asm-4.0,asm-5.0*: the version of eagle 
before apache-eagle-v0.5 uses jersey v1.8 which requires asm-3.0, while eagle 
query engine requires *asm-4.0* but storm requires *asm-5.0*. 
*  *asm-3.0* and *asm-4.0* is incompatible with jdk 8, but *asm-5.0* does.
*  eagle query engine depends on *net.sf.extcos:extcos:0.4b" which support up 
to *asm-4.0*
*  *jersey-1.8* is not compatible with java 8, but *jersey-1.9* is.

h1. Final Solution to support Java 8.
* Upgrade to jersey 1.

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Description: 
h1. Problems
1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
{code}
Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at org.objectweb.asm.ClassReader.accept(Unknown Source) 
~[asm-3.1.jar:3.1]
at 
com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
 ~[jersey-core-1.17.1.jar:1.17.1]
at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
 ~[jersey-core-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
 ~[jersey-server-1.17.1.jar:1.17.1]
at 
com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
 ~[jersey-server-1.17.1.jar:1.17.1]
{code}

*Solution*: Upgrade to *jersey-1.19.1*

2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
{code}
Exception in thread "eXtcos managed thread 1" 
java.lang.ArrayIndexOutOfBoundsException: 256
at org.objectweb.asm.ClassReader.readClass(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}
*Solution*: Resolve by excluding unnecessary `asm` dependencies

3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
bytecode, while asm 5 support java8), unfortunately, seems latest version of 
extcos is 0.4b which support 4.0 only.
{code}
Exception in thread "eXtcos managed thread 1" java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.(Unknown Source)
at org.objectweb.asm.ClassReader.(Unknown Source)
at 
net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
at 
net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
at 
net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
at 
net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
at 
net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
at java.lang.Thread.run(Thread.java:745)
{code}

*Solution*:
{code}

net.sf.extcos
extcos


org.ow2.asm
asm-all




org.ow2.asm
asm-all 
5.0  

{code}

h1. Root Cause
*  *asm is incompatible among asm-3.0,asm-4.0,asm-5.0*: the version of eagle 
before apache-eagle-v0.5 uses jersey v1.8 which requires asm-3.0, while eagle 
query engine requires *asm-4.0* but storm requires *asm-5.0*. 
*  *asm-3.0* and *asm-4.0* is incompatible with jdk 8, but *asm-5.0* does.
*  eagle query engine depends on *net.sf.extcos:extcos:0.4b" which support up 
to *asm-4.0*
*  *jersey-1.8* is not compatible with java 8, but *jersey-1.9* is.

h1. Final Solution to support Java 8.
* Upgrade to jersey 1.

[GitHub] incubator-eagle pull request #224: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/224


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317907#comment-15317907
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/224


> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*:
> {code}
> 
>   net.sf.extcos
>   ext

[GitHub] incubator-eagle pull request #224: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/224

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle EAGLE-329

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/224.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #224


commit ecf75b280ba63733b285ee18925f0489f69601f0
Author: Zhao, Qingwen 
Date:   2016-04-25T03:57:47Z

EAGLE-271 Topology management in remote/local mode including start/stop 
operations

https://issues.apache.org/jira/browse/EAGLE-272
https://issues.apache.org/jira/browse/EAGLE-271
https://issues.apache.org/jira/browse/EAGLE-238

Author: Qingwen Zhao, Jilin Jiang
Reviewer: Ralph Su
Closes #160

commit 035a9f6949e3ef378e98c9fad84c3087afef5e4d
Author: Zhao, Qingwen 
Date:   2016-04-25T09:03:09Z

delete duplicate email template

commit a725ea5578917fde915675123c5251eb6afd99b9
Author: Zhao, Qingwen 
Date:   2016-05-03T02:13:12Z

EAGLE-222 Documentation for eagle alert plugin mechnism

https://issues.apache.org/jira/browse/EAGLE-222

Author: Qingwen Zhao
Closes #163

commit d8be43f1f7ea22fccf8478dc335bbde42ce856f4
Author: Zhao, Qingwen 
Date:   2016-05-03T02:35:26Z

EAGLE-254 HdfsAuditLog topology keeps alerting for one piece of log

https://issues.apache.org/jira/browse/EAGLE-254

Fixed two bugs:
  HdfsAuditLog topology keeps alerting for one piece of log
  update invalid links in email template

Author: Qingwen Zhao
Closes #167

commit 02fcb79d7dcb959338547bec280cff1991b33cdb
Author: Zhao, Qingwen 
Date:   2016-05-06T03:21:48Z

Add configuration value to enable application Manager

commit cf4b277a1645087df306e3b2f2c133c58a8826e2
Author: Zhao, Qingwen 
Date:   2016-05-06T10:07:42Z

disable testLengthSlideWindowWithGroupby

commit 8087ec0b64f3809360361233d2d356fea4b19364
Author: Zhao, Qingwen 
Date:   2016-05-06T10:24:41Z

disable testLengthSlideWindow

commit 6768fe4924fe321c4c89736f8118e17f0c8ab8fb
Author: Zhao, Qingwen 
Date:   2016-05-19T07:41:03Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-eagle

commit 8dad5fe6fd83b76674e4df6e6bd50e0b11f3bec0
Author: Jaspaul 
Date:   2016-05-23T03:13:34Z

EAGLE-291 : JDBC: Update transactions fail in PostgreSQL

The transactions in Postgres was failing due to insert fail transaction 
already in progress and we were trying to update if insert fails. Need to 
rollback the failed insert transaction and then continue with update 
transaction. Postgres is more strict as compared to MySql, so we need save 
point so that we can roll it back, if required.

Author: Jaspaul 

Closes #194 from Jashchahal/dev.

commit 50ff38d99de630d6cb4ced324317237bcca65e8b
Author: yonzhang 
Date:   2016-05-24T00:08:33Z

EAGLE-300 set debug-log dumping components log level to INFO
set debug-log

https://issues.apache.org/jira/browse/EAGLE-300

Author:anyway1021
Reviewer: Ralph, Hao

Closes #192

commit 8dbbf7100f12ddd75215e1ae99384623dd5cf3f7
Author: yonzhang 
Date:   2016-05-24T00:17:20Z

EAGLE-297 Email with authentication
Email with authentication can not be validated and sent out

https://issues.apache.org/jira/browse/EAGLE-297

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Qingwen, Zhao

Closes #187

commit 8df78b185eaba1c094ae7b713b4342a476e9b92a
Author: yonzhang 
Date:   2016-05-24T00:17:32Z

EAGLE-297 Email with authentication
Email with authentication can not be validated and sent out

https://issues.apache.org/jira/browse/EAGLE-297

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Qingwen, Zhao

Closes #187

commit e7433a3b1647131433fd1473d9514d64fdac5643
Author: yonzhang 
Date:   2016-05-24T00:21:12Z

EAGLE-236 Change project pom to use 0.4 version
Change project version to "0.4.0-SNAPSHOT" since "v0.3.0" has been released.

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Hao Chen

Closes #181

commit 9ad4b635d1bad7d7db9470b7ab48d99d1e4aa3e1
Author: yonzhang 
Date:   2016-05-24T01:17:38Z

EAGLE-294 fix default value fillup issue
 If a policy metadata field is not set, add null attributes to input stream 
for SiddhiCEP

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Hao Chen, Yong Zhang

Closes #196

commit e618d256e4854602d01a6440f51d9962be7eedea
Author: yonzhang 
Date:   2016-05-24T04:30:33Z

EAGLE-279 Create Documentation for Sandbox Quick starter
EAGLE-279 Create Documentation for Sandbox Quick starter and JMX monitoring

Author: Hem

[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317905#comment-15317905
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/224

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos



You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle EAGLE-329

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/224.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #224


commit ecf75b280ba63733b285ee18925f0489f69601f0
Author: Zhao, Qingwen 
Date:   2016-04-25T03:57:47Z

EAGLE-271 Topology management in remote/local mode including start/stop 
operations

https://issues.apache.org/jira/browse/EAGLE-272
https://issues.apache.org/jira/browse/EAGLE-271
https://issues.apache.org/jira/browse/EAGLE-238

Author: Qingwen Zhao, Jilin Jiang
Reviewer: Ralph Su
Closes #160

commit 035a9f6949e3ef378e98c9fad84c3087afef5e4d
Author: Zhao, Qingwen 
Date:   2016-04-25T09:03:09Z

delete duplicate email template

commit a725ea5578917fde915675123c5251eb6afd99b9
Author: Zhao, Qingwen 
Date:   2016-05-03T02:13:12Z

EAGLE-222 Documentation for eagle alert plugin mechnism

https://issues.apache.org/jira/browse/EAGLE-222

Author: Qingwen Zhao
Closes #163

commit d8be43f1f7ea22fccf8478dc335bbde42ce856f4
Author: Zhao, Qingwen 
Date:   2016-05-03T02:35:26Z

EAGLE-254 HdfsAuditLog topology keeps alerting for one piece of log

https://issues.apache.org/jira/browse/EAGLE-254

Fixed two bugs:
  HdfsAuditLog topology keeps alerting for one piece of log
  update invalid links in email template

Author: Qingwen Zhao
Closes #167

commit 02fcb79d7dcb959338547bec280cff1991b33cdb
Author: Zhao, Qingwen 
Date:   2016-05-06T03:21:48Z

Add configuration value to enable application Manager

commit cf4b277a1645087df306e3b2f2c133c58a8826e2
Author: Zhao, Qingwen 
Date:   2016-05-06T10:07:42Z

disable testLengthSlideWindowWithGroupby

commit 8087ec0b64f3809360361233d2d356fea4b19364
Author: Zhao, Qingwen 
Date:   2016-05-06T10:24:41Z

disable testLengthSlideWindow

commit 6768fe4924fe321c4c89736f8118e17f0c8ab8fb
Author: Zhao, Qingwen 
Date:   2016-05-19T07:41:03Z

Merge branch 'master' of 
https://git-wip-us.apache.org/repos/asf/incubator-eagle

commit 8dad5fe6fd83b76674e4df6e6bd50e0b11f3bec0
Author: Jaspaul 
Date:   2016-05-23T03:13:34Z

EAGLE-291 : JDBC: Update transactions fail in PostgreSQL

The transactions in Postgres was failing due to insert fail transaction 
already in progress and we were trying to update if insert fails. Need to 
rollback the failed insert transaction and then continue with update 
transaction. Postgres is more strict as compared to MySql, so we need save 
point so that we can roll it back, if required.

Author: Jaspaul 

Closes #194 from Jashchahal/dev.

commit 50ff38d99de630d6cb4ced324317237bcca65e8b
Author: yonzhang 
Date:   2016-05-24T00:08:33Z

EAGLE-300 set debug-log dumping components log level to INFO
set debug-log

https://issues.apache.org/jira/browse/EAGLE-300

Author:anyway1021
Reviewer: Ralph, Hao

Closes #192

commit 8dbbf7100f12ddd75215e1ae99384623dd5cf3f7
Author: yonzhang 
Date:   2016-05-24T00:17:20Z

EAGLE-297 Email with authentication
Email with authentication can not be validated and sent out

https://issues.apache.org/jira/browse/EAGLE-297

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Qingwen, Zhao

Closes #187

commit 8df78b185eaba1c094ae7b713b4342a476e9b92a
Author: yonzhang 
Date:   2016-05-24T00:17:32Z

EAGLE-297 Email with authentication
Email with authentication can not be validated and sent out

https://issues.apache.org/jira/browse/EAGLE-297

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Qingwen, Zhao

Closes #187

commit e7433a3b1647131433fd1473d9514d64fdac5643
Author: yonzhang 
Date:   2016-05-24T00:21:12Z

EAGLE-236 Change project pom to use 0.4 version
Change project version to "0.4.0-SNAPSHOT" since "v0.3.0" has been released.

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Hao Chen

Closes #181

commit 9ad4b635d1bad7d7db9470b7ab48d99d1e4aa3e1
Author: yonzhang 
Date:   2016-05-24T01:17:38Z

EAGLE-294 fix default value fillup issue
 If a policy metadata field is not set, add null attributes to input stream 
for SiddhiCEP

Author: Huizhi Lu, ihuizhi...@gmail.com
Reviewer: Hao Chen, Yong Zhang

Closes #196

comm

[GitHub] incubator-eagle pull request #225: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/225


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317909#comment-15317909
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/225

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos

https://issues.apache.org/jira/browse/EAGLE-329

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #225


commit 9849303ebf8a63e4f54f0eb035c8060c43e50611
Author: Hao Chen 
Date:   2016-05-27T11:34:32Z

[EAGLE-273][EAGLE-269] Fix exceeding the maximum row size of 65,535 bytes 
in mysql and comparisons between LONG_VARCHAR not supported

https://issues.apache.org/jira/browse/EAGLE-273
https://issues.apache.org/jira/browse/EAGLE-269

The problem is cause the limitation of maximum row size in mysql innodb 
engine, so need to keep the column size relatively small, but it will cause it 
can't store large field, it's a little tricky, so may have following possible 
solutions:

* Solution One: Fix mysql innodb size to resolve the limitation.
* Solution Two: Keep the field relatively small to avoid exceeding maximum 
row size and make sure creating table successfully, and modify field size 
according to actual usage (Which is the approach we take for this problem)

Author: Hao Chen 

Closes #158 from haoch/EAGLE-273-LATEST.

commit df576452f174166407dfaa7a705b7f263f932f33
Author: hdendukuri 
Date:   2016-05-27T11:36:26Z

[EAGLE-279] Create Documentation for Sandbox Quick starter and JMX monitring

Create Documentation for Sandbox Quick starter and JMX monitring

Author: hdendukuri 

Closes #159 from hdendukuri/master.




> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccess

[GitHub] incubator-eagle pull request #225: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/225

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos

https://issues.apache.org/jira/browse/EAGLE-329

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle master

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #225


commit 9849303ebf8a63e4f54f0eb035c8060c43e50611
Author: Hao Chen 
Date:   2016-05-27T11:34:32Z

[EAGLE-273][EAGLE-269] Fix exceeding the maximum row size of 65,535 bytes 
in mysql and comparisons between LONG_VARCHAR not supported

https://issues.apache.org/jira/browse/EAGLE-273
https://issues.apache.org/jira/browse/EAGLE-269

The problem is cause the limitation of maximum row size in mysql innodb 
engine, so need to keep the column size relatively small, but it will cause it 
can't store large field, it's a little tricky, so may have following possible 
solutions:

* Solution One: Fix mysql innodb size to resolve the limitation.
* Solution Two: Keep the field relatively small to avoid exceeding maximum 
row size and make sure creating table successfully, and modify field size 
according to actual usage (Which is the approach we take for this problem)

Author: Hao Chen 

Closes #158 from haoch/EAGLE-273-LATEST.

commit df576452f174166407dfaa7a705b7f263f932f33
Author: hdendukuri 
Date:   2016-05-27T11:36:26Z

[EAGLE-279] Create Documentation for Sandbox Quick starter and JMX monitring

Create Documentation for Sandbox Quick starter and JMX monitring

Author: hdendukuri 

Closes #159 from hdendukuri/master.




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317910#comment-15317910
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/225


> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*:
> {code}
> 
>   net.sf.extcos
>   ext

[GitHub] incubator-eagle pull request #226: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/226

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos

https://issues.apache.org/jira/browse/EAGLE-329

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle EAGLE-329

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/226.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #226


commit f71575965f1b804610a836bf2b1ea03e6b6b1d26
Author: Hao Chen 
Date:   2016-06-07T05:53:42Z

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos




---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317912#comment-15317912
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

GitHub user haoch opened a pull request:

https://github.com/apache/incubator-eagle/pull/226

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos

https://issues.apache.org/jira/browse/EAGLE-329

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/haoch/incubator-eagle EAGLE-329

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/incubator-eagle/pull/226.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #226


commit f71575965f1b804610a836bf2b1ea03e6b6b1d26
Author: Hao Chen 
Date:   2016-06-07T05:53:42Z

EAGLE-329 Dependency incompatibility bug among jersey, asm and extcos




> Dependency incompatibility bug among jersey, asm and extcos
> ---
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaRe

[jira] [Updated] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos under JAVA 8

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen updated EAGLE-329:
---
Summary: Dependency incompatibility bug among jersey, asm and extcos under 
JAVA 8  (was: Dependency incompatibility bug among jersey, asm and extcos)

> Dependency incompatibility bug among jersey, asm and extcos under JAVA 8
> 
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*:
> {code}
> 
>   net.sf.extcos
>  

[GitHub] incubator-eagle issue #61: EAGLE-104 fix unit test bug in hdfs security log ...

2016-06-06 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/incubator-eagle/pull/61
  
@pmujumdar  please manually close this PR.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-104) Fix the unit test TestHDFSSecuritylogParser

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317919#comment-15317919
 ] 

ASF GitHub Bot commented on EAGLE-104:
--

Github user haoch commented on the issue:

https://github.com/apache/incubator-eagle/pull/61
  
@pmujumdar  please manually close this PR.


> Fix the unit test TestHDFSSecuritylogParser  
> -
>
> Key: EAGLE-104
> URL: https://issues.apache.org/jira/browse/EAGLE-104
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.3.0
>Reporter: Prasad Mujumdar
>Assignee: Prasad Mujumdar
> Fix For: v0.3.0
>
> Attachments: EAGLE-104.1.patch
>
>
> The test fails with following error
> {noformat}
> java.lang.StringIndexOutOfBoundsException">
> java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at
> java.lang.String.substring(String.java:1911) at
> org.apache.eagle.security.util.LogParseUtil.parseUserFromUGI(LogParseUtil.java:39)
> at
> org.apache.eagle.security.securitylog.parse.HDFSSecurityLogParser.parseAttr(HDFSSecurityLogParser.java:78)
> at
> org.apache.eagle.security.securitylog.parse.HDFSSecurityLogParser.parse(HDFSSecurityLogParser.java:52)
> at
> org.apache.eagle.security.TestHDFSSecuritylogParser.test(TestHDFSSecuritylogParser.java:36)
> {noformat}
> Looks like the problem is that the UGI parsing method is not handling the 
> simple authentication scenario where user name is not a kerberos principal. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[GitHub] incubator-eagle issue #226: EAGLE-329 Dependency incompatibility bug among j...

2016-06-06 Thread yonzhang
Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/226
  
Excellent fix!!! please merge


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos under JAVA 8

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317927#comment-15317927
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

Github user yonzhang commented on the issue:

https://github.com/apache/incubator-eagle/pull/226
  
Excellent fix!!! please merge


> Dependency incompatibility bug among jersey, asm and extcos under JAVA 8
> 
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {cod

[GitHub] incubator-eagle issue #226: EAGLE-329 Dependency incompatibility bug among j...

2016-06-06 Thread haoch
Github user haoch commented on the issue:

https://github.com/apache/incubator-eagle/pull/226
  
Fixed at 
https://github.com/apache/incubator-eagle/commit/9d16f213c991a816b4cf89732a51243b871b0c5a
 on `develop` branch


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[GitHub] incubator-eagle pull request #226: EAGLE-329 Dependency incompatibility bug ...

2016-06-06 Thread haoch
Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/226


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---


[jira] [Resolved] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos under JAVA 8

2016-06-06 Thread Hao Chen (JIRA)

 [ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hao Chen resolved EAGLE-329.

Resolution: Fixed

> Dependency incompatibility bug among jersey, asm and extcos under JAVA 8
> 
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*:
> {code}
> 
>   net.sf.extcos
>   extcos
>   
>   
>   org.ow2.asm
>   asm-all
>   
>   

[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos under JAVA 8

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317932#comment-15317932
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

Github user haoch commented on the issue:

https://github.com/apache/incubator-eagle/pull/226
  
Fixed at 
https://github.com/apache/incubator-eagle/commit/9d16f213c991a816b4cf89732a51243b871b0c5a
 on `develop` branch


> Dependency incompatibility bug among jersey, asm and extcos under JAVA 8
> 
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(Thr

[jira] [Commented] (EAGLE-329) Dependency incompatibility bug among jersey, asm and extcos under JAVA 8

2016-06-06 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/EAGLE-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15317934#comment-15317934
 ] 

ASF GitHub Bot commented on EAGLE-329:
--

Github user haoch closed the pull request at:

https://github.com/apache/incubator-eagle/pull/226


> Dependency incompatibility bug among jersey, asm and extcos under JAVA 8
> 
>
> Key: EAGLE-329
> URL: https://issues.apache.org/jira/browse/EAGLE-329
> Project: Eagle
>  Issue Type: Bug
>Affects Versions: v0.5.0
>Reporter: Hao Chen
>Assignee: Hao Chen
>  Labels: eagle-webservice
> Fix For: v0.5.0
>
>
> h1. Problems
> 1) Jersey conflict with Java8: https://java.net/jira/browse/JERSEY-2429
> {code}
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 52264
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at org.objectweb.asm.ClassReader.accept(Unknown Source) 
> ~[asm-3.1.jar:3.1]
>   at 
> com.sun.jersey.spi.scanning.AnnotationScannerListener.onProcess(AnnotationScannerListener.java:136)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner$1.f(FileSchemeScanner.java:86)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at com.sun.jersey.core.util.Closing.f(Closing.java:71) 
> ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scanDirectory(FileSchemeScanner.java:83)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.uri.FileSchemeScanner.scan(FileSchemeScanner.java:71)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:225)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.core.spi.scanning.PackageNamesScanner.scan(PackageNamesScanner.java:141)
>  ~[jersey-core-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.ScanningResourceConfig.init(ScanningResourceConfig.java:80)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.init(PackagesResourceConfig.java:104)
>  ~[jersey-server-1.17.1.jar:1.17.1]
>   at 
> com.sun.jersey.api.core.PackagesResourceConfig.(PackagesResourceConfig.java:78)
>  ~[jersey-server-1.17.1.jar:1.17.1]
> {code}
> *Solution*: Upgrade to *jersey-1.19.1*
> 2) asm library conflict: Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.ArrayIndexOutOfBoundsException: 256
>   at org.objectweb.asm.ClassReader.readClass(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at org.objectweb.asm.ClassReader.accept(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:339)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:309)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:98)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:131)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*: Resolve by excluding unnecessary `asm` dependencies
> 3) extcos scanner exception under java8 (asm 3/4.x support up to java 7 
> bytecode, while asm 5 support java8), unfortunately, seems latest version of 
> extcos is 0.4b which support 4.0 only.
> {code}
> Exception in thread "eXtcos managed thread 1" 
> java.lang.IllegalArgumentException
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at org.objectweb.asm.ClassReader.(Unknown Source)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.readClassData(JavaResourceAccessor.java:362)
>   at 
> net.sf.extcos.internal.JavaResourceAccessor.setResourceUrl(JavaResourceAccessor.java:333)
>   at 
> net.sf.extcos.internal.URLResource.getResourceAccessor(URLResource.java:93)
>   at net.sf.extcos.internal.URLResource.isClass(URLResource.java:126)
>   at net.sf.extcos.internal.RootFilter.filter(RootFilter.java:22)
>   at 
> net.sf.extcos.internal.AbstractChainedFilter.filter(AbstractChainedFilter.java:89)
>   at 
> net.sf.extcos.internal.ThreadingFilterInterceptor$1.run(ThreadingFilterInterceptor.java:48)
>   at java.lang.Thread.run(Thread.java:745)
> {code}
> *Solution*:
> {code}
> 
>  

[jira] [Created] (EAGLE-330) Hive ql.Parser can't parser a hive query sql with keywords

2016-06-06 Thread Yuming Wang (JIRA)
Yuming Wang created EAGLE-330:
-

 Summary: Hive ql.Parser can't parser a hive query sql with keywords
 Key: EAGLE-330
 URL: https://issues.apache.org/jira/browse/EAGLE-330
 Project: Eagle
  Issue Type: Bug
Affects Versions: v0.3.0, v0.4.0
Reporter: Yuming Wang
Priority: Minor


_org.apache.eagle.security.hive.ql.Parser_ can't parser a hive query sql with 
keywords,It will throw:
{panel}
java.lang.NullPointerException
at org.apache.hadoop.hive.conf.HiveConf.getBoolVar(HiveConf.java:2583)
at 
org.apache.hadoop.hive.ql.parse.HiveParser.useSQL11ReservedKeywordsForIdentifier(HiveParser.java:1000)
at 
org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.useSQL11ReservedKeywordsForIdentifier(HiveParser_IdentifiersParser.java:726)
at 
org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:10922)
at 
org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:45850)
at 
org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableOrColumn(HiveParser_FromClauseParser.java:1146)
...
{panel}
[HIVE-10731|https://issues.apache.org/jira/browse/HIVE-10731] fix 
*NullPointerException* but will throw *FailedPredicateException*
{panel}
FailedPredicateException(identifier,{useSQL11ReservedKeywordsForIdentifier()}?)
at 
org.apache.hadoop.hive.ql.parse.HiveParser_IdentifiersParser.identifier(HiveParser_IdentifiersParser.java:11833)
at 
org.apache.hadoop.hive.ql.parse.HiveParser.identifier(HiveParser.java:47987)
at 
org.apache.hadoop.hive.ql.parse.HiveParser_FromClauseParser.tableOrColumn(HiveParser_FromClauseParser.java:1174)
at 
org.apache.hadoop.hive.ql.parse.HiveParser.tableOrColumn(HiveParser.java:47993)
...
{panel}

so we should construct a HiveConf and  {code}set 
hive.support.sql11.reserved.keywords=false{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)