NetLogo / NetLogo/NW-Extension

Class not found in dispose

Open
#194 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
66
Forks
25
PR merge metrics
No merged PRs in 30d

Description

Dear NW devs,

sometimes, when working with NW from a headless netlogo, the dispose method of the NW extension throws an error. The error described here: https://github.com/NetLogo/NetLogo/issues/1766

I think it is caused by the the gephi classes not being loaded yet while gephi jar has been removed from the class loader already (by the extension manager). Making sure that the Gephi classes are loaded fixes this issue.

A PR fixing this issue is on its way.

Cheers,
Romain

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the dispose failure in a headless NetLogo environment and inspect how the extension manager removes the Gephi jar before disposal. Verify the suspected Gephi class-loading sequence; done means dispose no longer throws the reported class-not-found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.