You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by co...@jakarta.apache.org on 2004/08/31 11:05:20 UTC

[jira] Closed: (JELLY-51) can't get jellyswing example to work

Message:

   The following issue has been closed.

   Resolver: dion gillard
       Date: Tue, 31 Aug 2004 2:04 AM

Fixed docs
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JELLY-51

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JELLY-51
    Summary: can't get jellyswing example to work
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: jelly
 Components: 
             taglib.swing
   Fix Fors:
             1.0-beta-4

   Assignee: 
   Reporter: Ralf Hauser

    Created: Thu, 15 May 2003 3:03 AM
    Updated: Tue, 31 Aug 2004 2:04 AM
Environment: downloaded commons-jelly-1.0-beta-3, maven-1.0-beta-9, using win2k and j2sdk1.4.1_02

Description:
Downloaded example.jelly as described in http://jakarta.apache.org/commons/sandbox/jelly/jellyswing.html.
Installed maven such that when I type "maven -h" everything looks fine.
Typed "maven demo:swing" and got
<< __  __
|  \/  |__ Jakarta _ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-beta-9-SNAPSHOT


java.lang.NullPointerException
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
376)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:357)
        at org.apache.maven.cli.App.doMain(App.java:524)
        at org.apache.maven.cli.App.main(App.java:1080)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:543)
        at com.werken.forehead.Forehead.main(Forehead.java:573)
Total time:  3 seconds>>

Somehow this doesn't surprise me:
how shall maven learn about example.jelly (albeit it is in the current working directory from which I started maven...) - there is no "-f" option or alike where I had to tell maven where to look for it...

Any hints would be highly appreciated - many thanks in advance!

      Ralf

P.S.: I am getting a similar error when just calling "maven" on its own - perhaps there is another cause for the problem (http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-427)?


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org