pivot4j
pivot4j copied to clipboard
problem to binding component
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
Is there any error messages on console or in log file when this happens? If so, please post the whole stacktrace here.
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
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.
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
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.