Skip to content

Conversation

@JLLeitschuh
Copy link
Member

  • ARM Java does not support aop so we need to change what guice we are using
  • Deploying can throw null pointers because writing text to the text box was
    not in the UI thread.
  • Logging was setup after the guice injector was loaded meaning problems with
    injecting wouldn't be logged.
  • The GRIPCore module assumed that the main file would be registered on the
    event bus to log exceptions but it isn't until after the injector is created.
  • The thread that manages starting GRIP on a remote device does not actually
    post a startstopped event if the shell crashes

@codecov-io
Copy link

Current coverage is 50.07%

Merging #259 into master will increase coverage by +0.18% as of a8ca8af

@@            master    #259   diff @@
======================================
  Files          113     113       
  Stmts         3379    3379       
  Branches       358     359     +1
  Methods          0       0       
======================================
+ Hit           1686    1692     +6
- Partial        102     103     +1
+ Missed        1591    1584     -7

Review entire Coverage Diff as of a8ca8af


Uncovered Suggestions

  1. +0.68% via ...loyerController.java#99...121
  2. +0.65% via ...InstanceManager.java#174...195
  3. +0.44% via ...cketPreviewView.java#90...104
  4. See 7 more...

Powered by Codecov. Updated on successful CI builds.

@JLLeitschuh JLLeitschuh force-pushed the fix/deploymentProblems branch from d511aa9 to b4bb0f7 Compare January 4, 2016 22:01
@JLLeitschuh JLLeitschuh added this to the v1.0.0 milestone Jan 4, 2016
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this helps here, but Guice has built in bindings for Logger

https://github.com/google/guice/wiki/BuiltInBindings

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still have to set it up somewhere.
Also, adding a logger using dependency injection is more of a hassle than it's worth.

 - ARM Java does not support aop so we need to change what guice we are using
 - Deploying can throw null pointers because writing text to the text box was
not in the UI thread.
 - Logging was setup after the guice injector was loaded meaning problems with
injecting wouldn't be logged.
 - The GRIPCore module assumed that the main file would be registered on the
event bus to log exceptions but it isn't until after the injector is created.
 - The thread that manages starting GRIP on a remote device does not actually
post a startstopped event if the shell crashes
 - The logger was printing to System.err which jsch wasn't picking up on.
(Further investigation required)
@JLLeitschuh JLLeitschuh force-pushed the fix/deploymentProblems branch from 0b7e11f to 78483c7 Compare January 5, 2016 05:15
ThomasJClark added a commit that referenced this pull request Jan 5, 2016
@ThomasJClark ThomasJClark merged commit 56a5ba1 into WPIRoboticsProjects:master Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants