Skip to content
This repository has been archived by the owner on Jul 24, 2019. It is now read-only.

problem to binding component #209

Open
d4v1d88 opened this issue May 15, 2017 · 5 comments
Open

problem to binding component #209

d4v1d88 opened this issue May 15, 2017 · 5 comments

Comments

@d4v1d88
Copy link

d4v1d88 commented May 15, 2017

When i drag the measures or dimension on column or row on my view disappears all on codemirror and on layout that contain the cude hierarchy. That depends by binding="#{viewHandler.component}"
<h:form id="grid-form" >
<h:panelGroup id="pivot-grid" binding="#{viewHandler.component}"
layout="block"
/>
</h:form>
the component return null.
If i remove the binding that work but clearly it doesn't show the table.
That problem there is not if run the query in codemirror but if i click on drill button happens the same problem.

Thank you

@mysticfall
Copy link
Owner

Is there any error messages on console or in log file when this happens? If so, please post the whole stacktrace here.

@d4v1d88
Copy link
Author

d4v1d88 commented May 15, 2017

this the drill problem
mag 15, 2017 6:30:12 PM com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback visit
GRAVE: javax.el.ELException: /index.xhtml @177,54 disabled="#{!viewHandler.valid or !pivotStateManager.model.cube.drillThroughEnabled}": Error reading 'cube' on type org.pivot4j.impl.PivotModelImpl

If after the query remove a member through the drag
/index.xhtml @330,39 listener="#{navigatorHandler.onDrop}": java.lang.NullPointerException
javax.el.ELException: /index.xhtml @330,39 listener="#{navigatorHandler.onDrop}": java.lang.NullPointerException

if you drag an element without making a query
there isen't log but don't call function ondrag exploit before and both axis have value 0
so the table doesn't appear

Thank you again

@mysticfall
Copy link
Owner

Thanks for the information. However, the most important part of the message should follow 'java.lang.NullPointerException'. Please check your log file again, and see if you can find an actual stacktrace of the exception and paste it in your post.

@d4v1d88
Copy link
Author

d4v1d88 commented May 15, 2017

mag 15, 2017 7:26:14 PM com.sun.faces.lifecycle.InvokeApplicationPhase execute
AVVERTENZA: /index.xhtml @330,39 listener="#{navigatorHandler.onDrop}": java.lang.NullPointerException
javax.el.ELException: /index.xhtml @330,39 listener="#{navigatorHandler.onDrop}": 
Caused by: java.lang.NullPointerException
	at analytics.ui.NavigatorHandler.findNodeFromPath(NavigatorHandler.java:723)
	at analytics.ui.NavigatorHandler.onDrop(NavigatorHandler.java:333)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.el.parser.AstValue.invoke(AstValue.java:247)
	at org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:267)
	at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
	... 32 more

@mysticfall
Copy link
Owner

mysticfall commented May 15, 2017

Sorry, but the package name and line numbers shown in the trace don't seem to match any version of the class.

Have you by any chance changed NavigatorHandler.java file? If so, does it also happen with the unchanged version as well? And in that case, it'd be helpful if you can let me know what is at 723 line of the changed source.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants