Closed GoogleCodeExporter closed 9 years ago
Also in this state:
- clicking on a person in the person list causes nothing to happen (no page
load)
- clicking on a category in the category browser causes this:
----
WicketMessage: Can't instantiate page using constructor public
uk.ac.osswatch.simal.wicket.doap.CategoryDetailPage(org.apache.wicket.PageParame
ters) and argument simalID = "per43"
Root cause:
java.lang.NullPointerException
at uk.ac.osswatch.simal.wicket.panel.CategorySummaryPanel.populatePage(CategorySummaryPanel.java:44)
at uk.ac.osswatch.simal.wicket.panel.CategorySummaryPanel.<init>(CategorySummaryPanel.java:40)
at uk.ac.osswatch.simal.wicket.doap.CategoryDetailPage.populatePage(CategoryDetailPage.java:72)
at uk.ac.osswatch.simal.wicket.doap.CategoryDetailPage.<init>(CategoryDetailPage.java:56)
at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
...
Original comment by Stevage
on 7 Feb 2011 at 2:49
Server-side, these messages are in the log:
----
DEBUG uk.ac.osswatch.simal.service.jena.JenaProjectService - Attempting to get
a project with the id 2d8bde70-bd48-41a7-aba1-7fcc52807da0-prj10
DEBUG uk.ac.osswatch.simal.service.jena.JenaProjectService - Get project with
SPARQL:
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>PREFIX simal:
<http://oss-watch.ac.uk/ns/0.2/simal#>SELECT DISTINCT ?project WHERE { ?project
simal:projectId "2d8bde70-bd48-41a7-aba1-7fcc52807da0-prj10" }
DEBUG uk.ac.osswatch.simal.service.jena.JenaProjectService - No project with
that ID found
ERROR uk.ac.osswatch.simal.wicket.ErrorReportPage - Reporting an error to the
user
----
So to confirm, refreshing the front page continues to show a list of projects,
but clicking on any of those projects gives this error.
Original comment by Stevage
on 7 Feb 2011 at 5:39
Accessing person records was ok. Deleting all data and then re-importing test
data made the problem go away.
Original comment by Stevage
on 7 Feb 2011 at 5:44
Thanks for the detailed info on this issue.
I've marked this as "invalid" as I've been unable to reproduce and the problem
has resolved itself for you. Admittedly, the method of resolution is hardly
optimal (understatement), so if the problem reoccurs please reopen this issue
and, importantly, don't destory the corrupt database. We will need it to debug.
Original comment by ross.gardler
on 9 Feb 2011 at 9:17
Ok, looks like I just ran into this again (and a new variation, where every
field's value is listed as "New", with a link to something like
http://localhost:8080/?wicket:interface=:72:editProjectPanel:editProjectForm:iss
ueTrackerList:addDocumentPanel:newLink::ILinkListener::
I should have asked earlier: how do I make a copy of the database? What files
is it?
Original comment by Stevage
on 21 Feb 2011 at 7:12
I' m sorry this is not the same issue, please open a new issue and describe he
new problem you are seeing.
This original report was about nothing happening when a browser link is
clicked. In your new report you state that "every field's value is listed as
"New"" implying that you are able to get to a projuect detail page.
Furthermore, we don't list fields as "new", there is no such feature. Are you
logged in? In which case you will be seeing the create "new" link for each
field - is that what you are seeing?
Original comment by ross.gardler
on 21 Feb 2011 at 1:04
Original issue reported on code.google.com by
Stevage
on 7 Feb 2011 at 2:48