Pentaho CDE doesnt load with console error - pentaho

I've been having trouble getting CDE to load CDE filed in edit since a restart of the service earlier today. We have similar issues another environment but haven't ever been able to get to the bottom the the issue. When I edit a CDE file the page doesn't ever load properly and a error is displayed in the console, preview also doesn't work. I've tried restarting the service again, & clearing my cache. Opening CDA files still works fine and the app is up,I can also open the CDE files, just edit doesn't load properly.
Error is on Pentaho user console 8.1.0.0.365:
Uncaught TypeError: Cannot read property 'getPropertyObject' of undefined

Finally traced the issue to a .KTR file with an invalid name in our endpoints folder. Once deleted and the service restarted the issue is resolved and the editor loads as usual.
We managed to track this down via an error buried in the console:
enter image description here

Related

Running Apache ActiveMQ Artemis, unable to login to web console due to IOException

(Windows, JDK8, and ARTEMIS_HOME set.) I downloaded v2.5.0, created a broker, and ran it.
artemis.cmd create broker1, specify login info, cd broker1 and bin\artemis.cmd run
(Understood that instance suggested not to be under ARTEMIS_HOME dir.) The webconsole renders and I can access it via localhost:8161/console. But trying to login, I get a Server Error on the web page, and the CLI shows
[org.eclipse.jetty.server.HttpChannel] /console/auth/login/:java.lang.SecurityException: java.io.IOException: \login.config (No such file or directory)
The file broker1/etc/login.config does exist. I have tried running from various directories and explicitly stating the configuration.
cd broker1/bin, artemis.cmd run -- xml:artemis-ervice.xml
But same issue. Why can't this login.config be recognized?
I believe there's a bug in the artemis.profile.cmd. It's using this:
-Djava.security.auth.login.config=%ARTEMIS_ETC_INSTANCE%\login.config
But the %ARTEMIS_ETC_INSTANCE% variable is not defined. I believe it should be using %ARTEMIS_INSTANCE_ETC_URI% instead. Can you try this? If that fixes the issue then I'll open a JIRA and sent a PR to get it fixed permanently.

Pentaho does not run and in console it gives the error of ERR_INCOMPLETE_CHUNKED_ENCDODING?

When I run pentaho it loads some scripts and files but some of them fails with the error of:
ERR_INCOMPLETE_CHUNKED_ENCDODING
In console I see that $ is undefined for jQuery.
I didn't change anything. Once I reran the pentaho and it worked, but it does not work at all.
Is there something I could do about it? What this mean? I searched for CDF.js file and I saw that the file is present.
Any help?
The problem was that /var/ partition was full 100% and pentaho, nginx could not log at all. Nginx could cache results.
By freeing space the problem went away.

xCode 6.1| stdlib-tool failed with exit code

for some reason I can't seems to run any project on my device.
For the experiment, I've created a new empty blank project named it: emptyApp.
I've deleted any certificate I had in Apple Developer webSite and start from scratch.
I've created developer certificate and download it -> save it to keychain
New app ID for my emptyApp, double checked the bundle ID.
New provision Profile for my app and download it with my device enabled inside the certificate.
So i've got a new project, with all the right settings and i'm getting this error:
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Couldn't posix_spawn: error 1'
Command
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-stdlib-tool failed with exit code 6
Now I can Kill myself, but why i'm keep getting this error ?
I've did everything according to the book, and it's amazing I can't seems to run an empty project on my device (iPhone 6 plus).
any suggestion how to fix this error?
I had this problem after changing my apple id. Here is what i did.
Go to xcode -> select your project -> Build Phases -> open "Compile Sources" and "Copy Bundle Resources". Check if any files are listed in red color. If so , just delete it. Then clean and run.
You might have to restart (idk why but it worked for me).
Hope this helps.
In my case i changed my apple id and i had to redo the whole generating dev, sign in etc certificates. Its finally working on my device. It used to only work on the simulator
Code 6 means Code Sign error (system file).
the solution is to bring this file from backup or reinstall your current OSX.
Just restart your mac, that worked for me.

vb.net console application crashes

i have created a very simple console application in vb.net that emails me some info from the db daily. everythign works in my dev environment, however when i move it out to production and try to run the executable, i get the following error message:
"A problem caused the program to stop working correctly. please close the program"
i have put in some exception checks in the code:
Dim output As String
Try
output = FormatIndividualRecords(False)
'SaveToFile(output, "NIndividualRecords.doc")
''email files
'Emailusers()
Catch e As Exception
WriteLine(e.Message)
End Try
and i expected the error to show up on the application console, but it does not, is there another way for me to see what error is being thrown? there is no development environment set up in production (no visual studio, etc), is there maaybe a log that that i can look at? how do i catch the error that's causing the app to fail?
Thank you in advance!
EDIT: i chagned the WriteLine(e.Message) to console.write(e.message) now there appealrs to be a message on the console when i run the application, but it blinks too fast and closes, i don't have time to see what it is... how can i get the console application to remain open?
Try directing output of the app to a file, rather than to the console...
MyProgram.exe > log.txt

Log files are getting created when debbuging but while launching through the .app, log files are not created?

Scenario: Im elstablishing a connection with an http server using libcurl and downlading a files.(by writing the response from the server into the file).
When im debugging my code im able to find the file saved in the specified path, and im also creating some log files which im able to find while debugging.
But, Once im creating the Releaes build and launching the application by invoking the .app file created im not able to find the downloaded files and the log files.
I dont understand the problem..........
sounds strange but i dont know what i have missed?
Please if somebody came across such a situtation pleaes get back to me soon....
Thank You Pradeep.
This is the first time im working on MAC and was workin on windows till now..
While creating the log files im not giving the full application path...rather i was just giving the file name.....but once i gave the application path for creating the log files it was working for me..........
bad question....but might be helpfull to someone......