mysticfall / pivot4j

Pivot4J provides a common API for OLAP servers which can be used to build an analytical service frontend with pivot style GUI.
Other
128 stars 101 forks source link

problem to binding component #209

Open d4v1d88 opened 7 years ago

d4v1d88 commented 7 years ago

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}"

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 commented 7 years ago

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

d4v1d88 commented 7 years ago

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 commented 7 years ago

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 commented 7 years ago
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 commented 7 years ago

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.