You are viewing a plain text version of this content. The canonical link for it is here.
Posted to graffito-dev@incubator.apache.org by Mikko Wuokko <Mi...@evtek.fi> on 2006/01/26 07:34:30 UTC

Exceptions in graffito tree

Hi.

I got now the graffito running (thanks to Cristophe), but now I'm 
getting these exceptions when trying to access graffito tree

496290 [http-8080-Processor24] INFO 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser] 
  -  Velocity  [error] VMProxyArg.getObject() : method invocation error 
getting value : org.apache.velocity.exception.MethodInvocationException: 
Invocation of method 'getPath' in  class 
org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception 
class java.lang.NullPointerException : null

500849 [http-8080-Processor24] ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp] 
  - Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0) 
Unable to load tag handler class 
"org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag 
"treecontrol:tree"
	at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
	at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
	at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
	at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
	at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
	at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
	at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
	at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)


Have no idea what could be the cause of these myself. Any help?

Thanks,

-Mikko

Re: Exceptions in graffito tree

Posted by Christophe Lombart <ch...@gmail.com>.
I cannot reproduce the problem here. Can you send me the complete
tomcat log ? You can send it  directly to my email address

On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> apparently my mail with screenshots didn't come through.. so heres the
> mail again
>
> I'm using the admin account and the Content Browser works fine so that I
> can add/remove documents and folders so it's not the account.
>
> The only stuff that I see on the Tree portlet page is text
>
> Portlet is Not Available: graffito-portlets::graffitoTree
> Reason: null
>
> The content of the Graffito Document Viewer is empty.
>
> Christophe Lombart wrote:
> > Can you refresh the tree portlet ?
> > Which user are you using ? Admin ?
> >
> >
> >
> > On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> >> It is the Graffito tree page and the Graffito Tree portlet.
> >>
> >> I can add content in the Graffito page with the Content Browser portlet
> >> but Graffito Tree portlet says only this
> >>
> >> Portlet is Not Available: graffito-portlets::graffitoTree
> >> Reason: null
> >>
> >> Possibly related to that first exception. The Viewer is empty (or
> >> collapsed or how would I say it) but gives either no exceptions.
> >>
> >> Mikko
> >>
> >> Christophe Lombart wrote:
> >>> Can you explain more the context ?
> >>> Is it the browser portlet or the tree/view portlets ?
> >>> Do you see the default page on the browser portlet ?
> >>>
> >>> Christophe
> >>>
> >>>
> >>>
> >>>
> >>> On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> >>>> Hi.
> >>>>
> >>>> I got now the graffito running (thanks to Cristophe), but now I'm
> >>>> getting these exceptions when trying to access graffito tree
> >>>>
> >>>> 496290 [http-8080-Processor24] INFO
> >>>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser]
> >>>>   -  Velocity  [error] VMProxyArg.getObject() : method invocation error
> >>>> getting value : org.apache.velocity.exception.MethodInvocationException:
> >>>> Invocation of method 'getPath' in  class
> >>>> org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception
> >>>> class java.lang.NullPointerException : null
> >>>>
> >>>> 500849 [http-8080-Processor24] ERROR
> >>>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp]
> >>>>   - Servlet.service() for servlet jsp threw exception
> >>>> org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0)
> >>>> Unable to load tag handler class
> >>>> "org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag
> >>>> "treecontrol:tree"
> >>>>         at
> >>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
> >>>>         at
> >>>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
> >>>>         at
> >>>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
> >>>>         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
> >>>>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
> >>>>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> >>>>         at
> >>>> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
> >>>>         at
> >>>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> >>>>         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> >>>>
> >>>>
> >>>> Have no idea what could be the cause of these myself. Any help?
> >>>>
> >>>> Thanks,
> >>>>
> >>>> -Mikko
> >>>>
> >>>
> >>> --
> >>> Best regards,
> >>>
> >>> Christophe
> >
> >
> > --
> > Best regards,
> >
> > Christophe
>


--
Best regards,

