[ spindle-Bugs-1364865 ] Getting NullPointerException[JumpToJava]
"SourceForge.net" <[email protected]> Wed, 23 Nov 2005 12:47:52 -0800
| Newsgroups | gmane.comp.ide.eclipse.spindle.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1364865, was opened at 2005-11-23 12:41
Message generated for change (Comment added) made by glongman
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459328&aid=1364865&group_id=50321
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Spindle
Group: any
Status: Open
Resolution: None
Priority: 5
Submitted By: Lubos Pochman (lubosp)
Assigned to: Geoffrey Longman (glongman)
Summary: Getting NullPointerException[JumpToJava]
Initial Comment:
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>
----------------------------------------------------------------------
>Comment By: Geoffrey Longman (glongman)
Date: 2005-11-23 15:47
Message:
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).
----------------------------------------------------------------------
Comment By: Lubos Pochman (lubosp)
Date: 2005-11-23 15:17
Message:
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.
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-11-23 14:09
Message:
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
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-11-23 13:57
Message:
Logged In: YES
user_id=387057
sits right next to .project
----------------------------------------------------------------------
Comment By: Lubos Pochman (lubosp)
Date: 2005-11-23 13:33
Message:
Logged In: YES
user_id=188065
.page file path is /luntbuild/web/WEB-INF/Home.page.
Where is .tapestryplugin file?
----------------------------------------------------------------------
Comment By: Geoffrey Longman (glongman)
Date: 2005-11-23 13:15
Message:
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.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=459328&aid=1364865&group_id=50321
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click