Skip to main content

alphaWorks  >  Forums  >  Hyperj  >  developerWorks

HELP, I NEED SOME HELP    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 0 - Pages: 1 Threads: [ Previous | Next ]
Nadia
HELP, I NEED SOME HELP
Posted: Aug 16, 2004 05:57:22 PM
Click to report abuse...   Click to reply to this thread Reply
Please could you help me in running the example of the tutorial of IBM. I did all what they are saying to execute the example of ObjectDimension.
Here is my class path:

classpath=.;JAVA_HOME\lib\tools.jar;JAVA_HOME\jre\rt.jar;JAVA_HOME\jre\jaws.jar;
JAVA_HOME\jre\i18n.jar ;c:\aspectj1.2\lib\aspectjrt.jar;C:\HyperJ\bin\hyperj.jar

I execute:
C:\HyperJ\demo>java com.ibm.hyperj.hyperj -hyperspace c:\hyperJ\demo\ObjectDimen
sion.hs -concerns c:\HyperJ\demo\ObjectDimension\concerns.cm -hypermodules c:\Hy
perJ\demo\CheckDisplay.hm -verbose
Parsing hyperspace file c:\hyperJ\demo\ObjectDimension.hs...
Parsing concern mappings...
Warning: No operations named check found; ignoring concern mapping
Warning: No operations named display found; ignoring concern mapping
Warning: No operations named eval found; ignoring concern mapping
Warning: No operations named check_process found; ignoring concern mapping
Warning: No operations named display_process found; ignoring concern mapping
Warning: No operations named eval_process found; ignoring concern mapping
Warning: No operations named process found; ignoring concern mapping
Unparsing input classes label to file InputClassesLabel.unp...
Creating hyperspace dump to file BeforeCompositionHyperspace.dump...
Parsing hypermodule specification, creating hyperslices, and
performing composition...

Exception in thread "main" com.ibm.sop.hyperspace.HypersliceExtractionError: Err
or extracting hyperslice: Feature.Kernel does not contain any units. The most l
ikely causes are an erroneous concern mapping, a hyperspace specification that m
entions non-existent classes, or a missing CLASSPATH.
at com.ibm.sop.hyperspace.HypersliceImpl.createHyperslice(HypersliceImpl
.java:181)
at com.ibm.sop.hyperspace.ConcernImpl.extractHyperslice(ConcernImpl.java
:87)
at com.ibm.sop.ruleParser.RuleParser.HypermoduleDecl(RuleParser.java:696
)
at com.ibm.sop.ruleParser.RuleParser.Start(RuleParser.java:654)
at com.ibm.sop.driver.hyperj.main(hyperj.java:276)
at com.ibm.hyperj.hyperj.main(hyperj.java:15)

Point your RSS reader here for a feed of the latest messages in all forums