Christophe

Re: Exceptions in graffito tree

Posted by Mikko Wuokko <Mi...@evtek.fi>.
apparently my mail with screenshots didn't come through.. so heres the 
mail again

I'm using the admin account and the Content Browser works fine so that I 
can add/remove documents and folders so it's not the account.

The only stuff that I see on the Tree portlet page is text

Portlet is Not Available: graffito-portlets::graffitoTree
Reason: null

The content of the Graffito Document Viewer is empty.

Christophe Lombart wrote:
> Can you refresh the tree portlet ?
> Which user are you using ? Admin ?
> 
> 
> 
> On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
>> It is the Graffito tree page and the Graffito Tree portlet.
>>
>> I can add content in the Graffito page with the Content Browser portlet
>> but Graffito Tree portlet says only this
>>
>> Portlet is Not Available: graffito-portlets::graffitoTree
>> Reason: null
>>
>> Possibly related to that first exception. The Viewer is empty (or
>> collapsed or how would I say it) but gives either no exceptions.
>>
>> Mikko
>>
>> Christophe Lombart wrote:
>>> Can you explain more the context ?
>>> Is it the browser portlet or the tree/view portlets ?
>>> Do you see the default page on the browser portlet ?
>>>
>>> Christophe
>>>
>>>
>>>
>>>
>>> On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
>>>> Hi.
>>>>
>>>> I got now the graffito running (thanks to Cristophe), but now I'm
>>>> getting these exceptions when trying to access graffito tree
>>>>
>>>> 496290 [http-8080-Processor24] INFO
>>>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser]
>>>>   -  Velocity  [error] VMProxyArg.getObject() : method invocation error
>>>> getting value : org.apache.velocity.exception.MethodInvocationException:
>>>> Invocation of method 'getPath' in  class
>>>> org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception
>>>> class java.lang.NullPointerException : null
>>>>
>>>> 500849 [http-8080-Processor24] ERROR
>>>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp]
>>>>   - Servlet.service() for servlet jsp threw exception
>>>> org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0)
>>>> Unable to load tag handler class
>>>> "org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag
>>>> "treecontrol:tree"
>>>>         at
>>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
>>>>         at
>>>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
>>>>         at
>>>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
>>>>         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
>>>>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
>>>>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>>>>         at
>>>> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
>>>>         at
>>>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>>>>         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>>>>
>>>>
>>>> Have no idea what could be the cause of these myself. Any help?
>>>>
>>>> Thanks,
>>>>
>>>> -Mikko
>>>>
>>>
>>> --
>>> Best regards,
>>>
>>> Christophe
> 
> 
> --
> Best regards,
> 
> Christophe

Re: Exceptions in graffito tree

Posted by Christophe Lombart <ch...@gmail.com>.
Can you refresh the tree portlet ?
Which user are you using ? Admin ?



On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> It is the Graffito tree page and the Graffito Tree portlet.
>
> I can add content in the Graffito page with the Content Browser portlet
> but Graffito Tree portlet says only this
>
> Portlet is Not Available: graffito-portlets::graffitoTree
> Reason: null
>
> Possibly related to that first exception. The Viewer is empty (or
> collapsed or how would I say it) but gives either no exceptions.
>
> Mikko
>
> Christophe Lombart wrote:
> > Can you explain more the context ?
> > Is it the browser portlet or the tree/view portlets ?
> > Do you see the default page on the browser portlet ?
> >
> > Christophe
> >
> >
> >
> >
> > On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> >> Hi.
> >>
> >> I got now the graffito running (thanks to Cristophe), but now I'm
> >> getting these exceptions when trying to access graffito tree
> >>
> >> 496290 [http-8080-Processor24] INFO
> >> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser]
> >>   -  Velocity  [error] VMProxyArg.getObject() : method invocation error
> >> getting value : org.apache.velocity.exception.MethodInvocationException:
> >> Invocation of method 'getPath' in  class
> >> org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception
> >> class java.lang.NullPointerException : null
> >>
> >> 500849 [http-8080-Processor24] ERROR
> >> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp]
> >>   - Servlet.service() for servlet jsp threw exception
> >> org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0)
> >> Unable to load tag handler class
> >> "org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag
> >> "treecontrol:tree"
> >>         at
> >> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
> >>         at
> >> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
> >>         at
> >> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
> >>         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
> >>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
> >>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
> >>         at
> >> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
> >>         at
> >> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
> >>         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
> >>
> >>
> >> Have no idea what could be the cause of these myself. Any help?
> >>
> >> Thanks,
> >>
> >> -Mikko
> >>
> >
> >
> > --
> > Best regards,
> >
> > Christophe
>


