You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "dion gillard (JIRA)" <ji...@codehaus.org> on 2006/08/09 06:31:09 UTC
[jira] Created: (MPARTIFACT-70) java.lang.IllegalAccessException in
artifact:artifact-install
java.lang.IllegalAccessException in artifact:artifact-install
-------------------------------------------------------------
Key: MPARTIFACT-70
URL: http://jira.codehaus.org/browse/MPARTIFACT-70
Project: maven-artifact-plugin
Issue Type: Bug
Reporter: dion gillard
I get the following when installing a plugin:
--- Nested Exception ---
java.lang.IllegalAccessException: org/apache/maven/MavenUtils
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:41)
at java.lang.reflect.Method.invoke(Method.java:386)
at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
ava:85)
at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
a:50)
at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
all(DefaultArtifactDeployer.java:165)
>From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MPARTIFACT-70) java.lang.IllegalAccessException in
artifact:artifact-install
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=all ]
Arnaud Heritier updated MPARTIFACT-70:
--------------------------------------
Affects Version/s: 1.8
Fix Version/s: 1.8.1
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: dion gillard
> Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_72271 ]
dion gillard commented on MPARTIFACT-70:
----------------------------------------
Switching my maven_home to the snapshot, all works fine.
If i switch my maven_home back to 1.1-beta-3, it fails again, as expected.
That's fixed!
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: dion gillard
> Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_71914 ]
Arnaud Heritier commented on MPARTIFACT-70:
-------------------------------------------
Weird 1 : I didn't receive a notification when you opened this bug :-(
Weird 2 : I never noticed this error whereas I often install plugins
Weird 3 : You're right and I don't understand how it could have work before :-(
Question : What is environment ? Maven, Os, JDK, ....
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Reporter: dion gillard
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_71974 ]
dion gillard commented on MPARTIFACT-70:
----------------------------------------
Problem does NOT occur on:
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Reporter: dion gillard
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_71972 ]
dion gillard commented on MPARTIFACT-70:
----------------------------------------
Maven 1.1-beta-3
os=winxp
jdk=java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1)
Classic VM (build 1.4.1, J2RE 1.4.1 IBM Windows 32 build cn1411-20031011 (JIT enabled: jitc))
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Reporter: dion gillard
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_72081 ]
Arnaud Heritier commented on MPARTIFACT-70:
-------------------------------------------
WHAT ???? :-(
I'll change the visibility of these methods and publish a SNAPSHOT.
I'll ask you to test it with the ibm jdk 1.4.1 if you can.
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Reporter: dion gillard
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_72089 ]
Arnaud Heritier commented on MPARTIFACT-70:
-------------------------------------------
Dion, I'm uploading a new snapshot of maven here :
http://people.apache.org/repo/m1-snapshot-repository/maven/distributions/20060811/
The 2 methods are now public and it bundles the new artifact plugin (to fix MPARTIFACT-71)
Can you test it please ?
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: dion gillard
> Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MPARTIFACT-70) java.lang.IllegalAccessException in
artifact:artifact-install
Posted by "Arnaud Heritier (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=all ]
Arnaud Heritier closed MPARTIFACT-70.
-------------------------------------
Assignee: Arnaud Heritier
Resolution: Fixed
Fixed but the problem isn't in the plugin. It's solved by MAVEN-1778 which is available in maven >= 1.1 RC1
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: dion gillard
> Assigned To: Arnaud Heritier
> Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MPARTIFACT-70) java.lang.IllegalAccessException
in artifact:artifact-install
Posted by "dion gillard (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPARTIFACT-70?page=comments#action_72091 ]
dion gillard commented on MPARTIFACT-70:
----------------------------------------
will test and report back.
> java.lang.IllegalAccessException in artifact:artifact-install
> -------------------------------------------------------------
>
> Key: MPARTIFACT-70
> URL: http://jira.codehaus.org/browse/MPARTIFACT-70
> Project: maven-artifact-plugin
> Issue Type: Bug
> Affects Versions: 1.8
> Reporter: dion gillard
> Fix For: 1.8.1
>
>
> I get the following when installing a plugin:
> --- Nested Exception ---
> java.lang.IllegalAccessException: org/apache/maven/MavenUtils
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:79)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> at org.apache.maven.artifact.PomRewriter.getRewrittenModel(PomRewriter.j
> ava:85)
> at org.apache.maven.artifact.PomRewriter.getRewrittenPom(PomRewriter.jav
> a:50)
> at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.handleInst
> all(DefaultArtifactDeployer.java:165)
> From reading http://svn.apache.org/viewvc/maven/maven-1/plugins/trunk/artifact/src/main/org/apache/maven/artifact/PomRewriter.java?view=markup PomRewriter calls MavenUtils.getNonJellyProject and MavenUtils.getJellyProject, of which both are declared as private static
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira