please read last line of question.
JviewHtml constructor contains following statement
$this->paths = isset($paths) ? $paths : $this->loadPaths();
i am setting the default path of myview using $path variable and passing it to constructor.
$paths = new SplPriorityQueue;
$paths->insert(JPATH_COMPONENT . '/views/' . $viewName . '/tmpl', 'normal');
in net beans debugger when i execute following statement of constructor $this->paths is not showing the value of $paths variable. although data type of both are splpriorityque
$this->paths = isset($paths) ? $paths : $this->loadPaths();
first statement of render is render()
$path = $this->getPath($this->getLayout());
$path is returend with false value.
my main page shows error "Layout Path Not Found". Any solutions to that problem
UPDATE: LAST LINE paths is splpriorityque $abc=$paths; $this->paths=clone $paths
after these two statement $abc is showing correct value but $this->paths has missing or loastdata.in netbeans debugger