--
Best regards,

Christophe

Re: Exceptions in graffito tree

Posted by Mikko Wuokko <Mi...@evtek.fi>.
It is the Graffito tree page and the Graffito Tree portlet.

I can add content in the Graffito page with the Content Browser portlet 
but Graffito Tree portlet says only this

Portlet is Not Available: graffito-portlets::graffitoTree
Reason: null

Possibly related to that first exception. The Viewer is empty (or 
collapsed or how would I say it) but gives either no exceptions.

Mikko

Christophe Lombart wrote:
> Can you explain more the context ?
> Is it the browser portlet or the tree/view portlets ?
> Do you see the default page on the browser portlet ?
> 
> Christophe
> 
> 
> 
> 
> On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
>> Hi.
>>
>> I got now the graffito running (thanks to Cristophe), but now I'm
>> getting these exceptions when trying to access graffito tree
>>
>> 496290 [http-8080-Processor24] INFO
>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser]
>>   -  Velocity  [error] VMProxyArg.getObject() : method invocation error
>> getting value : org.apache.velocity.exception.MethodInvocationException:
>> Invocation of method 'getPath' in  class
>> org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception
>> class java.lang.NullPointerException : null
>>
>> 500849 [http-8080-Processor24] ERROR
>> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp]
>>   - Servlet.service() for servlet jsp threw exception
>> org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0)
>> Unable to load tag handler class
>> "org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag
>> "treecontrol:tree"
>>         at
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
>>         at
>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
>>         at
>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
>>         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
>>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
>>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>>         at
>> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
>>         at
>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>>         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>>
>>
>> Have no idea what could be the cause of these myself. Any help?
>>
>> Thanks,
>>
>> -Mikko
>>
> 
> 
> --
> Best regards,
> 
> Christophe

Re: Exceptions in graffito tree

Posted by Christophe Lombart <ch...@gmail.com>.
Can you explain more the context ?
Is it the browser portlet or the tree/view portlets ?
Do you see the default page on the browser portlet ?

Christophe




On 1/26/06, Mikko Wuokko <Mi...@evtek.fi> wrote:
> Hi.
>
> I got now the graffito running (thanks to Cristophe), but now I'm
> getting these exceptions when trying to access graffito tree
>
> 496290 [http-8080-Processor24] INFO
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-browser]
>   -  Velocity  [error] VMProxyArg.getObject() : method invocation error
> getting value : org.apache.velocity.exception.MethodInvocationException:
> Invocation of method 'getPath' in  class
> org.apache.portals.graffito.portlets.browser.dto.PathDTO threw exception
> class java.lang.NullPointerException : null
>
> 500849 [http-8080-Processor24] ERROR
> org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/graffito-portlets].[jsp]
>   - Servlet.service() for servlet jsp threw exception
> org.apache.jasper.JasperException: /WEB-INF/view/content-tree.jsp(23,0)
> Unable to load tag handler class
> "org.apache.jetspeed.portlets.tags.PortletTreeControlTag" for tag
> "treecontrol:tree"
>         at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
>         at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:196)
>         at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1327)
>         at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
>         at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
>         at
> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
>         at
> org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
>         at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
>
>
> Have no idea what could be the cause of these myself. Any help?
>
> Thanks,
>
> -Mikko
>


--
Best regards,

Christophe