Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2800

Re: Can not create boolean Calculated Column

$
0
0

Hi Thomas,

 

Same happening to me (SP10 system and studio).

 

Studio is dumping a null pointer exception stack trace when I try to do that:

 

java.lang.NullPointerException: while trying to invoke the method com.sap.ndb.studio.model.data.type.PrimitiveType.getName() of a null object returned from com.sap.ndb.studio.model.data.type.PrimitiveType.get(java.lang.String)

  at com.sap.ndb.studio.view.ui.nodes.actions.CreateCalculatedColumn$1.doExecute(CreateCalculatedColumn.java:107)

  at org.eclipse.emf.transaction.RecordingCommand.execute(RecordingCommand.java:135)

...

 

So this seems to be a HANA Studio bug. Could you please open an SAP incident for that (component HAN-STD-DEV)?

 

(Edit: Btw, I tried that from HANA Studio 2.1.11 - latest one available. )

 

Edit 2: My bad, for 2.1.11 you get the calculated column created but still the model gets inconsistent.

 

Invalid attribute value 'BOOLEAN' for attribute 'datatype'(scenario -> cubeSchema -> calculationScenario (modelingtests/CV_BOOLEANTEST) -> calculationViews -> projection (Projection_2) -> viewAttributes -> calculatedViewAttribute (ISBOOL) -> datatype (CLASSTYPEIP))

 

 

The following errors occurred: The scenario XML is not valid (2112)

Details (Errors):

- scenario -> cubeSchema -> calculationScenario (modelingtests/CV_BOOLEANTEST) -> calculationViews -> projection (Projection_2) -> viewAttributes -> calculatedViewAttribute (ISBOOL) -> datatype (CLASSTYPEIP): Invalid attribute value 'BOOLEAN' for attribute 'datatype'.

 


Thanks,

Lucas de Oliveira


Viewing all articles
Browse latest Browse all 2800

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>