Thanks Steve,
Appreciate you taking the time to respond.
I have searched my entire laptop for occurrences of *dltk* and the only
occurrence was in an old workspace and I had renamed that file. Prior to
renaming the file the last change date was back in 2018 so unlikely this
file was being used.
So for some reason that database is not on my system - ???
Unfortunately the main file that is not working is large containing many
functions used across the application, not sure how I am going to find the
cause.
Don't suppose there is any tool that I could use to try and identify the
line the StringIndexOutOfBoundsException is occurring on ?
Thank you
Don Brown
From: "Steve Ferrell via WDSCI-L" <wdsci-l@xxxxxxxxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Cc: "Steve Ferrell" <Steve.Ferrell@xxxxxxxxxxxxxxx>
Date: 25/04/2019 09:07 PM
Subject: Re: [WDSCI-L] Outline view not working for single php file
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Hi Don,
The error produced was while the php parser was trying to handle a new
line and threw a StringIndexOutOfBoundsException. It could be something as
simple as a missing semicolon. ; <--
Stack Overflow suggested that it could be a DLK defect and the only way to
clear it was to clear the generated Database or create a new workspace.
(Create a new workspace may be the fastest way).
The location of the .metadata/.plugins/ folder is where you found your log
file.
C:/Users/<you>/<your named
workspace>/.metadata/.plugins/org.eclipse.ui.workbench/log <-- this is
your log file
Look in the .plugins level for the DLK plugin.
If that doesn't work, look at the code difference between the ones that
work and ones that do not. Comment out some lines until you find the
offending code.
Mike is correct that it's not RDi Editors, parsers, or outline. The full
stack you sent didn't include any RDi plugin's.
Hope this helps.
Steve Ferrell
-----Original Message-----
From: WDSCI-L <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Don Brown
Sent: Wednesday, April 24, 2019 9:55 PM
To: Rational Developer for IBM i / Websphere Development Studio Client for
System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [WDSCI-L] Outline view not working for single php file
Thanks Mike,
I have tried all editors.
The confusing thing is that the outline works on some .php files and not
others.
Steve suggested
https://stackoverflow.com/questions/8504740/eclipse-outline-view-is-empty
But unfortunately this did not provide any solutions.
Thanks
Don Brown
From: "Mike Hockings" <hockings@xxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 25/04/2019 09:02 AM
Subject: Re: [WDSCI-L] Outline view not working for single php file
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
What editor are you using to open the php file with?
Unless it is an editor that is part of RDI itself it may be unlikely that
we can do much to change the outcome for you.
Mike
Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx voice 1-905-413-3199 T/L
313-3199 ITN 23133199
From: Don Brown <DBrown@xxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development
Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2019/04/22 20:48
Subject: Re: [WDSCI-L] Outline view not working for single
php file
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Thanks Jon,
I have PDT Version 4.3.0.201703131616
No Errors are evident in the PHP file
I have explicitly selected the PHP editor to open the file.
Trying more files I now find that some are showing the outline correctly,
some are showing procedures but not fields and some are showing fields and
not procedures and some are showing nothing at all.
I have checked the filters and nothing is applied.
Most weird
Don Brown
"WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx> wrote on 23/04/2019
10:01:56 AM:
From: "Jon Paris" <jon.paris@xxxxxxxxxxxxxx>
To: "Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries" <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 23/04/2019 10:01 AM
Subject: Re: [WDSCI-L] Outline view not working for single php file
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>
Is the php showing any signs that there are errors (i.e. the rd bars
on the RHS of the edit window? Most of the outline view issues I have
encountered have been due to this.
Another possibility lurking at the back of my mind relates to file
associations. In some cases the editor remembers an association for a
file. For instance (I think this is the scenario) if I had a file with
a txt extension and renamed it to php it would not switch to using php
syntax coloration, outline view etc. I think the way to check it is
to right click on the source and see which editor it picks as the
default from the list. IN my car one was selecting th text editor and
the other the php editor.
I'm assuming in all this that you have loaded PDT into RDi.
Jon Paris
www.partner400.com
www.SystemiDeveloper.com
On Apr 22, 2019, at 7:41 PM, Don Brown <DBrown@xxxxxxxxxx> wrote:
Rdi Version: 9.6.0.5
I have a php file open and the outline view is displayed correctly.
I open another php file and no outline view <grrr>
I close and open the member and explicitly select the php editor -
still
no outline <Grrrr>
I close Rdi and open with the -clean option and re-open the php file
and
still no outline >GRrrrrrrr>
I try Ctrl + Shift + F5 to refresh the out line - no change
<GRRRRrrrrrrr>
Any suggestions to what I might try next ?
Don Brown
____________________________________________________________________
__ This email has been scanned for computer viruses. Although MSD
has
taken reasonable precautions to ensure no viruses are present in this
email, MSD cannot accept responsibility for any loss or damage arising
from the use of this email or attachments.
____________________________________________________________________
__
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=vr7WKxlKxdU1IhnR9fM8gCK0AL5A7be4neOebrMMITU&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=ZMEmTrDylQt2haTGqyDvnksXClaRLeFM5SyR2tZQfU8&e=
.
Help support midrange.com by shopping at amazon.com with our
affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=8JARPRBJZB7x_g7i-xhb4S-Sd2zSJhXqgaV9ymmNqQU&e=
--
This is the Rational Developer for IBM i / Websphere Development
Studio Client for System i & iSeries (WDSCI-L) mailing list To post a
message email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe,
or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=vr7WKxlKxdU1IhnR9fM8gCK0AL5A7be4neOebrMMITU&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=ZMEmTrDylQt2haTGqyDvnksXClaRLeFM5SyR2tZQfU8&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=8JARPRBJZB7x_g7i-xhb4S-Sd2zSJhXqgaV9ymmNqQU&e=
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud
service.
______________________________________________________________________
______________________________________________________________________
This email has been scanned for computer viruses. Although MSD has taken
reasonable precautions to ensure no viruses are present in this email, MSD
cannot accept responsibility for any loss or damage arising from the use
of this email or attachments.
______________________________________________________________________
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list To post a message
email: WDSCI-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=vr7WKxlKxdU1IhnR9fM8gCK0AL5A7be4neOebrMMITU&e=
or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=ZMEmTrDylQt2haTGqyDvnksXClaRLeFM5SyR2tZQfU8&e=
.
Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=B5VhhypQn2wSWGy2Oo53WFLUdHhQjNzU9YnNm32oJcQ&s=8JARPRBJZB7x_g7i-xhb4S-Sd2zSJhXqgaV9ymmNqQU&e=
As an Amazon Associate we earn from qualifying purchases.