-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation Errors #1
Comments
Hi Abhinandan, There are two main reasons of error, first, mapping of CloudSim external jar file and second, lombok jar file. Just now I added the description about how to resolve these in the Readme file. Please try that and let me know if it does not work. |
I did include both the files and added them to their respective paths.
PFA Screenshots,
…On Wed, Feb 26, 2020 at 3:47 AM DNJha ***@***.***> wrote:
Hi Abhinandan,
There are two main reasons of error, first, mapping of CloudSim external
jar file and second, lombok jar file. Just now I added the description
about how to resolve these in the Readme file. Please try that and let me
know if it does not work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AKZFP4227RJYQLURXUK3HWLREWKHRA5CNFSM4K3PPE32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM5XLFA#issuecomment-591099284>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZFP46N6E6APBZZTBCZ3ZDREWKHRANCNFSM4K3PPE3Q>
.
|
I couldn't find any attachment. Please send me the screenshot. Also try to run an example and see if it is running, if not, please also send me that screenshot as well. |
Please check the Screenshots.
…On Wed, Feb 26, 2020 at 10:52 PM DNJha ***@***.***> wrote:
I couldn't find any attachment. Please send me the screenshot.
Also try to run an example and see if it is running, if not, please also
send me that screenshot as well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AKZFP474VZQ76EEROZBTLFLRE2QN3A5CNFSM4K3PPE32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBDY3A#issuecomment-591543404>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZFP4ZG2OR56PM6AWB7HJDRE2QN3ANCNFSM4K3PPE3Q>
.
|
PFA
|
I couldn't find any attachment. However based on your first message, I figured out that the main file cannot find the location of the configuration file leading to the NullPointerException. Please try to set up the path for configuration file. |
I sent a separate mail with the screenshots, please check if you can see
them there.
Also can you please elaborate on how and where do I need to setup the
configuration file.
…On Thu, Feb 27, 2020 at 1:05 AM DNJha ***@***.***> wrote:
I couldn't find any attachment. However based on your first message, I
figured out that the main file cannot find the location of the
configuration file leading to the NullPointerException. Please try to set
up the path for configuration file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AKZFP4ZD5RIN4TMTOAVFPLLRE3ABPA5CNFSM4K3PPE32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBSXRY#issuecomment-591604679>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZFP44S6JQWCYSYGCVJZ53RE3ABPANCNFSM4K3PPE3Q>
.
|
https://drive.google.com/open?id=1sMEKwAggFqtvURx7Bfhm3IEaVsv_nRDD
I've uploaded the screenshots on my drive, here's the link to the folder
please let me know if you are able to access them.
On Thu, Feb 27, 2020 at 1:28 AM Abhinandan Singla <
abhinandansingla18@gmail.com> wrote:
… I sent a separate mail with the screenshots, please check if you can see
them there.
Also can you please elaborate on how and where do I need to setup the
configuration file.
On Thu, Feb 27, 2020 at 1:05 AM DNJha ***@***.***> wrote:
> I couldn't find any attachment. However based on your first message, I
> figured out that the main file cannot find the location of the
> configuration file leading to the NullPointerException. Please try to set
> up the path for configuration file.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#1?email_source=notifications&email_token=AKZFP4ZD5RIN4TMTOAVFPLLRE3ABPA5CNFSM4K3PPE32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBSXRY#issuecomment-591604679>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKZFP44S6JQWCYSYGCVJZ53RE3ABPANCNFSM4K3PPE3Q>
> .
>
|
I can access them now. Can you also send me the screenshot of library and the package explorer with all the packages as I am sure now that the problem is because of configuration file mapping. Configuration file (configuration.json) is located in src/main/resources which can be mapped directly to the example class but for your case, it is not mapped i.e. the main file cannot find the configuration.json. |
I uploaded the SS with the libraries and the package explorer.
…On Thu, Feb 27, 2020 at 1:42 AM DNJha ***@***.***> wrote:
I can access them now. Can you also send me the screenshot of library and
the package explorer with all the packages as I am sure now that the
problem is because of configuration file mapping.
Configuration file (configuration.json) is located in src/main/resources
which can be mapped directly to the example class but for your case, it is
not mapped i.e. the main file cannot find the configuration.json.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1?email_source=notifications&email_token=AKZFP43P4TIUQVK2VW7CSADRE3EJPA5CNFSM4K3PPE32YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENBWRJQ#issuecomment-591620262>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKZFP4ZSXMFXTG7QHSWB7M3RE3EJPANCNFSM4K3PPE3Q>
.
|
Since IoTSim-Edge is compiling successfully for you so I am closing this issue. |
Getting compilation errors, a few of the modules are not getting imported so I manually downloaded them and added the path to the project on Eclipse. Still encountering errors such as
Exception in thread "main" java.lang.NullPointerException
at java.base/java.io.Reader.(Reader.java:167)
at java.base/java.io.InputStreamReader.(InputStreamReader.java:72)
at org.edge.examples.Example3.init(Example3.java:261)
at org.edge.examples.Example3.main(Example3.java:695)
The text was updated successfully, but these errors were encountered: