[forge-issues] [JBoss JIRA] (FORGE-457) NullPointerException on both forge shell script startup and installing new plugins

Christopher Britz (JIRA) jira-events at lists.jboss.org
Thu Jan 26 10:44:48 EST 2012


Christopher Britz created FORGE-457:
---------------------------------------

             Summary: NullPointerException on both forge shell script startup and installing new plugins
                 Key: FORGE-457
                 URL: https://issues.jboss.org/browse/FORGE-457
             Project: Forge
          Issue Type: Bug
          Components: Forge Scripting Language
    Affects Versions: 1.0.0.Beta5
         Environment: RH Fedora 16, 64bit, Intel® Core™2 Duo CPU T9800 @ 2.93GHz × 2, GNOME Version 3.2.1
            Reporter: Christopher Britz
            Assignee: Mike Brock


Steps to Reproduce NPE on Forge Startup:

1. Download the Beta5 Version from https://docs.jboss.org/author/display/FORGE/Home
2. Extract Files into Current Directory
3. Navigate to /home/myhome/Downloads/forge-distribution-1.0.0.Beta5/bin directory
4. Issue Command "./forge"

RESULTS:
Using Forge at /home/cbritz/Downloads/forge-distribution-1.0.0.Beta5
java.lang.NullPointerException
	at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:174)
	at org.jboss.forge.shell.Bootstrap.access$100(Bootstrap.java:54)
	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:88)
	at java.lang.Thread.run(Thread.java:662)

-----------------------------------------------
STEPS TO REPRODUCE WHEN INSTALLING NEW PLUGIN:

1. Navigate to a newly created forge project
2. Issue Command "forge install-plugin openshift-express"

RESULTS:
[arqDbTest] arqDbTest $ forge install-plugin openshift-express
Connecting to remote repository [https://raw.github.com/forge/plugin-repository/master/repository.yaml]... connected!
***INFO*** Preparing to install plugin: openshift-express
***INFO*** Checking out plugin source files to [/tmp/forgetemp5116246473525718251/repo] via 'git'
***INFO*** Switching to branch/tag [1.0.0.Beta5]
***INFO*** Invoking build with underlying build system.
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building openshift-express-plugin 1.0.2-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The artifact jsch:jsch:jar:0.1.29 has been relocated to com.jcraft:jsch:jar:0.1.29
[INFO] 
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ openshift-express-plugin ---
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 5 source files to /tmp/forgetemp5116246473525718251/repo/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ openshift-express-plugin ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /tmp/forgetemp5116246473525718251/repo/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ openshift-express-plugin ---
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
[INFO] Compiling 1 source file to /tmp/forgetemp5116246473525718251/repo/target/test-classes
[INFO] 
[INFO] --- maven-surefire-plugin:2.7.2:test (default-test) @ openshift-express-plugin ---
[INFO] Surefire report directory: /tmp/forgetemp5116246473525718251/repo/target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.redhat.openshift.express.forge.TestUtil
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec

Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] --- maven-jar-plugin:2.3.1:jar (default-jar) @ openshift-express-plugin ---
[INFO] Building jar: /tmp/forgetemp5116246473525718251/repo/target/openshift-express-plugin.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.644s
[INFO] Finished at: Thu Jan 26 10:22:18 EST 2012
[INFO] Final Memory: 19M/169M
[INFO] ------------------------------------------------------------------------
***SUCCESS*** Build successful.
***INFO*** Installing plugin artifact.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
Warning:  The encoding 'UTF-8' is not supported by the Java runtime.
***SUCCESS*** Installed from [git://github.com/forge/plugin-openshift-express.git] successfully.
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/openshift-express-plugin.jar
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/module.xml
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/jboss-dmr-1.0.0.Final.jar
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/jsch-0.1.29.jar
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/openshift-java-client-1.0.1-SNAPSHOT.jar
Wrote /home/cbritz/.forge/plugins/com/redhat/openshift/express/openshift-express-plugin/dependencies/1.0.2-SNAPSHOT-9a79db4e-56c7-427f-8e9f-5ec68f43e263/module.xml
java.lang.NullPointerException
	at org.jboss.forge.shell.Bootstrap.loadPlugins(Bootstrap.java:174)
	at org.jboss.forge.shell.Bootstrap.access$100(Bootstrap.java:54)
	at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:88)
	at java.lang.Thread.run(Thread.java:662)





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the forge-issues mailing list