MaximoAnwhere-7.6 Android Apps Development - maximo-anywhere

We are developing MaximoAnwhere-7.6 android application using maximoAnwhere server source code but while trying to login to android environment can't able to login and there is no error. So i remove the server code android environment and i tried to recreate it and its login successfully. Now i want to know the below the issues,
how to re-generate apps features plugin eg: map,barcode scanner ...etc
while accesing workorder detail view from workorder list view, there is no response and keep on loading only. While checking the logs for android LOGCAT i am getting following error,
Uncaught TypeError: win.doc.getCSSCanvasContext is not a function
note : i am getting the above error some of few screens.
Thanks

The error "Uncaught TypeError: win.doc.getCSSCanvasContext is not a function" has been addressed in a fix from IBM. You can find another article on stackoverflow related to the same thing. They can provide a fix to work around this. That will alleviate the never-ending loading screen.

Related

mesibo.js not setting up database stores correctly

we're implementing Mesibo in our web application and one of the developers in our team encountered a problem with running app successfully in his browser (up-to-date Chrome running on MacOS).
He gets this error in logs:
Uncaught (in promise) DOMException: Failed to execute 'transaction' on
'IDBDatabase': One of the specified object stores was not found.
mesibo.js:83
When I checked his indexedDB in the browser I saw that "messages" and "contacts" stores were not set up (and they should be upon sdk initialization). Deleting "mesibo" database and running app again resulted in the same error. However, when running in incognito mode everything was fine and stores were correctly set up.
We are currently in the testing stage but I'd like to be sure that this problem will not show up to our users in production so I wonder if anyone here encountered such a problem and what could be a cause?

Getting Strange message when creating a browser instance

I am using JxBrowser (6.23.1) on windows 10 and using the 64-bit library. however, when i startup the demo application I get the following Log message.
SEVERE: [0528/084716.632:ERROR:browser_process_stub.cpp(279)] NOT IMPLEMENTED
Can anyone shed light on this and whether this is an issue?
I have tried to find anything in relation to above error code, but did not find anything.
The browser_process_stub.cpp(279)] NOT IMPLEMENTED message means that Chromium engine tries to get access to the specific code of JxBrowser which is not implemented at the moment due to the fact that this functionality is not supported by JxBrowser at the moment. This method does not affect the existing JxBrowser functionality, so you can safely ignore this error message.

Redux Dev Tool in Chrome throwing odd error

When debugging my Redux store (running React) I keep getting this message
apologies:"Serializing our large state kept crashing redux devtools. I hope to bring it back someday, but for now you can see the state by using TS.redux.getState() in the console"
Has any one else seen this ?
And at the risk of being stupid I then run TS.redux.getState() in the console and get
VM1468:1 Uncaught ReferenceError: TS is not defined
at :1:1
Any ideas why this is happening, besides what is said in the message.
As far as I'm aware I'm running to latest Chrome Add on v2.15.1
I believe you're looking at the Slack app store and not your own Redux store.
If you are using Redux Dev Tools you can select which instance you are pointing to with the top right dropdown:

Can I build a debug version of an Adobe AIR application?

I'm trying to debug an issue on a clients machine. The problem is that the problem is a runtime error with very little clue as to where it is. It is an intermittent problem. I know ADL allows me to run the application in a debug mode. The problem is that to tell the user to download and manage the ADL invokation is going to be very difficult. It would be a lot easier if I could just give the end user one install/executable to install and run and then send me the trace of the issue. So what I'm looking for is easy steps for the client to be able to run the AIR app in debug mode. Downloading ADL and finding the install location of the app is going to be difficult to manage remotely with the end user.
Update:
You have to make sure you are working with AIR 3.5 and Flash 11.5 and also include the following flag "-swf-version=18" in additional compiler settings. You then have to catch the global error as mentioned in the answer and it will show you the location of the error. No line numbers of course. Just routine names. Thanks a milion to Lee for the awsome answer.
not a direct answer but if you publish for AIR3.5 (or 3.6 beta), you can get some debug info:
add a listener for uncaught RTEs to top level of your app:
this.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, globalErrorHandler);
and grab debug info from error in listener:
function globalErrorHandler(event:UncaughtErrorEvent):void
{
var message:String;
//check for runtime error
if (event.error is Error)
message = (event.error as Error).getStackTrace();
//handle other errors
else if (event.error is ErrorEvent)
message = (event.error as ErrorEvent).text;
else
message = event.error.toString();
//do something with message (eg display it in textfield)
myTextfield.text = message;
}
getStackTrace will return a stack trace even for release AIR apps (as long as you use AIR3.5 or above).
Without the SDK Tools; I don't think it is possible to run an aIR app in debug mode. But, here are a few alternatives to consider:
The client must have some idea what is going on to cause the error, right? Can you give them a special build with Alert Boxes or logging or something to help isolate the error to a line of code?
Can you listen for the uncaughtException event? The event will give you the full stack trace ( Error.getStackTrace() ); which you could then log--possibly with other information. Then you just have to tell your client to "Go here" and "send me this file." Or even display the info in some Alert and have the user copy and paste it into an email to you. More info on uncaughtException here and here
check my post. Maybe it helps you to get stack trace with line numbers in a AIR release build.
How can I get stacktrace for Adobe AIR global runtime errors in non-debug mode?
I use it in 2 big projects right now and it works very well.
Greetings

Visual Studio 2010 giving error "External Component has thrown an exception"

I am running Visual Studio Ultimate on Windows 7. Here is the description of my problem:
My VS 2010 had been running absolutely fine until today when it started giving error "External Component has thrown an exception" when I try to open a new website. Creating a new web application works fine though but I am unable to run any of them.
While trying to run the previously created websites/webapps, its giving error as "Unable to launch ASP.NET development server".
And when I try to debug the website/web app, I am getting error: "Unable to launch ASP.NET development server. An attempt was made to perform an initialization operation when initialization has already been completed".
Similar errors are coming when I try to open Windows Form Applications and other projects.
No errors are getting logged on event viewer and I cannot see any other error information apart from what is mentioned above.
I searched all over internet but no help. I have already trying un-installing VS2010 using the script at this link (provided by MS). But when I re-install VS2010, it still shows me same error. To my surprise, after re-installing VS still shows the previous project list in "Recent Projects". I really doubt if VS is getting uninstalled.
I am totally clueless and any help would be highly appreciated. I am left with no other option but to format my OS if I don't find a solution here :( Please do let me know if any other details are required...
It might be caused by an adding or extension that you've installed, maybe without being aware of.
there are several ways to deal with that - one is to get inside add in manager and remove/ deactivate them.
if VS can't load there is a flag that should do the trick.
check this link for instructions on devenv flags.
you can use: /ResetAddin or /SafeMode

Resources