JDEdwards EnterpriseOne 9.2 Debugging jdeObjectCall - jde

I have a UBE that is failing after making a call to a jdeObjectCall. The API returns a 1, indicating a warning, which indicates to the report to stop processing.
The image below shows the jdeObjectCall in question that is returning a 1.
I'd like to determine why jdeObjectCall is returning a warning, so that I can investigate a fix.
Any help on this is greatly appreciated!
Cheers, Cam.

I was able to determine the answer to this question with some help from the forum jdelist.com. The topic in which I discovered my answer can be found here: https://www.jdelist.com/vb4/showthread.php/53758-E1920-Debugging-jdeObjectCall
The way I found my solution is as follows. Apologies for the high-level steps. There is some assumed knowledge here. If you are interested in a more in-depth explanation of one of these items please comment and I will provide it.
Enable logging in the jde.ini file.
Debug the locally.
Examine the output of the log file using a tool like JDETrace.
You can do a search for your business function within JDETrace. In my case, I searched for EditDate.
The line in the log will let you know the name of the busines function object.
Checkout the object in object management workbench.
Find the line where the EditDate function exists.
Place a breakpoint on this line and continue debugging.

Related

Gamelift Matchmaking times out after match found

Hoping to get some insight into the behavior I am seeing while trying to use GameLift Matchmaking.
I have my configuration setup as such that it does not require player acceptance, as such:
GameLiftMatchmakingConfiguration:
Type: AWS::GameLift::MatchmakingConfiguration
Properties:
AcceptanceRequired: false
...
When I go to the GameLift console and into the configuration I see that it was correctly set as well that it does not require acceptance.
This is where I am confused, because now I have it working where it places 2 users in PotentialMatchCreated and I get this event from GameLift. Then 30 seconds later, I get more events stating that these placements timed out and searching again.
The configuration documentation states that AcceptanceTimeoutSeconds is only required if AcceptanceRequired is true, which it is not for me.
the acceptance documentation states that you only call this When FlexMatch builds a match, all the matchmaking tickets involved in the proposed match are placed into status REQUIRES_ACCEPTANCE
Which its not, its in PotentialMatchCreated.
So my question is, what do I have to do to confirm a placement once GameLift places 2 users into a match? I am a bit surprised because I thought that the fact that it doesn't have to be accepted would mean that its automatically accepted match.
Also theres very little documentation I found regarding what to do in this situation, given the nature of this service not being as known as others I totally expected that but really hoping someone can help me on what to do next.
Any insight or help is greatly appreciated.
UPDATE1:
Additional information: I do not need to utilize GameLift fleets or builds at all. We have a browser game we are building and just want to utilize the matchmaking feature. So we dont have any game servers or anything like that, its just on our website where they would play the game and use our api's/websockets that puts the matchmaking on the server and notify the client when a match has been found with all the subsequent details.
UPDATE2:
To confirm my suspicions I decided to actually try to use the accept match endpoint and see what happens. Just as the documentation states, you can only accept a match if it requires acceptance. I get an error stating that I cannot accept a match that is not in REQUIRE_ACCEPTANCE state. Guessing this is a bug on AWS's side, I don't see any other endpoints that I can hit for being in state PotentialMatchCreated.
Figured out the issue. It has to do with the FlexModeMatch on the GameLiftMatchmakingConfiguration. For my use case, just needing matchmaking, STANDALONE is the correct implementation because we aren't having GameLift actually create game servers/sessions for us. I had mine using WITH_QUEUE which is why I believe I was having issues. Seemingly working correctly now.

Firebase loud functions considering warnings as errors

Whenever I try to deploy my firebase cloud functions, it considers poor formatting as a real error and doesn't let me proceed. For example:
error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
Could someone tell me how to prevent this and let me deploy my code regardless of its formatting? Thanks
As I saw you mention in the comments, there is a previous iteration of this issue.
You can see there that you have to configure your linebreak-style in your .eslintrc or in your source code. You can also follow the approach of the second answer and ignore the linebreak-rules to avoid this warnings/errors from happening.
For further information, refer to the documentation.

How to see where in my code a function gets called in RStudio?

I'm currenty cleaning up my first big R project and at a point, where I have a lot of functions implemented but I am not sure, which function got called and used by me in an other script and which function got never used. So now I want to get all calls of this function in my project. Is this possible?
I'm using RStudio and a lot of other IDEs I've used got a feature like this, so I was wondering if this is also implemented in RStudio.
I searched the web and stack overflow, but got no answer, so I assume that this is not possible but I wanted to ask, just in case it IS possible but I didn't found the right answer.
Thank you!

How to properly debug OCaml code?

Can I know how an experienced OCaml developer debugs his code?
What I am doing is just using Printf.printf. It is too troublesome as I have to comment them all out when I need a clean output.
How should I better control this debugging process? special annotation to switch those logging on or off?
thanks
You can use bolt for this purpose. It's a syntax extension.
Btw. Ocaml has a real debugger.
There is a feature of the OCaml debugger that you may not be aware of which is not commonly found with stateful programming and is called time travel. See section 16.4.4. Basically since all of the information from step to step is kept on the stack, by keeping the changes associated with each step saved during processing, one can move through the changes in time to see the values during that step. Think of it as running the program once logging all of the values at each step into a data store then indexing into that data store based on a step number to see the values at that step.
You can also use ocp-ppx-debug which will add a printf with the good location instead of adding them manually.
https://github.com/OCamlPro-Couderc/ocp-ppx-debug

How to request additional data with WER?

I'm new to WER (actually, just registered a few days ago).
I've managed to establish an account and map my test application to it.
However, when I invoke an unhandled exception, I see that no additional files are collected (there is proper report in Solutions center with BucketID <> 8, it is not arrived yet to winqual, but at least it was sent).
I expect that files like Version.txt, AppCompat.txt and minidump.mdmp will be collected. I also tried to add file by using WerRegisterFile function. No errors, but no files are sent either.
I've read this thread - it says that additional data is only collected, if server asks for it. So, my question is (may be it sounds stupid, but...): how can I request additional data? I've scanned everything in my profile, but the only useful options are related to product/file mappings.
I feel that this should be obvious (it's not discussed in help), but... I'm stuck :( A screenshot indicating where to look would be nice :)
It's strange that nobody have answered on that question, as the answer was a very simple :)
You can not collect any data for new errors. Error report should arrive on WinQual first. Then you can view a report (there is short info only) and ask server to collect files, dumps, additional info. Only then additional data will be collected.

Resources