docblox/docblox — Issue #343: Fatal error getAttribute() over non-object
Author: lgandras
Created: 2012-01-09 00:48:34+00:00
State: open

Hi sorry about the verbose thing. This is the error:

```Fatal error: Call to a member function getAttribute() on a non-object in /usr/local/lib/php/DocBlox/src/DocBlox/Plugin/Core/Transformer/Writer/Xsl.php on line 63```

If i execute it again, i get another error

```/usr/local/lib/php/DocBlox/src/DocBlox/Parser.php:132```

Here's the dump of get_defined_vars() at /usr/local/lib/php/DocBlox/src/DocBlox/Plugin/Core/Transformer/Writer/Xsl.php on line 63. Please let me know what else can i send to you.

```Array
(
[structure] => DOMDocument Object
(
)

[transformation] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/index.xsl
[artifact:protected] => index.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
(
[target:protected] => /tmp/docblox
[source:protected] => DOMDocument Object
(
)

[templates:protected] => Array
(
[new_black] => DocBlox_Transformer_Template Object
(
[name:protected] => new_black
[author:protected] => SimpleXMLElement Object
(
[0] => Mike van Riel
)

[version:protected] => SimpleXMLElement Object
(
[0] => 1.0.1
)

[copyright:protected] => SimpleXMLElement Object
(
[0] => Mike van Riel / Naenius 2011
)

[path:protected] => /usr/local/lib/php/DocBlox/data/templates/new_black
[transformations:protected] => Array
(
[0] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => ajax_search.php
[artifact:protected] => /tmp/docblox/ajax_search.php
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[1] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => ../data/js
[artifact:protected] => /tmp/docblox/js
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[2] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => ../data/syntax_highlighter
[artifact:protected] => /tmp/docblox/syntax_highlighter
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[3] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => ../data/images
[artifact:protected] => /tmp/docblox/images
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[4] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => templates/new_black/css
[artifact:protected] => /tmp/docblox/css
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[5] => DocBlox_Transformer_Transformation Object
(
[query:protected] => copy
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_FileIo Object
(
[transformation:protected] =>
[structure:protected] =>
)

[source:protected] => templates/new_black/images
[artifact:protected] => /tmp/docblox/images
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[6] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Search Object
(
)

[source:protected] =>
[artifact:protected] => .
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[7] => DocBlox_Transformer_Transformation Object
*RECURSION*
[8] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/content.xsl
[artifact:protected] => content.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[9] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/sidebar.xsl
[artifact:protected] => nav.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[10] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/graph_class.xsl
[artifact:protected] => graph.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[11] => DocBlox_Transformer_Transformation Object
(
[query:protected] => /project/file/@path
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/api-doc.xsl
[artifact:protected] => {$path}
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[12] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/report_markers.xsl
[artifact:protected] => report_markers.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[13] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/report_parse_markers.xsl
[artifact:protected] => report_parse_markers.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[14] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Xsl Object
(
[xsl_variables:protected] => Array
(
)

)

[source:protected] => templates/new_black/report_deprecated.xsl
[artifact:protected] => report_deprecated.html
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[15] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Sourcecode Object
(
)

[source:protected] =>
[artifact:protected] =>
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

[16] => DocBlox_Transformer_Transformation Object
(
[query:protected] =>
[writer:protected] => DocBlox_Plugin_Core_Transformer_Writer_Graph Object
(
[node_font:protected] => Courier
)

[source:protected] => Class
[artifact:protected] => classes.svg
[parameters:protected] => Array
(
)

[transformer:protected] => DocBlox_Transformer Object
*RECURSION*
)

)

)

)

[templates_path:protected] => /usr/local/lib/php/DocBlox/data/templates
[behaviours:protected] =>
[transformations:protected] => Array
(
)

[parsePrivate:protected] =>
[external_class_docs:protected] => Array
(
)

)

)

[artifact] => /tmp/docblox/index.html
[xsl] => DOMDocument Object
(
)

[proc] => XSLTProcessor Object
(
)

)
```