Menu

#302 Getting NullPointerException[JumpToJava]

any
open
Spindle (154)
5
2005-11-23
2005-11-23
No

With Eclipse 3.1.1 I am getting error:

!ENTRY com.iw.plugins.spindle.ui 4 4 2005-11-23
10:26:17.593
!MESSAGE bug [ 1200049 ] NullPointerException
[JumpToJava]

when clicking on Outline Spindle icon (toggle view).
Spindle version is 3.2.4.

The .page file is simple:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE page-specification
PUBLIC "-//Apache Software Foundation//Tapestry
Specification 3.0//EN"
"http://jakarta.apache.org/tapestry/dtd/Tapestry
_3_0.dtd">

<page-specification
class="com.luntsys.luntbuild.web.Home">
<description>luntbuild home page</description>
</page-specification>

Discussion

  • Geoffrey Longman

    Logged In: YES
    user_id=387057

    What is the workspace path (incl project) of the .page file?
    and can you attach the .project and .tapestrypluign files to
    this bug?

    thx.

     
  • Lubos Pochman

    Lubos Pochman - 2005-11-23

    .project

     
  • Lubos Pochman

    Lubos Pochman - 2005-11-23

    Logged In: YES
    user_id=188065

    .page file path is /luntbuild/web/WEB-INF/Home.page.
    Where is .tapestryplugin file?

     
  • Geoffrey Longman

    Logged In: YES
    user_id=387057

    sits right next to .project

     
  • Geoffrey Longman

    Logged In: YES
    user_id=387057

    The project is not a Tapestry project. The message is shown
    when JumpToJava is unable to obtain the object that
    represents a Tapestry project.

    How did you create this project? Using the New Tapestry
    Project wizard. (There will be no .tapestryplugin file as
    that is created when a java project becomes a Tapestry project).

    Quick fix:

    select the project in the package explorer, right click,
    choose Properties->Tapestry. check "is a Tapestry project"
    and ensure that the right context folder appears in the next
    box. Uncheck the validate box if you are using the Servlet
    2.4 schema in web.xml

     
  • Lubos Pochman

    Lubos Pochman - 2005-11-23

    Logged In: YES
    user_id=188065

    Geoffrey sorry about it. Do I feel stupid. I should have
    mentioned, that it was existing project, and for some
    unknown 8-) reason I did not mark it as Tapestry project
    (even if I use Tapestry and Spindle for a while, shame on
    me).

    In any case it works now after marking it as Tapestry
    project. Thanks to your help.

     
  • Geoffrey Longman

    Logged In: YES
    user_id=387057

    no worries. I'm going to leave this open as a reminder to
    self to make the presentation of the problem more user
    friendly. May not appearin the current incarnation of
    Spindle but will definitely appear in the new one (Tap4 -
    someday, I hope soon).

     

Log in to post a comment.

MongoDB Logo MongoDB